优化当清料结束后,主页清料按钮跟着变化

master
lhiven 10 months ago
parent 7f516305dc
commit 11b9055f12

@ -32,7 +32,7 @@ namespace Rs.MotionPlat
InitializeComponent();
DischargeFlow.Instance.workFinishedEvent += () => {
GlobalVar.Clear = false;
switchButton1.Checked = false;
switchButton1.Checked = true;
};
}
@ -202,9 +202,11 @@ namespace Rs.MotionPlat
GlobalTray.NozzleTray = trayNozzle ;
//StockManager.Instance.Start();
LoadStockStatus();
switchButton1.Checked = GlobalVar.Clear; ;
if(GlobalVar.Clear==false)
{
switchButton1.Checked = true;
}
//uTestCell1.BindEntity(TestFixtureManager.Instance.GetTestFixture(1));

Loading…
Cancel
Save