using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace AUCMA.STORE.Entity.DTO { public class PLCAlarmInfoDTO { private string plcName; private string plcAddress; private bool plcValue; private DateTime dateTime = DateTime.Now;//long public PLCAlarmInfoDTO(string NAME, string ADDRESS) { plcName = NAME; plcAddress = ADDRESS; } public string PLCName { get { return plcName; } set { if (value != null) { plcName = value; } } } public string PLCAddress { get { return plcAddress; } set { if (value != null) { plcAddress = value; } } } public bool PLCValue { get { return plcValue; } set { plcValue = value; } } public DateTime DateTime { get { return dateTime; } set { dateTime = value; } } } }