Commit b2970e3c authored by 潘栩锋's avatar 潘栩锋 🚴

修复 IBC外风主界面 更新计划忘记更新, ExAir 的都没有改回来

parent 82a7ee96
......@@ -47,24 +47,24 @@ namespace FLY.IBC.UI.Client.UiModule
ibcSystemService.PLCos,
ibcSystemService.Item,
new string[] {
"IsIBCAuto",
"FilmWidth",
"FilmWidthSet",
"IsFilmWidthChanged",
"ErrorCorrection",
"IsInletAirOn",
"InletAirFreq",
"InletAirFreqSet",
"IsOutletAirOn",
"OutletAirFreq",
"OutletAirFreqSet",
"IsOutletAirFreqChanged",
"IsDownOutletAirOn",
"DownOutletAirFreq",
"DownOutletAirFreqSet",
nameof(IBC.Common.IBCData.IsIBCAuto),
nameof(IBC.Common.IBCData.FilmWidth),
nameof(IBC.Common.IBCData.FilmWidthSet),
nameof(IBC.Common.IBCData.IsFilmWidthChanged),
nameof(IBC.Common.IBCData.ErrorCorrection),
nameof(IBC.Common.IBCData.IsInletAirOn),
nameof(IBC.Common.IBCData.InletAirFreq),
nameof(IBC.Common.IBCData.InletAirFreqSet),
nameof(IBC.Common.IBCData.IsOutletAirOn),
nameof(IBC.Common.IBCData.OutletAirFreq),
nameof(IBC.Common.IBCData.OutletAirFreqSet),
nameof(IBC.Common.IBCData.IsOutletAirFreqChanged),
nameof(IBC.Common.IBCData.IsExAirOn),
nameof(IBC.Common.IBCData.ExAirFreq),
nameof(IBC.Common.IBCData.ExAirFreqSet)
});
container.BuildUp(ibcCtrlGraph);
......@@ -73,14 +73,14 @@ namespace FLY.IBC.UI.Client.UiModule
private async void Item_PropertyChanged(object sender, System.ComponentModel.PropertyChangedEventArgs e)
{
if((ibcSystemService is IbcSystemServiceClient) && ((ibcSystemService as IbcSystemServiceClient).IsInPushValue))
if ((ibcSystemService is IbcSystemServiceClient) && ((ibcSystemService as IbcSystemServiceClient).IsInPushValue))
return;
if (e.PropertyName == "FilmWidthSet")
if (e.PropertyName == nameof(IBC.Common.IBCData.FilmWidthSet))
{
await Task.Delay(1000);//1s后触发通知
ibcSystemService.Item.IsFilmWidthChanged = true;
}
else if (e.PropertyName == "OutletAirFreqSet")
else if (e.PropertyName == nameof(IBC.Common.IBCData.OutletAirFreqSet))
{
await Task.Delay(1000);//1s后触发通知
ibcSystemService.Item.IsOutletAirFreqChanged = true;
......@@ -137,7 +137,7 @@ namespace FLY.IBC.UI.Client.UiModule
/// 控件标题
/// 它的值取决于culture
/// </summary>
public string Title=>"IBC主界面(下吹)";
public string Title=>"IBC主界面(外风)";
public ComponentType Type => ComponentType.Graph;
public bool IsUnique => true;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment