V1版本
This commit is contained in:
47
CapMachine.Wpf/Dtos/CANConfigExdDto.cs
Normal file
47
CapMachine.Wpf/Dtos/CANConfigExdDto.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class CANConfigExdDto:BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private int _BaudRate;
|
||||
/// <summary>
|
||||
/// 波特率
|
||||
/// </summary>
|
||||
public int BaudRate
|
||||
{
|
||||
get { return _BaudRate; }
|
||||
set { _BaudRate = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _Cycle;
|
||||
/// <summary>
|
||||
/// 周期
|
||||
/// </summary>
|
||||
public int Cycle
|
||||
{
|
||||
get { return _Cycle; }
|
||||
set { _Cycle = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _DbcPath;
|
||||
/// <summary>
|
||||
/// Dbc文件路径
|
||||
/// </summary>
|
||||
public string? DbcPath
|
||||
{
|
||||
get { return _DbcPath; }
|
||||
set { _DbcPath = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
62
CapMachine.Wpf/Dtos/CanLinRWConfigDto.cs
Normal file
62
CapMachine.Wpf/Dtos/CanLinRWConfigDto.cs
Normal file
@@ -0,0 +1,62 @@
|
||||
using CapMachine.Model.CANLIN;
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class CanLinRWConfigDto : BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private RW _RWInfo;
|
||||
/// <summary>
|
||||
/// 输入输出信息 读取/写入/系统
|
||||
/// </summary>
|
||||
public RW RWInfo
|
||||
{
|
||||
get { return _RWInfo; }
|
||||
set { _RWInfo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Name;
|
||||
/// <summary>
|
||||
/// 配置项名称-比如转速、功率限制等
|
||||
/// </summary>
|
||||
public string? Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Content;
|
||||
/// <summary>
|
||||
/// 配置项值
|
||||
/// </summary>
|
||||
public string? Content
|
||||
{
|
||||
get { return _Content; }
|
||||
set { _Content = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private string? _DefautValue;
|
||||
/// <summary>
|
||||
/// 配置项默认值和数据
|
||||
/// </summary>
|
||||
public string? DefautValue
|
||||
{
|
||||
get { return _DefautValue; }
|
||||
set { _DefautValue = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
50
CapMachine.Wpf/Dtos/ChartTabGroupDto.cs
Normal file
50
CapMachine.Wpf/Dtos/ChartTabGroupDto.cs
Normal file
@@ -0,0 +1,50 @@
|
||||
using Prism.Mvvm;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// Tab设置的Dto模型
|
||||
/// </summary>
|
||||
public class ChartTabGroupDto:BindableBase
|
||||
{
|
||||
private int _Index;
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int Index
|
||||
{
|
||||
get { return _Index; }
|
||||
set { _Index = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string _Machine;
|
||||
/// <summary>
|
||||
/// 机器名称
|
||||
/// </summary>
|
||||
public string Machine
|
||||
{
|
||||
get { return _Machine; }
|
||||
set { _Machine = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string _Name;
|
||||
/// <summary>
|
||||
/// 名称
|
||||
/// </summary>
|
||||
public string Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private bool _IsEnable;
|
||||
/// <summary>
|
||||
/// 是否被启用
|
||||
/// </summary>
|
||||
public bool IsEnable
|
||||
{
|
||||
get { return _IsEnable; }
|
||||
set { _IsEnable = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
57
CapMachine.Wpf/Dtos/ConfigLimitDto.cs
Normal file
57
CapMachine.Wpf/Dtos/ConfigLimitDto.cs
Normal file
@@ -0,0 +1,57 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class ConfigLimitDto : BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private string? _MeterName;
|
||||
/// <summary>
|
||||
/// 仪表名称
|
||||
/// </summary>
|
||||
public string? MeterName
|
||||
{
|
||||
get { return _MeterName; }
|
||||
set { _MeterName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _IndexNo;
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int IndexNo
|
||||
{
|
||||
get { return _IndexNo; }
|
||||
set { _IndexNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private decimal _Up;
|
||||
/// <summary>
|
||||
/// Up
|
||||
/// </summary>
|
||||
public decimal Up
|
||||
{
|
||||
get { return _Up; }
|
||||
set { _Up = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private decimal _Down;
|
||||
/// <summary>
|
||||
/// Down
|
||||
/// </summary>
|
||||
public decimal Down
|
||||
{
|
||||
get { return _Down; }
|
||||
set { _Down = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
68
CapMachine.Wpf/Dtos/ConfigPIDDto.cs
Normal file
68
CapMachine.Wpf/Dtos/ConfigPIDDto.cs
Normal file
@@ -0,0 +1,68 @@
|
||||
using Prism.Mvvm;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class ConfigPIDDto:BindableBase
|
||||
{
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id { get; set; }
|
||||
|
||||
private string? _MeterName;
|
||||
/// <summary>
|
||||
/// 仪表名称
|
||||
/// </summary>
|
||||
public string? MeterName
|
||||
{
|
||||
get { return _MeterName; }
|
||||
set { _MeterName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _IndexNo;
|
||||
/// <summary>
|
||||
/// 序号
|
||||
/// </summary>
|
||||
public int IndexNo
|
||||
{
|
||||
get { return _IndexNo; }
|
||||
set { _IndexNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private decimal _P;
|
||||
/// <summary>
|
||||
/// P
|
||||
/// </summary>
|
||||
public decimal P
|
||||
{
|
||||
get { return _P; }
|
||||
set { _P = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _I;
|
||||
/// <summary>
|
||||
/// I
|
||||
/// </summary>
|
||||
public int I
|
||||
{
|
||||
get { return _I; }
|
||||
set { _I = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private int _D;
|
||||
/// <summary>
|
||||
/// D
|
||||
/// </summary>
|
||||
public int D
|
||||
{
|
||||
get { return _D; }
|
||||
set { _D = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
227
CapMachine.Wpf/Dtos/ExpInfoDto.cs
Normal file
227
CapMachine.Wpf/Dtos/ExpInfoDto.cs
Normal file
@@ -0,0 +1,227 @@
|
||||
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 ExpInfoDto : BindableBase
|
||||
{
|
||||
private long _Id;
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id
|
||||
{
|
||||
get { return _Id; }
|
||||
set { _Id = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private bool _IsComplete;
|
||||
/// <summary>
|
||||
/// 是否完成
|
||||
/// </summary>
|
||||
public bool IsComplete
|
||||
{
|
||||
get { return _IsComplete; }
|
||||
set { _IsComplete = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Name;
|
||||
/// <summary>
|
||||
/// 试验名称
|
||||
/// </summary>
|
||||
public string? Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _WorkCond;
|
||||
/// <summary>
|
||||
/// 实验工况
|
||||
/// </summary>
|
||||
public string? WorkCond
|
||||
{
|
||||
get { return _WorkCond; }
|
||||
set { _WorkCond = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _ExpNo;
|
||||
/// <summary>
|
||||
/// 实验编号
|
||||
/// </summary>
|
||||
public string? ExpNo
|
||||
{
|
||||
get { return _ExpNo; }
|
||||
set { _ExpNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _ExpPerson;
|
||||
/// <summary>
|
||||
/// 试验人
|
||||
/// </summary>
|
||||
public string? ExpPerson
|
||||
{
|
||||
get { return _ExpPerson; }
|
||||
set { _ExpPerson = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _CapModel;
|
||||
/// <summary>
|
||||
/// 压缩机型号
|
||||
/// </summary>
|
||||
public string? CapModel
|
||||
{
|
||||
get { return _CapModel; }
|
||||
set { _CapModel = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _CapNo;
|
||||
/// <summary>
|
||||
/// 压缩机编号
|
||||
/// </summary>
|
||||
public string? CapNo
|
||||
{
|
||||
get { return _CapNo; }
|
||||
set { _CapNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _RfNo;
|
||||
/// <summary>
|
||||
/// 制冷剂
|
||||
/// </summary>
|
||||
public string? RfNo
|
||||
{
|
||||
get { return _RfNo; }
|
||||
set { _RfNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Manufactor;
|
||||
/// <summary>
|
||||
/// 生产厂家
|
||||
/// </summary>
|
||||
public string? Manufactor
|
||||
{
|
||||
get { return _Manufactor; }
|
||||
set { _Manufactor = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _LubrOilModel;
|
||||
/// <summary>
|
||||
/// 润滑油型号
|
||||
/// </summary>
|
||||
public string? LubrOilModel
|
||||
{
|
||||
get { return _LubrOilModel; }
|
||||
set { _LubrOilModel = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _CapType;
|
||||
/// <summary>
|
||||
/// 压缩机类型
|
||||
/// 电动/皮带轮
|
||||
/// </summary>
|
||||
public string? CapType
|
||||
{
|
||||
get { return _CapType; }
|
||||
set { _CapType = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Weight;
|
||||
/// <summary>
|
||||
/// 压缩机重量 Kg
|
||||
/// </summary>
|
||||
public string? Weight
|
||||
{
|
||||
get { return _Weight; }
|
||||
set { _Weight = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _OilCount;
|
||||
/// <summary>
|
||||
/// 充油量
|
||||
/// </summary>
|
||||
public string? OilCount
|
||||
{
|
||||
get { return _OilCount; }
|
||||
set { _OilCount = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Cnee;
|
||||
/// <summary>
|
||||
/// 委托人
|
||||
/// </summary>
|
||||
public string? Cnee
|
||||
{
|
||||
get { return _Cnee; }
|
||||
set { _Cnee = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _CneeCo;
|
||||
/// <summary>
|
||||
/// 委托公司
|
||||
/// </summary>
|
||||
public string? CneeCo
|
||||
{
|
||||
get { return _CneeCo; }
|
||||
set { _CneeCo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _CneeNo;
|
||||
/// <summary>
|
||||
/// 委托单号
|
||||
/// </summary>
|
||||
public string? CneeNo
|
||||
{
|
||||
get { return _CneeNo; }
|
||||
set { _CneeNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _ExpType;
|
||||
/// <summary>
|
||||
/// 试验类型
|
||||
/// </summary>
|
||||
public string? ExpType
|
||||
{
|
||||
get { return _ExpType; }
|
||||
set { _ExpType = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _BatchNo;
|
||||
/// <summary>
|
||||
/// 生产批号
|
||||
/// </summary>
|
||||
public string? BatchNo
|
||||
{
|
||||
get { return _BatchNo; }
|
||||
set { _BatchNo = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _RefStd;
|
||||
/// <summary>
|
||||
/// 参考标准
|
||||
/// </summary>
|
||||
public string? RefStd
|
||||
{
|
||||
get { return _RefStd; }
|
||||
set { _RefStd = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
//private string? _Remark;
|
||||
///// <summary>
|
||||
///// 备注
|
||||
///// </summary>
|
||||
//public string? Remark
|
||||
//{
|
||||
// get { return _Remark; }
|
||||
// set { _Remark = value; RaisePropertyChanged(); }
|
||||
//}
|
||||
|
||||
}
|
||||
}
|
||||
58
CapMachine.Wpf/Dtos/ExpSearchDto.cs
Normal file
58
CapMachine.Wpf/Dtos/ExpSearchDto.cs
Normal file
@@ -0,0 +1,58 @@
|
||||
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 ExpSearchDto : BindableBase
|
||||
{
|
||||
private string _ExpName;
|
||||
/// <summary>
|
||||
/// 试验名称
|
||||
/// </summary>
|
||||
public string ExpName
|
||||
{
|
||||
get { return _ExpName; }
|
||||
set { _ExpName = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private string _WorkCond;
|
||||
/// <summary>
|
||||
/// 工况
|
||||
/// </summary>
|
||||
public string WorkCond
|
||||
{
|
||||
get { return _WorkCond; }
|
||||
set { _WorkCond = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private DateTime? _StartTime;
|
||||
/// <summary>
|
||||
/// 工况 开始时间
|
||||
/// </summary>
|
||||
public DateTime? StartTime
|
||||
{
|
||||
get { return _StartTime; }
|
||||
set { _StartTime = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
|
||||
private DateTime? _EndTime;
|
||||
/// <summary>
|
||||
/// 工况 结束时间
|
||||
/// </summary>
|
||||
public DateTime? EndTime
|
||||
{
|
||||
get { return _EndTime; }
|
||||
set { _EndTime = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
30
CapMachine.Wpf/Dtos/HistoryWorkCondDto.cs
Normal file
30
CapMachine.Wpf/Dtos/HistoryWorkCondDto.cs
Normal file
@@ -0,0 +1,30 @@
|
||||
using Prism.Mvvm;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
/// <summary>
|
||||
/// 历史工况信息
|
||||
/// </summary>
|
||||
public class HistoryWorkCondDto:BindableBase
|
||||
{
|
||||
private string _Name;
|
||||
/// <summary>
|
||||
/// 工况名称
|
||||
/// </summary>
|
||||
public string Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private DateTime _CreateTime;
|
||||
/// <summary>
|
||||
/// 工况时间
|
||||
/// </summary>
|
||||
public DateTime CreateTime
|
||||
{
|
||||
get { return _CreateTime; }
|
||||
set { _CreateTime = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -23,10 +23,11 @@ namespace CapMachine.Model
|
||||
/// </summary>
|
||||
public int StepNo { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// 程序循环次数
|
||||
/// </summary>
|
||||
public int StepRepeat { get; set; }
|
||||
///// <summary>
|
||||
///// 程序循环次数
|
||||
///// Speed循环次数
|
||||
///// </summary>
|
||||
//public int StepRepeat { get; set; }
|
||||
|
||||
private CycleInfoDto? _SpeedCycle=new CycleInfoDto();
|
||||
/// <summary>
|
||||
|
||||
@@ -70,7 +70,7 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// <summary>
|
||||
/// 吸气压力 信息
|
||||
/// </summary>
|
||||
[Column("吸气压力(MPa)")]
|
||||
[Column("吸气压力(BarA)")]
|
||||
public double InhPress
|
||||
{
|
||||
get { return _InhPress; }
|
||||
@@ -81,7 +81,7 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// <summary>
|
||||
/// 排气压力 信息
|
||||
/// </summary>
|
||||
[Column("排气压力(MPa)")]
|
||||
[Column("排气压力(BarA)")]
|
||||
public double ExPress
|
||||
{
|
||||
get { return _ExPress; }
|
||||
@@ -125,7 +125,7 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// <summary>
|
||||
/// COND2压力 信息
|
||||
/// </summary>
|
||||
[Column("COND2压力(MPa)")]
|
||||
[Column("COND2压力(BarA)")]
|
||||
public double Cond2Press
|
||||
{
|
||||
get { return _Cond2Press; }
|
||||
@@ -158,7 +158,7 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// <summary>
|
||||
/// 润滑油压力 信息
|
||||
/// </summary>
|
||||
[Column("润滑油压力(MPa)")]
|
||||
[Column("润滑油压力(BarA)")]
|
||||
public double LubePress
|
||||
{
|
||||
get { return _LubePress; }
|
||||
@@ -305,7 +305,7 @@ namespace CapMachine.Wpf.Dtos
|
||||
/// <summary>
|
||||
/// 吸排气阀
|
||||
/// </summary>
|
||||
[Column("InhExhValve")]
|
||||
[Column("吸排气阀")]
|
||||
public bool InhExhValve
|
||||
{
|
||||
get { return _InhExhValve; }
|
||||
@@ -323,15 +323,15 @@ namespace CapMachine.Wpf.Dtos
|
||||
set { _CapEnable = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private bool _HeatEnable;
|
||||
private bool _PTCEnable;
|
||||
/// <summary>
|
||||
/// 加热器使能
|
||||
/// 加热器使能/PTC使能
|
||||
/// </summary>
|
||||
[Column("加热器使能")]
|
||||
public bool HeatEnable
|
||||
[Column("PTC使能")]
|
||||
public bool PTCEnable
|
||||
{
|
||||
get { return _HeatEnable; }
|
||||
set { _HeatEnable = value; RaisePropertyChanged(); }
|
||||
get { return _PTCEnable; }
|
||||
set { _PTCEnable = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
13
CapMachine.Wpf/Dtos/RadioButtonStateDto.cs
Normal file
13
CapMachine.Wpf/Dtos/RadioButtonStateDto.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class RadioButtonStateDto
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
56
CapMachine.Wpf/Dtos/UserDto.cs
Normal file
56
CapMachine.Wpf/Dtos/UserDto.cs
Normal file
@@ -0,0 +1,56 @@
|
||||
using Prism.Mvvm;
|
||||
namespace CapMachine.Wpf.Dtos
|
||||
{
|
||||
public class UserDto : BindableBase
|
||||
{
|
||||
private long _Id;
|
||||
/// <summary>
|
||||
/// 主键
|
||||
/// </summary>
|
||||
public long Id
|
||||
{
|
||||
get { return _Id; }
|
||||
set { _Id = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Name;
|
||||
/// <summary>
|
||||
/// 用户名称
|
||||
/// </summary>
|
||||
public string? Name
|
||||
{
|
||||
get { return _Name; }
|
||||
set { _Name = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Password;
|
||||
/// <summary>
|
||||
/// 密码
|
||||
/// </summary>
|
||||
public string? Password
|
||||
{
|
||||
get { return _Password; }
|
||||
set { _Password = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private string? _Level;
|
||||
/// <summary>
|
||||
/// 等级
|
||||
/// </summary>
|
||||
public string? Level
|
||||
{
|
||||
get { return _Level; }
|
||||
set { _Level = value; RaisePropertyChanged(); }
|
||||
}
|
||||
|
||||
private bool? _IsEnable;
|
||||
/// <summary>
|
||||
/// 是否启用
|
||||
/// </summary>
|
||||
public bool? IsEnable
|
||||
{
|
||||
get { return _IsEnable; }
|
||||
set { _IsEnable = value; RaisePropertyChanged(); }
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user