using System.Windows.Input; namespace BPASmartClient.DosingSystem { public class DeviceAddress { /// <summary> /// 设备名称起始地址 /// </summary> public static string DeviceName { get; set; } = "LW0"; public static string Finish_Point { get; set; } = "LW49"; public static string WorkModel { get; set; } = "LW50"; public static string RealtimeWeight { get; set; } = "LW54"; /// <summary> /// 料仓重量反馈起始地址 /// </summary> public static string WeightFeedback { get; set; } = "LW52"; /// <summary> /// 重量设置地址 /// </summary> public static string WeightSet { get; set; } = "LW21"; /// <summary> /// 启动信号地址 /// </summary> public static string Start { get; set; } = "LW20"; /// <summary> /// 下料重量反馈地址 /// </summary> public static string CutWeightFeedback { get; set; } = "LW58"; /// <summary> /// 设备编号 /// </summary> public static string DeviceNum { get; set; } = "LW57"; /// <summary> /// 设备故障编码 /// </summary> public static string DeviceAlarmCode { get; set; } = "LW51"; /// <summary> /// 原料设备类型 /// 1:膏体,2:液体,3:粉体 /// </summary> public static string MaterialDeviceType { get; set; } = "LW56"; /// <summary> /// 设备运行状态地址 /// </summary> public static string RunStatus { get; set; } = "LW60"; /// <summary> /// 出料完成,置位该信号,plc复位运行状态 /// </summary> public static string FinfishStatus { get; set; } = "LW40"; /// <summary> /// 慢加重量 /// </summary> public static string SlowlyAddWeight { get; set; } = "LW23"; /// <summary> /// 提前关阀重量 /// </summary> public static string PreCloseValveWeight { get; set; } = "LW25"; /// <summary> /// 快加速度 /// </summary> public static string RapidAcceleration { get; set; } = "LW27"; /// <summary> /// 慢加速度 /// </summary> public static string SlowAcceleration { get; set; } = "LW29"; /// <summary> /// 伺服手动速度 /// </summary> public static string ServoManualSpeed { get; set; } = "LW31"; /// <summary> /// 料仓上限重量 /// </summary> public static string SiloUpperLimitWeight { get; set; } = "LW33"; /// <summary> /// 料仓下限重量 /// </summary> public static string LowerLimitWeightOfSilo { get; set; } = "LW35"; /// <summary> /// 搅拌速度 /// </summary> public static string StirringSpeed { get; set; } = "LW37"; /// <summary> /// 清零设备的已执行配方数。 /// </summary> public static string ZeroRecipeCount { get; set; } = "LW39"; /// <summary> /// 配方最大桶数 设备设置参数 /// </summary> public static string MaxPail { get; set; } = "LW43"; /// <summary> /// 配方最大桶数 设备返回参数 /// </summary> public static string GetMaxPail { get; set; } = "LW63"; /// <summary> /// 清除已通过桶数 1.清除 0.不清除 /// </summary> public static string DeletePassPail { get; set; } = "LW44"; /// <summary> /// 输送速度 /// </summary> public static string TranspportSp { get; set; } = "LW42"; /// <summary> /// 输送启停 0.停止 1.启动 /// </summary> public static string TranspportSwitch { get; set; } = "LW41"; /// <summary> /// 已通过桶数 /// </summary> public static string PassPail { get; set; } = "LW62"; /// <summary> /// 桶到位检测 /// </summary> public static string PailArrive { get; set; } = "LW61"; /// <summary> /// 设备执行配方计数 /// </summary> public static string DoRecipeCount { get; set; } = "LW64"; } }