V1.2
This commit is contained in:
65
CapMachine.Wpf/Dtos/MeterExInfoDto.cs
Normal file
65
CapMachine.Wpf/Dtos/MeterExInfoDto.cs
Normal file
@@ -0,0 +1,65 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// 仪表拓展信息
|
||||
/// </summary>
|
||||
public class MeterExInfoDto : BindableBase
|
||||
{
|
||||
public MeterExInfoDto()
|
||||
{
|
||||
SlopCycle = 1;
|
||||
}
|
||||
|
||||
private int _TotalSlopTime;
|
||||
/// <summary>
|
||||
/// 斜率列表总时间
|
||||
/// </summary>
|
||||
public int TotalSlopTime
|
||||
{
|
||||
get { return _TotalSlopTime; }
|
||||
set { _TotalSlopTime = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _SlopTime;
|
||||
/// <summary>
|
||||
/// 斜率列表时间
|
||||
/// </summary>
|
||||
public int SlopTime
|
||||
{
|
||||
get { return _SlopTime; }
|
||||
set { _SlopTime = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private double _SlopCycle;
|
||||
/// <summary>
|
||||
/// 斜率循环次数
|
||||
/// </summary>
|
||||
public double SlopCycle
|
||||
{
|
||||
get { return _SlopCycle; }
|
||||
set
|
||||
{
|
||||
_SlopCycle = value;
|
||||
//TotalSlopTime = SlopTime * (int)value;
|
||||
RaisePropertyChanged();
|
||||
}
|
||||
}
|
||||
|
||||
private bool _IsTimeOk;
|
||||
/// <summary>
|
||||
/// 斜率列表 是否满足要求
|
||||
/// </summary>
|
||||
public bool IsTimeOk
|
||||
{
|
||||
get { return _IsTimeOk; }
|
||||
set { _IsTimeOk = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user