添加项目文件。
This commit is contained in:
71
Epost.Model/ControlModel.cs
Normal file
71
Epost.Model/ControlModel.cs
Normal file
@ -0,0 +1,71 @@
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user