添加项目文件。

This commit is contained in:
2025-02-28 22:23:13 +08:00
parent d4ad2fe2de
commit 547a1b3bf6
416 changed files with 72830 additions and 0 deletions

View File

@@ -0,0 +1,71 @@
using Prism.Mvvm;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace OrpaonEMS.Model.MasterSlave
{
/// <summary>
/// 服务端发送指令数据
/// </summary>
[Serializable]
public class ServerCmd : BindableBase
{
/// <summary>
/// 站号
/// </summary>
public ushort Station { get; set; }
private string _CmdType;
/// <summary>
/// 指令类型
/// 充电charg
/// 放电discharg
/// </summary>
public string CmdType
{
get { return _CmdType; }
set { _CmdType = value; RaisePropertyChanged(); }
}
///// <summary>
///// 指令类型
///// 充电charg
///// 放电discharg
///// </summary>
//public string CmdType { get; set; }=string.Empty;
private double _CmdPw;
/// <summary>
/// 功率指令
/// </summary>
public double CmdPw
{
get { return _CmdPw; }
set { _CmdPw = value; RaisePropertyChanged(); }
}
/// <summary>
/// PCS指令
/// 开和关
/// </summary>
public bool PcsOnOffCmd { get; set; }
/// <summary>
/// 液冷指令
/// 开和关
/// </summary>
public bool CoolOnOffCmd { get; set; }
///// <summary>
///// 其他指令
///// Json信息解析
///// </summary>
//public string? OtherCmd { get; set; }
}
}