using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.DosingSystemSingle { public class DeviceAddress { /// <summary> /// 设备名称起始地址 /// </summary> public static string DeviceName { get; set; } = "LW0"; /// <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; } = "LW54"; /// <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"; } }