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_MaterialDose
{
///
/// 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_TransferPlate_inProcessingTaskNo = 3100;
///
/// 0:需初始化;
/// 1:硬件故障中;
/// 2:初始化中;
/// 3:初始化失败;
/// 4:功能完全屏蔽中;
/// 5:准备就绪,空闲中;
/// 6:与其他单元任务冲突,自主去往避让位置中;
/// 10:此任务与其他单元任务冲突,是否继续等待?
/// 11:运行上位机任务中;
/// 12:运行上位机任务中,但在等待其他单元到避让位置;
/// 15:运行上位机任务中,部分功能屏蔽;
/// 16:任务暂停中;
/// 21:失败;
/// 22:完成;
/// 99:任务撤销;
///
public readonly static ushort R_TransferPlate_RunResult = 3101;
public readonly static ushort R_TransferPlate_BoxPos = 3102;
///
/// 机械手处理中任务队列序号
///
public static ushort R_Robot_inProcessingTaskNo = 3200;
///
/// 机械臂执行结果
///
public readonly static ushort R_Robot_RunResult = 3201;
public readonly static ushort R_MetAddPowderModuleDoorState = 3220;
public readonly static ushort R_Robot_ArriveScanPos = 3221;
public readonly static ushort R_Robot_ArriveSideScanPos = 3222;
public readonly static ushort R_Robot_ArrivePreWeightPos = 3223;
///
/// 开关盖&移液枪处理中任务队列序号
///
public readonly static ushort R_BottleLidAndPipette_inProcessingTaskNo = 3300;
///
/// 开关盖&移液执行结果
///
public readonly static ushort R_BottleLidAndPipette_RunResult = 3301;
///
/// 1ml移液枪Z轴初始化
///
public readonly static ushort R_1mlPipetteZInit = 3320;
///
/// 1ml移液枪初始化
///
public readonly static ushort R_1mlPipetteInit = 3321;
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_TransferPlate_TaskQueue = 2100;
///
/// 传送平台任务号
///
public readonly static ushort W_TransferPlate_TaskNo = 2101;
///
/// 传送平台任务撤销
///
public readonly static ushort W_TransferPlate_TaskCancel = 2199;
///
/// 机械臂任务队列序号
///
public readonly static ushort W_Robot_TaskQueue = 2200;
///
/// 机械臂任务号
///
public readonly static ushort W_Robot_TaskNo = 2201;
///
/// 目标区域
/// 1:手套箱传送平台; 2:Tip托盘存放平台;12:托盘存放平台;
///
public readonly static ushort W_Robot_Param1 = 2202;
///
/// 目标托盘位置号
///
public readonly static ushort W_Robot_Param2 = 2203;
///
/// 托盘类型:1:40mL瓶; 2:12mL瓶; 3:5mL瓶; 4:TIP头;
///
public readonly static ushort W_Robot_Param3 = 2204;
public readonly static ushort W_Robot_Param4 = 2205;
public readonly static ushort W_Robot_Param5 = 2206;
///
/// 扫码完成 1:ok 2:ng
///
public readonly static ushort W_Robot_ScanResult = 2221;
///
/// 侧面扫码完成 1:ok 2:ng
///
public readonly static ushort W_Robot_SideScanResult = 2222;
///
/// 预称重完成
///
public readonly static ushort W_Robot_PreWeightFinish = 2223;
///
/// 机械臂任务撤销
///
public readonly static ushort W_Robot_TaskCancel = 2299;
///
/// 开关盖&移液枪 任务队列序号
///
public readonly static ushort W_BottleLidAndPipette_TaskQueue = 2300;
///
/// 开关盖&移液枪任务号
///
public readonly static ushort W_BottleLidAndPipette_TaskNo = 2301;
public readonly static ushort W_BottleLidAndPipette_Param1 = 2302;
public readonly static ushort W_BottleLidAndPipette_Param2 = 2303;
public readonly static ushort W_BottleLidAndPipette_Param3 = 2304;
public readonly static ushort W_BottleLidAndPipette_Param4 = 2305;
///
/// 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_BottleLidAndPipette_TaskCancel = 2399;
}
}