更改
This commit is contained in:
@@ -244,6 +244,8 @@ namespace OrpaonEMS.App.ViewModels
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
private DelegateCommand _PcsSendPwBtnCmd;
|
||||
/// <summary>
|
||||
/// PCS 手动发送功率操作
|
||||
@@ -310,6 +312,36 @@ namespace OrpaonEMS.App.ViewModels
|
||||
|
||||
|
||||
|
||||
private DelegateCommand _BmsResetBtnCmd;
|
||||
/// <summary>
|
||||
/// Bms复位操作
|
||||
/// </summary>
|
||||
public DelegateCommand BmsResetBtnCmd
|
||||
{
|
||||
set
|
||||
{
|
||||
_BmsResetBtnCmd = value;
|
||||
}
|
||||
get
|
||||
{
|
||||
if (_BmsResetBtnCmd == null)
|
||||
{
|
||||
_BmsResetBtnCmd = new DelegateCommand(() => BmsResetBtnCmdMethod());
|
||||
}
|
||||
return _BmsResetBtnCmd;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Bms复位操作 执行方法
|
||||
/// </summary>
|
||||
private async Task BmsResetBtnCmdMethod()
|
||||
{
|
||||
bmsDataService.BmsAlarmReset();
|
||||
await Task.CompletedTask;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
private DelegateCommand _PcsGridConBtnCmd;
|
||||
|
||||
Reference in New Issue
Block a user