添加项目文件。
This commit is contained in:
68
GroupLine.App/ModelDto/GMagTorqueDto.cs
Normal file
68
GroupLine.App/ModelDto/GMagTorqueDto.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace GroupLine.App.ModelDto
|
||||
{
|
||||
[MetadataType(typeof(GMagTorqueDto))]
|
||||
public class GMagTorqueDto : ValidateModelBase
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// ID
|
||||
/// </summary>
|
||||
private long _Id;
|
||||
public long Id
|
||||
{
|
||||
get { return _Id; }
|
||||
set { _Id = value; RaisePropertyChanged(() => Id); }
|
||||
}
|
||||
|
||||
|
||||
private string _CylinderNo;
|
||||
/// <summary>
|
||||
/// 筒体编号
|
||||
/// </summary>
|
||||
public string CylinderNo
|
||||
{
|
||||
get { return _CylinderNo; }
|
||||
set { _CylinderNo = value; RaisePropertyChanged(() => CylinderNo); }
|
||||
}
|
||||
private decimal _MagBeamCount;
|
||||
/// <summary>
|
||||
/// 磁束值
|
||||
/// </summary>
|
||||
public decimal MagBeamCount
|
||||
{
|
||||
get { return _MagBeamCount; }
|
||||
set { _MagBeamCount = value; RaisePropertyChanged(() => MagBeamCount); }
|
||||
}
|
||||
private decimal _TorqueValue;
|
||||
/// <summary>
|
||||
/// 扭矩值
|
||||
/// </summary>
|
||||
public decimal TorqueValue
|
||||
{
|
||||
get { return _TorqueValue; }
|
||||
set { _TorqueValue = value; RaisePropertyChanged(() => TorqueValue); }
|
||||
}
|
||||
private string _Result;
|
||||
/// <summary>
|
||||
/// 结果
|
||||
/// </summary>
|
||||
public string Result
|
||||
{
|
||||
get { return _Result; }
|
||||
set { _Result = value; RaisePropertyChanged(() => Result); }
|
||||
}
|
||||
private DateTime _CreateTime;
|
||||
/// <summary>
|
||||
/// 创建时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return _CreateTime; }
|
||||
set { _CreateTime = value; RaisePropertyChanged(() => CreateTime); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user