|
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- using System.Windows.Forms;
-
- namespace BPASmartClient.MorkMV1
- {
- public class DeviceData : IStatus
- {
- /// <summary>
- /// 初始化启动
- /// </summary>
- [VariableMonitor("初始化启动", "M0.0", "320")]
- public bool InitStart { get; set; }
-
- /// <summary>
- /// 初始化完成
- /// </summary>
- [VariableMonitor("初始化完成", "M0.1", "321")]
- public bool InitComplete { get; set; }
-
- /// <summary>
- /// 移碗丝杆初始化完成
- /// </summary>
- [VariableMonitor("移碗丝杆初始化完成", "M0.2", "322")]
- public bool MoveScrewRodInitCom { get; set; }
-
- /// <summary>
- /// 供碗1初始化完成
- /// </summary>
- [VariableMonitor("供碗1初始化完成", "M0.3", "323")]
- public bool SacrificialVesselInitCom { get; set; }
-
- /// <summary>
- /// 气缸推杆初始化完成
- /// </summary>
- [VariableMonitor("气缸推杆初始化完成", "M0.4", "324")]
- public bool CylinderInitCom { get; set; }
-
- /// <summary>
- /// 煮面机初始化完成
- /// </summary>
- [VariableMonitor("煮面机初始化完成", "M0.5", "325")]
- public bool NoodleCookerInitCom { get; set; }
-
- /// <summary>
- /// 机器人初始化完成
- /// </summary>
- [VariableMonitor("机器人初始化完成", "M0.6", "326")]
- public bool RobotInitCom { get; set; }
-
- /// <summary>
- /// 料仓初始化完成
- /// </summary>
- [VariableMonitor("料仓初始化完成", "M0.7", "327")]
- public bool SiloInitCom { get; set; }
-
- /// <summary>
- /// 故障复位/停止
- /// </summary>
- [VariableMonitor("故障复位/停止", "M1.0", "328")]
- public bool FaultResetOrStop { get; set; }
-
- /// <summary>
- /// 落碗1,大碗
- /// </summary>
- [VariableMonitor("落碗1,大碗", "M9.0", "392")]
- public bool DropBowlOne { get; set; }
-
- /// <summary>
- /// 落碗2,一次性碗
- /// </summary>
- [VariableMonitor("落碗2,一次性碗", "M9.1", "393")]
- public bool DropBowlTow { get; set; }
-
- /// <summary>
- /// 允许倒面
- /// </summary>
- [VariableMonitor("允许倒面", "M10.0", "400")]
- public bool AllowInvertedFace { get; set; }
-
- /// <summary>
- /// 出餐完成
- /// </summary>
- [VariableMonitor("出餐完成", "M10.1", "401")]
- public bool DiningComplete { get; set; }
-
- /// <summary>
- /// 落碗机构状态,1:忙碌 0:空闲
- /// </summary>
- [VariableMonitor("落碗机构状态,1:忙碌 0:空闲", "M10.4", "404")]
- public bool DropBowlMechanismStatus { get; set; }
-
- /// <summary>
- /// 定位标志,1:忙碌 0:空闲
- /// </summary>
- [VariableMonitor("定位标志,1:忙碌 0:空闲", "M12.2", "418")]
- public bool FixedFlag { get; set; }
-
- /// <summary>
- /// 定位启动
- /// </summary>
- [VariableMonitor("定位启动", "M12.3", "419")]
- public bool FixedStart { get; set; }
-
- /// <summary>
- /// 料仓到位
- /// </summary>
- [VariableMonitor("料仓到位", "M13.5", "429")]
- public bool SiloInPlace { get; set; }
-
- /// <summary>
- /// 机器人料仓取面完成
- /// </summary>
- [VariableMonitor("机器人去料仓取面完成", "M16.7", "455")]
- public bool RobotTakeNoodleCom { get; set; }
-
- /// <summary>
- /// 机器人状态
- /// </summary>
- [VariableMonitor("机器人状态", "M17.4", "460")]
- public bool RobotStatus { get; set; }
-
- /// <summary>
- /// 一次性碗有无检测
- /// </summary>
- [VariableMonitor("一次性碗有无检测", "M18.0", "464")]
- public bool SmallBowlYesOrNoCheck { get; set; }
-
- /// <summary>
- /// 大碗有无检测
- /// </summary>
- [VariableMonitor("大碗有无检测", "M18.1", "465")]
- public bool LargeBowYesOrNoCheck { get; set; }
-
- /// <summary>
- /// 转台高位
- /// </summary>
- [VariableMonitor("转台高位", "M18.2", "466")]
- public bool TurntableHighPosition { get; set; }
-
- /// <summary>
- /// 转台低位
- /// </summary>
- [VariableMonitor("转台低位", "M18.3", "467")]
- public bool TurntableLowPosition { get; set; }
-
- /// <summary>
- /// 煮面完成
- /// </summary>
- [VariableMonitor("煮面完成", "V17.0")]
- public bool[] CookNoodleCom { get; set; } = new bool[6];
-
- /// <summary>
- /// 本地/远程
- /// </summary>
- [VariableMonitor("本地/远程", "V18.0")]
- public bool LocalOrRemote { get; set; }
-
- /// <summary>
- /// 温度到达
- /// </summary>
- [VariableMonitor("温度到达", "V18.7")]
- public bool TemperatureReaches { get; set; }
-
- /// <summary>
- /// 加热中
- /// </summary>
- [VariableMonitor("加热中", "V18.6")]
- public bool Heating { get; set; }
-
- /// <summary>
- /// 转台当前位置
- /// </summary>
- [VariableMonitor("转台当前位置", "VW770")]
- public ushort CurrentLoc { get; set; }
-
- /// <summary>
- /// 补料完成
- /// </summary>
- [VariableMonitor("补料完成", "M101.6", "1134")]
- public bool FeedComplete { get; set; }
-
- /// <summary>
- /// 补料中
- /// </summary>
- [VariableMonitor("补料中", "M102.6", "1142")]
- public bool Feeding { get; set; }
-
- }
- }
|