using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DOAN.Model.PBL { /// /// PLC地址 /// [SugarTable("plc_address_table")] public class PlcAddressTable { /// /// /// [SugarColumn(IsPrimaryKey = true, IsIdentity = false)] public int Id { get; set; } /// /// 料架层fk_id /// [SugarColumn(ColumnName = "fk_storage_id")] public int FkStorageId { get; set; } /// /// 料架号 /// [SugarColumn(ColumnName = "rock_code")] public string RockCode { get; set; } /// /// 层号 /// [SugarColumn(ColumnName = "layer")] public int Layer { get; set; } /// /// 方向 左/右 /// [SugarColumn(ColumnName = "direction")] public string Direction { get; set; } /// /// 序号(123)其中合并料架为(123456) /// [SugarColumn(ColumnName = "index")] public int Index { get; set; } /// /// plc地址 /// [SugarColumn(ColumnName = "plc_address")] public string PlcAddress { get; set; } /// /// plc地址 (第几字节) /// [SugarColumn(ColumnName = "byte_num")] public int ByteNum { get; set; } /// /// plc地址 (第几位) /// [SugarColumn(ColumnName = "bit_num")] public int BitNum { get; set; } /// /// 备注 /// [SugarColumn(ColumnName = "remark")] public string Remark { get; set; } } }