添加项目文件。
This commit is contained in:
86
GroupLine.App/ModelDto/GRotorMagDto.cs
Normal file
86
GroupLine.App/ModelDto/GRotorMagDto.cs
Normal file
@@ -0,0 +1,86 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace GroupLine.App.ModelDto
|
||||
{
|
||||
[MetadataType(typeof(GRotorMagDto))]
|
||||
public class GRotorMagDto : ValidateModelBase
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
private long _Id;
|
||||
public long Id
|
||||
{
|
||||
get { return _Id; }
|
||||
set { _Id = value; RaisePropertyChanged(() => Id); }
|
||||
}
|
||||
|
||||
|
||||
private string _RotorNo;
|
||||
/// <summary>
|
||||
/// 转子编号
|
||||
/// </summary>
|
||||
public string RotorNo
|
||||
{
|
||||
get { return _RotorNo; }
|
||||
set { _RotorNo = value; RaisePropertyChanged(() => RotorNo); }
|
||||
}
|
||||
private string _OpNo;
|
||||
/// <summary>
|
||||
/// 员工编号
|
||||
/// </summary>
|
||||
public string OpNo
|
||||
{
|
||||
get { return _OpNo; }
|
||||
set { _OpNo = value; RaisePropertyChanged(() => OpNo); }
|
||||
}
|
||||
private decimal _MagBeamCount;
|
||||
/// <summary>
|
||||
/// 磁束量
|
||||
/// </summary>
|
||||
public decimal MagBeamCount
|
||||
{
|
||||
get { return _MagBeamCount; }
|
||||
set { _MagBeamCount = value; RaisePropertyChanged(() => MagBeamCount); }
|
||||
}
|
||||
private decimal _Current;
|
||||
/// <summary>
|
||||
/// 电流值
|
||||
/// </summary>
|
||||
public decimal Current
|
||||
{
|
||||
get { return _Current; }
|
||||
set { _Current = value; RaisePropertyChanged(() => Current); }
|
||||
}
|
||||
private decimal _RotorAngle;
|
||||
/// <summary>
|
||||
/// 转子角度
|
||||
/// </summary>
|
||||
public decimal RotorAngle
|
||||
{
|
||||
get { return _RotorAngle; }
|
||||
set { _RotorAngle = value; RaisePropertyChanged(() => RotorAngle); }
|
||||
}
|
||||
private string _RotorAgleRsult;
|
||||
/// <summary>
|
||||
/// 转子角度判定
|
||||
/// </summary>
|
||||
public string RotorAgleRsult
|
||||
{
|
||||
get { return _RotorAgleRsult; }
|
||||
set { _RotorAgleRsult = value; RaisePropertyChanged(() => RotorAgleRsult); }
|
||||
}
|
||||
private DateTime _CreateTime;
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return _CreateTime; }
|
||||
set { _CreateTime = value; RaisePropertyChanged(() => CreateTime); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user