You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

75 lines
1.4 KiB
C#

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;
}
}
}
}