using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using SqlSugar;
namespace IStation.Entity
{
///
/// 信号类型
///
[SugarTable("signal_type")]
public class SignalType : BaseEntity, System.ICloneable,ISorter,ITagName
{
///
///
///
public SignalType() { }
///
///
///
public SignalType(SignalType rhs) : base(rhs)
{
this.Identifier = rhs.Identifier;
this.GroupID = rhs.GroupID;
this.Name = rhs.Name;
this.UnitType = rhs.UnitType;
this.UnitValue = rhs.UnitValue;
this.DecimalPlaces = rhs.DecimalPlaces;
this.ValueType = rhs.ValueType;
this.ValueSettings = rhs.ValueSettings;
this.TagName = rhs.TagName;
this.SortCode = rhs.SortCode;
this.Description = rhs.Description;
}
///
/// 唯一标识
///
public string Identifier
{
get { return _identifier; }
set { _identifier = value; }
}
private string _identifier;
///
/// 组标识
///
public long GroupID
{
get { return _groupid; }
set { _groupid = value; }
}
private long _groupid;
///
/// 名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
private string _name;
///
/// 单位类型
///
public int UnitType
{
get { return _unittype; }
set { _unittype = value; }
}
private int _unittype;
///
/// 单位值
///
public string UnitValue
{
get { return _unitvalue; }
set { _unitvalue = value; }
}
private string _unitvalue;
///
/// 保存小数位数
///
public int? DecimalPlaces
{
get { return _decimalplaces; }
set { _decimalplaces = value; }
}
private int? _decimalplaces;
///
/// 值类型
///
public int ValueType
{
get { return _valuetype; }
set { _valuetype = value; }
}
private int _valuetype;
///
/// 值设置
///
public string ValueSettings
{
get { return _valuesettings; }
set { _valuesettings = value; }
}
private string _valuesettings;
///
/// 标签
///
public string TagName
{
get { return _tagname; }
set { _tagname = value; }
}
private string _tagname;
///
/// 排序码
///
public int SortCode
{
get { return _sortcode; }
set { _sortcode = value; }
}
private int _sortcode;
///
/// 说明
///
public string Description
{
get { return _description; }
set { _description = value; }
}
private string _description;
///
///
///
public SignalType Clone()
{
return (SignalType)this.MemberwiseClone();
}
object ICloneable.Clone()
{
return this.MemberwiseClone();
}
}
}