using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace BPASmartClient.JXJFoodBigStation.Model { public class DeviceAddress { #region 源地址 ///// ///// 设备名称起始地址 ///// //public static string DeviceName { get; set; } = "LW0"; ///// ///// 料仓重量反馈起始地址 ///// //public static string WeightFeedback { get; set; } = "LW52";//LW204 ///// ///// 重量设置地址 ///// //public static string WeightSet { get; set; } = "LW21";//LW200 ///// ///// 启动信号地址 ///// //public static string Start { get; set; } = "LW20";//LW210 ///// ///// 下料重量反馈地址 ///// //public static string CutWeightFeedback { get; set; } = "LW54";//LW202 ///// ///// 设备运行状态地址 ///// //public static string RunStatus { get; set; } = "LW55";//LW206 ///// ///// 料仓的位置 ///// //public static string Location { get; set; } = "LW53"; #endregion #region 上位机下发 /// /// 原料出料重量 /// public static string WeightSet { get; set; } = "LW11"; /// /// 启动开始配料 /// public static string Start { get; set; } = "LW12"; #endregion #region 上位机读取 /// /// 设备运行状态地址 /// public static string RunStatus { get; set; } = "LW50"; /// /// 报警字 /// public static string AlarmInfo { get; set; } = "LW51"; /// /// 原料名称 /// public static string DeviceName { get; set; } = "LW52"; /// /// 料仓的位置 /// public static string Location { get; set; } = "LW53"; /// /// 原料类型 /// public static string RawMaterialType { get; set; } = "LW54"; /// /// 出料完成信号 /// public static string OutRawMaterialFinish { get; set; } = "LW55"; /// /// 料仓重量反馈起始地址 /// public static string WeightFeedback { get; set; } = "LW56"; /// /// 下料重量反馈地址 /// public static string CutWeightFeedback { get; set; } = "LW57"; #endregion } }