添加项目文件。
This commit is contained in:
70
GroupLine.App/ModelDto/MagTorqueDto.cs
Normal file
70
GroupLine.App/ModelDto/MagTorqueDto.cs
Normal file
@@ -0,0 +1,70 @@
|
||||
using GroupLine.App.ModelDto;
|
||||
using System;
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
|
||||
namespace GroupLine.App
|
||||
{
|
||||
[MetadataType(typeof(MagTorqueDto))]
|
||||
public class MagTorqueDto : ValidateModelBase
|
||||
{
|
||||
private string _CylinderNo;
|
||||
/// <summary>
|
||||
/// 筒体编号
|
||||
/// </summary>
|
||||
public string CylinderNo
|
||||
{
|
||||
get { return _CylinderNo; }
|
||||
set { _CylinderNo = value; RaisePropertyChanged(() => CylinderNo); }
|
||||
}
|
||||
|
||||
private string _ModelType;
|
||||
/// <summary>
|
||||
/// 机种类型
|
||||
/// </summary>
|
||||
public string ModelType
|
||||
{
|
||||
get { return _ModelType; }
|
||||
set { _ModelType = value; RaisePropertyChanged(() => CylinderNo); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
private decimal _MagValue;
|
||||
/// <summary>
|
||||
/// 磁束值
|
||||
/// </summary>
|
||||
public decimal MagValue
|
||||
{
|
||||
get { return _MagValue; }
|
||||
set { _MagValue = value; RaisePropertyChanged(() => MagValue); }
|
||||
}
|
||||
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