using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace MegaRobo.C00225155.Entities.Entity_DB { public static class PlcPoints_React { /// /// 1s周期 0和1切换 /// public readonly static ushort R_PLCHeartPluse = 3000; /// /// 0:None 1:手动 2:自动 /// public readonly static ushort R_PLCMode = 3001; /// /// 0:None 1:停止 2:运行中 /// public readonly static ushort R_PLCRunStatus = 3002; /// /// 初始化状态 0:None 1:初始化中 2:初始化失败 3:初始化完成 /// public readonly static ushort R_PLCInitialStatus = 3003; /// /// 消息状态 0:无消息 1:有消息 /// public readonly static ushort R_PLCInfoStatus = 3004; /// /// 旋转料仓处理中任务队列序号 /// public readonly static ushort R_RotatorRack_inProcessingTaskNo = 3100; /// /// 0:需初始化; /// 1:硬件故障中; /// 2:初始化中; /// 3:初始化失败; /// 4:功能完全屏蔽中; /// 5:准备就绪,空闲中; /// 6:与其他单元任务冲突,自主去往避让位置中; /// 10:此任务与其他单元任务冲突,是否继续等待? /// 11:运行上位机任务中; /// 12:运行上位机任务中,但在等待其他单元到避让位置; /// 15:运行上位机任务中,部分功能屏蔽; /// 16:任务暂停中; /// 21:失败; /// 22:完成; /// 99:任务撤销; /// public readonly static ushort R_RotatorRack_RunResult = 3101; /// /// 进出托盘处理中任务队列序号 /// public static ushort R_InOutPlate_inProcessingTaskNo = 3200; /// /// 进出托盘执行结果 /// public readonly static ushort R_InOutPlate_RunResult = 3201; /// /// 龙门移载处理中任务队列序号 /// public readonly static ushort R_GantryTransfer_inProcessingTaskNo = 3300; /// /// 开关盖&移液执行结果 /// public readonly static ushort R_GantryTransfer_RunResult = 3301; /// /// 1ml移液枪Z轴初始化 /// public readonly static ushort R_1mlPipetteZInit = 3320; /// /// 1ml移液枪初始化 /// public readonly static ushort R_1mlPipetteInit = 3321; /// /// 允许上外瓶 /// public readonly static ushort R_UploadOuterBottle = 3322; /// /// 允许上滤芯 /// public readonly static ushort R_UploadInnerBottle = 3323; /// /// 允许加样本或者稀释剂 /// public readonly static ushort R_AddSampleOrDiluent = 3324; /// /// 磁力搅拌处理中任务队列序号 /// public static ushort R_LowTemperatureMagneticStir_inProcessingTaskNo = 3400; /// /// 磁力搅拌执行结果 /// public readonly static ushort R_LowTemperatureMagneticStir_RunResult = 3401; /// /// 磁力搅拌器1 盖子状态 1:打开 2:关闭 /// public readonly static ushort R_LowTemperatureMagneticStir_LidState1 = 3420; /// /// 磁力搅拌器2 盖子状态 1:打开 2:关闭 /// public readonly static ushort R_LowTemperatureMagneticStir_LidState2 = 3421; /// /// 氮吹 处理中任务队列序号 /// public readonly static ushort R_NitrogenBlowing__inProcessingTaskNo = 3500; /// /// 氮吹运行结果 /// public readonly static ushort R_NitrogenBlowing_RunResult = 3501; /// /// 氮吹 上盖状态 1:打开 2:关闭 /// public readonly static ushort R_NitrogenBlowing_LidState = 3550; public readonly static Dictionary W_PCHeartPluse = new Dictionary { { (ushort)DeviceNames.Plc1, 2000 }, { (ushort)DeviceNames.Plc2, 2000 }}; /// /// 模式切换 间隔200ms /// public readonly static ushort W_PCMode = 2001; /// /// 1:停止 2:运行中 /// public readonly static ushort W_PCRunStatus = 2002; /// /// 整机初始化 /// public readonly static ushort W_Initial = 2003; /// /// 消息确认 /// public readonly static ushort W_InformationConfirm = 2004; /// /// 上位机有报警提示 0:无 1:有(用于触发蜂鸣器响) /// public readonly static ushort W_PCErrorTip = 2008; /// /// 上位机有警告提示 0:无 1:有(用于触发蜂鸣器响) /// public readonly static ushort W_PCAlarmTip = 2009; /// /// 旋转料仓任务队列序号 /// public readonly static ushort W_RotatorRack_TaskQueue = 2100; /// /// 旋转料仓任务号 /// public readonly static ushort W_RotatorRack_TaskNo = 2101; /// /// 旋转料仓任务撤销 /// public readonly static ushort W_RotatorRack_TaskCancel = 2199; /// /// 进出托盘任务队列序号 /// public readonly static ushort W_InOutPlate_TaskQueue = 2200; /// /// 进出托盘任务号 /// public readonly static ushort W_InOutPlate_TaskNo = 2201; /// /// 进出托盘任务撤销 /// public readonly static ushort W_InOutPlate_TaskCancel = 2299; /// /// 龙门移载 任务队列序号 /// public readonly static ushort W_GantryTransfer_TaskQueue = 2300; /// /// 龙门移载任务号 /// public readonly static ushort W_GantryTransfer_TaskNo = 2301; /// /// 1ml移液枪Z轴初始化结果 1:OK 2:NG /// public readonly static ushort W_1mlPipetteZInitResult = 2320; /// /// 1ml移液枪初始化结果 1:OK 2:NG /// public readonly static ushort W_1mlPipetteInitResult = 2321; /// /// 请求转盘转动 /// public readonly static ushort W_Rotate = 2322; /// /// 针加液管道编号 /// public readonly static ushort W_NeedleAddLiquidNo = 2323; /// /// 针加液体积 /// public readonly static ushort W_NeedleAddLiquidVolume = 2324; /// /// 龙门移载任务撤销 /// public readonly static ushort W_GantryTransfer_TaskCancel = 2399; /// /// 低温磁力搅拌 /// public readonly static ushort W_LowTemperatureMagneticStir_TaskQueue = 2400; /// /// 低温磁力搅拌任务号 /// public readonly static ushort W_LowTemperatureMagneticStir_TaskNo = 2401; /// /// 低温磁力搅拌任务撤销 /// public readonly static ushort W_LowTemperatureMagneticStir_TaskCancel = 2499; ///// ///// 高温震荡 ///// //public readonly static ushort W_HighTemperatureShake_TaskQueue = 2400; ///// ///// 高温震荡搅拌任务号 ///// //public readonly static ushort W_HighTemperatureShake_TaskNo = 2401; ///// ///// 高温震荡搅拌任务撤销 ///// //public readonly static ushort W_HighTemperatureShake_TaskCancel = 2499; /// /// 氮吹 任务队列 /// public readonly static ushort W_NitrogenBlowing_TaskQueue = 2500; /// /// 氮吹任务号 /// public readonly static ushort W_NitrogenBlowing_TaskNo = 2401; /// /// 氮吹任务撤销 /// public readonly static ushort W_NitrogenBlowing_TaskCancel = 2599; } }