using MadRunFabric.Common; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Text; namespace MadRunFabric.Model.PLCAutomationApi { public class PLCAddr : IBaseModel { /// /// id /// [Key] [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)] public string id { get; set; } /// /// 设备编号 /// public string equipnum { get; set; } /// /// plc地址 /// public string addr { get; set; } /// /// plc地址类型 /// public string type { get; set; } /// /// 是否删除 /// public int isdelete { get; set; } /// /// 备注 /// public string note { get; set; } /// /// PLC值 /// public string value { get; set; } /// /// 更新时间 /// public DateTime updatetime { get; set; } } }