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