using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.DosingHKProject.Model { public class DeviceAddress { /// /// 设备名称起始地址 /// public static string DeviceName { get; set; } = "LW0"; /// /// 料仓重量反馈起始地址 /// public static string WeightFeedback { get; set; } = "LW52"; /// /// 重量设置地址 /// public static string WeightSet { get; set; } = "LW21"; /// /// 启动信号地址 /// public static string Start { get; set; } = "LW20"; /// /// 下料重量反馈地址 /// public static string CutWeightFeedback { get; set; } = "LW54"; /// /// 设备编号 /// public static string DeviceNum { get; set; } = "LW57"; /// /// 设备故障编码 /// public static string DeviceAlarmCode { get; set; } = "LW51"; /// /// 原料设备类型 /// 1:膏体,2:液体,3:粉体 /// public static string MaterialDeviceType { get; set; } = "LW56"; /// /// 设备运行状态地址 /// public static string RunStatus { get; set; } = "LW60"; /// /// 出料完成,置位该信号,plc复位运行状态 /// public static string FinfishStatus { get; set; } = "LW40"; /// /// 慢加重量 /// public static string SlowlyAddWeight { get; set; } = "LW23"; /// /// 提前关阀重量 /// public static string PreCloseValveWeight { get; set; } = "LW25"; /// /// 快加速度 /// public static string RapidAcceleration { get; set; } = "LW27"; /// /// 慢加速度 /// public static string SlowAcceleration { get; set; } = "LW29"; /// /// 伺服手动速度 /// public static string ServoManualSpeed { get; set; } = "LW31"; /// /// 料仓上限重量 /// public static string SiloUpperLimitWeight { get; set; } = "LW33"; /// /// 料仓下限重量 /// public static string LowerLimitWeightOfSilo { get; set; } = "LW35"; /// /// 搅拌速度 /// public static string StirringSpeed { get; set; } = "LW37"; } }