Commit 45f4a56a authored by LiGuohua's avatar LiGuohua

修改复位分区初始显示不对

parent 613950d6
...@@ -26,9 +26,12 @@ namespace FLY.HeatingHelper.UI.UiModule ...@@ -26,9 +26,12 @@ namespace FLY.HeatingHelper.UI.UiModule
public ViewModel_HeatThickDetector(FLY.Thick.Blowing.IService.IBlowingService blowing, IThickHeatData dat) public ViewModel_HeatThickDetector(FLY.Thick.Blowing.IService.IBlowingService blowing, IThickHeatData dat)
{ {
_dat = dat; _dat = dat;
Misc.BindingOperations.SetBinding(blowing, "OrgBoltNo", this, "CurrentResetBolt");
Misc.BindingOperations.SetBinding(dat, "NewResetBolt", this, "NewResetBolt"); Misc.BindingOperations.SetBinding(dat, "NewResetBolt", this, "NewResetBolt");
NewResetBolt = CurrentResetBolt; Misc.BindingOperations.SetBinding(blowing, "OrgBoltNo", () =>
{
CurrentResetBolt = blowing.OrgBoltNo;
NewResetBolt = CurrentResetBolt;
});
} }
public bool HasData public bool HasData
......
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