|
@@ -68,14 +68,22 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
/// </summary>
|
|
/// </summary>
|
|
private bool _isEvaporatorConfig;
|
|
private bool _isEvaporatorConfig;
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 是否正在手动注水
|
|
|
|
|
|
+ /// 阴极是否正在手动注水
|
|
/// </summary>
|
|
/// </summary>
|
|
private bool _isManualReplen;
|
|
private bool _isManualReplen;
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 手动注水时长(秒)
|
|
|
|
|
|
+ /// 阳极是否正在手动注水
|
|
|
|
+ /// </summary>
|
|
|
|
+ private bool _isANManualReplen;
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 阴极手动注水时长(秒)
|
|
/// </summary>
|
|
/// </summary>
|
|
private int _manualFillSeconds;
|
|
private int _manualFillSeconds;
|
|
/// <summary>
|
|
/// <summary>
|
|
|
|
+ /// 阳极手动注水时长(秒)
|
|
|
|
+ /// </summary>
|
|
|
|
+ private int _manualANFillSeconds;
|
|
|
|
+ /// <summary>
|
|
/// DIValveMaxOnTime
|
|
/// DIValveMaxOnTime
|
|
/// </summary>
|
|
/// </summary>
|
|
private double _diValveMaxOnTime;
|
|
private double _diValveMaxOnTime;
|
|
@@ -227,7 +235,7 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
set { SetProperty(ref _diValveMaxOnTime, value); }
|
|
set { SetProperty(ref _diValveMaxOnTime, value); }
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 手动注水时长
|
|
|
|
|
|
+ /// 阴极手动注水时长
|
|
/// </summary>
|
|
/// </summary>
|
|
public int ManualFillSeconds
|
|
public int ManualFillSeconds
|
|
{
|
|
{
|
|
@@ -235,7 +243,15 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
set { SetProperty(ref _manualFillSeconds, value); }
|
|
set { SetProperty(ref _manualFillSeconds, value); }
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 正在手动注水
|
|
|
|
|
|
+ /// 阳极手动注水时长
|
|
|
|
+ /// </summary>
|
|
|
|
+ public int ManualANFillSeconds
|
|
|
|
+ {
|
|
|
|
+ get { return _manualANFillSeconds; }
|
|
|
|
+ set { SetProperty(ref _manualANFillSeconds, value); }
|
|
|
|
+ }
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 阴极正在手动注水
|
|
/// </summary>
|
|
/// </summary>
|
|
public bool IsManualReplen
|
|
public bool IsManualReplen
|
|
{
|
|
{
|
|
@@ -243,6 +259,14 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
set { SetProperty(ref _isManualReplen, value); }
|
|
set { SetProperty(ref _isManualReplen, value); }
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// <summary>
|
|
|
|
+ /// 阳极正在手动注水
|
|
|
|
+ /// </summary>
|
|
|
|
+ public bool IsANManualReplen
|
|
|
|
+ {
|
|
|
|
+ get { return _isANManualReplen; }
|
|
|
|
+ set { SetProperty(ref _isANManualReplen, value); }
|
|
|
|
+ }
|
|
|
|
+ /// <summary>
|
|
/// 是否补水异常
|
|
/// 是否补水异常
|
|
/// </summary>
|
|
/// </summary>
|
|
public bool IsDIReplenFault
|
|
public bool IsDIReplenFault
|
|
@@ -261,6 +285,7 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
public ICommand ReturnFlowOpenPercentSetCommand { get; set; }
|
|
public ICommand ReturnFlowOpenPercentSetCommand { get; set; }
|
|
public ICommand ResetTotalCommand { get; set; }
|
|
public ICommand ResetTotalCommand { get; set; }
|
|
public ICommand ManualDireplenCommand { get; set; }
|
|
public ICommand ManualDireplenCommand { get; set; }
|
|
|
|
+ public ICommand ManualANDireplenCommand { get; set; }
|
|
|
|
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
@@ -272,6 +297,7 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
ReturnFlowOpenPercentSetCommand = new DelegateCommand<object>(ReturnFlowOpenPercentSetAction);
|
|
ReturnFlowOpenPercentSetCommand = new DelegateCommand<object>(ReturnFlowOpenPercentSetAction);
|
|
ResetTotalCommand = new DelegateCommand<object>(ResetTotalAction);
|
|
ResetTotalCommand = new DelegateCommand<object>(ResetTotalAction);
|
|
ManualDireplenCommand = new DelegateCommand<object>(ManualDireplenAction);
|
|
ManualDireplenCommand = new DelegateCommand<object>(ManualDireplenAction);
|
|
|
|
+ ManualANDireplenCommand = new DelegateCommand<object>(ManualANDireplenAction);
|
|
}
|
|
}
|
|
|
|
|
|
#region 命令方法
|
|
#region 命令方法
|
|
@@ -333,13 +359,21 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
InvokeClient.Instance.Service.DoOperation($"{Module}.ResetTotalTime");
|
|
InvokeClient.Instance.Service.DoOperation($"{Module}.ResetTotalTime");
|
|
}
|
|
}
|
|
/// <summary>
|
|
/// <summary>
|
|
- /// 手动注水
|
|
|
|
|
|
+ /// 手动阴极注水
|
|
/// </summary>
|
|
/// </summary>
|
|
/// <param name="param"></param>
|
|
/// <param name="param"></param>
|
|
private void ManualDireplenAction(object param)
|
|
private void ManualDireplenAction(object param)
|
|
{
|
|
{
|
|
InvokeClient.Instance.Service.DoOperation($"{Module}.ManualCADiReplen", ManualFillSeconds);
|
|
InvokeClient.Instance.Service.DoOperation($"{Module}.ManualCADiReplen", ManualFillSeconds);
|
|
}
|
|
}
|
|
|
|
+ /// <summary>
|
|
|
|
+ /// 手动阳极注水
|
|
|
|
+ /// </summary>
|
|
|
|
+ /// <param name="param"></param>
|
|
|
|
+ private void ManualANDireplenAction(object param)
|
|
|
|
+ {
|
|
|
|
+ InvokeClient.Instance.Service.DoOperation($"{Module}.ManualANDiReplen", ManualANFillSeconds);
|
|
|
|
+ }
|
|
#endregion
|
|
#endregion
|
|
|
|
|
|
public void LoadData(string systemName)
|
|
public void LoadData(string systemName)
|
|
@@ -358,6 +392,7 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
|
|
|
|
_rtDataKeys.Add($"{Module}.DIValveMaxOnTime");
|
|
_rtDataKeys.Add($"{Module}.DIValveMaxOnTime");
|
|
_rtDataKeys.Add($"{Module}.IsManualCAReplen");
|
|
_rtDataKeys.Add($"{Module}.IsManualCAReplen");
|
|
|
|
+ _rtDataKeys.Add($"{Module}.IsManualANReplen");
|
|
_rtDataKeys.Add($"{Module}.IsDIReplenPerfillTimeOut");
|
|
_rtDataKeys.Add($"{Module}.IsDIReplenPerfillTimeOut");
|
|
_rtDataKeys.Add($"{Module}.IsDIReplenMaxTimeOut");
|
|
_rtDataKeys.Add($"{Module}.IsDIReplenMaxTimeOut");
|
|
_rtDataKeys.Add($"{Module}.AvgCALevel");
|
|
_rtDataKeys.Add($"{Module}.AvgCALevel");
|
|
@@ -410,7 +445,9 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
DIValveMaxOnTime = CommonFunction.GetValue<double>(_rtDataValueDic, $"{Module}.DIValveMaxOnTime");
|
|
DIValveMaxOnTime = CommonFunction.GetValue<double>(_rtDataValueDic, $"{Module}.DIValveMaxOnTime");
|
|
IsManualReplen = CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsManualCAReplen");
|
|
IsManualReplen = CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsManualCAReplen");
|
|
IsDIReplenFault = CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsDIReplenPerfillTimeOut")
|
|
IsDIReplenFault = CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsDIReplenPerfillTimeOut")
|
|
- || CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsDIReplenMaxTimeOut");
|
|
|
|
|
|
+ || CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsDIReplenMaxTimeOut");
|
|
|
|
+
|
|
|
|
+ IsANManualReplen = CommonFunction.GetValue<bool>(_rtDataValueDic, $"{Module}.IsManualANReplen");
|
|
|
|
|
|
|
|
|
|
}
|
|
}
|