namespace AmrControl.ADS { /// /// 工位数据模型 /// public class StationDataModel { //工位ID,可以任务是资产编号 public string stationID { get; set; } //工位类型,最好来自于字典 public StationType stationType { get; set; } /// /// 显示的名字 /// public string displayName { get; set; } //是否人员在位 public bool userOnPosition { get; set; } //在位人员名称 public string userName { get; set; } //是否通电 public bool isPowerOn { get; set; } //功耗 public double dissipation { get; set; } //静电手腕是否佩戴 public bool antiStaticWrist { get; set; } //是否有电络铁 public bool electricIron { get; set; } //电络铁温度 public double eIronTemp { get; set; } /// /// 今日任务数量 /// public int taskCount { get; set; } /// /// 已经完成的数量 /// public int finishedCount { get; set; } /// /// 工位所处的轨道的位置X,需要引导小车到这个位置 /// public int positionX; /// /// 工位所处的轨道的位置Y,需要引导小车到这个位置 /// public int positionY; /// /// 显示位置X,Y坐标 /// public int displayX; public int displayY; } /// /// 工位类型 /// public enum StationType : int { /// /// 齐套工位 /// WS_QT = 1, /// /// 装配工位 /// WS_ZP = 2, /// ///装配工位 ,机装 /// WS_ZP_JZ = 3, /// ///装配工位 ,电装 /// WS_ZP_DZ = 4, /// ///装配工位 ,钳工 /// WS_ZP_QZ = 5, /// ///预处理工位 /// WS_YCL = 6, /// /// 单板调试 /// WS_DBTS = 7, /// /// 射频调试 /// WS_SPTS = 8, /// /// 常温测试 /// WS_CWCS = 9, /// /// 装配-封盖 /// WS_ZP_FG = 10, /// /// 仓储,捡料工位 /// WS_CC_JL = 11, /// /// 仓储,派发工位 /// WS_CC_PF = 12 } }