Files
T-DAS/Epost.Model/ControlModel.cs

71 lines
1.4 KiB
C#
Raw Permalink Normal View History

2023-01-13 15:30:20 +08:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Epost.Model
{
public class ControlModel : DataPagerModel
{
private string _ControlID = string.Empty;
private string _ControlName = string.Empty;
private string _ControlIP = string.Empty;
private string _ControlBus = string.Empty;
[Display(Name = "控制器名称")]
public string ControlName
{
get
{
return _ControlName;
}
set
{
_ControlName = value;
}
}
[Display(Name = "控制器IP")]
public string ControlIP
{
get
{
return _ControlIP;
}
set
{
_ControlIP = value;
}
}
[Display(Name = "总线")]
public string ControlBus
{
get
{
return _ControlBus;
}
set
{
_ControlBus = value;
}
}
[Display(Name = "编号")]
public string ControlID
{
get
{
return _ControlID;
}
set
{
_ControlID = value;
}
}
}
}