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