Merge branch 'develop' of http://112.124.35.216:65000/Sic-Software/MoS2 into develop
This commit is contained in:
commit
4e66258b59
@ -137,7 +137,6 @@
|
|||||||
</IoTempMeters>
|
</IoTempMeters>
|
||||||
<IoLift4s classType="Aitex.Core.RT.Device.Unit.IoLift4" assembly="MECF.Framework.RT.EquipmentLibrary">
|
<IoLift4s classType="Aitex.Core.RT.Device.Unit.IoLift4" assembly="MECF.Framework.RT.EquipmentLibrary">
|
||||||
<IoLift4 id="LLLift" module="LoadLock" display="LLLift" schematicId="LLLift" unit="" aioType="" diUp="DI_LoadLockWaferCYUPFB" diDown="DI_LoadLockWaferCYDownFB" doUp="DO_LoadLockWaferCYUP" doDown="DO_LoadLockWaferCYDown" scTimeout="10"/>
|
<IoLift4 id="LLLift" module="LoadLock" display="LLLift" schematicId="LLLift" unit="" aioType="" diUp="DI_LoadLockWaferCYUPFB" diDown="DI_LoadLockWaferCYDownFB" doUp="DO_LoadLockWaferCYUP" doDown="DO_LoadLockWaferCYDown" scTimeout="10"/>
|
||||||
<IoLift4 id="LoadLidLock" module="LoadLock" display="LoadLidLock" schematicId="LoadLidLock" unit="" aioType="" diUp="DI_LoadLidLocked" diDown="DI_LoadLidUnlocked" doUp="DO_LoadLidLock" doDown="DO_LoadLidUnlock" scTimeout="10" />
|
|
||||||
</IoLift4s>
|
</IoLift4s>
|
||||||
<TMRobots assembly="SicModules" classType="SicModules.TMs.SicTMRobot">
|
<TMRobots assembly="SicModules" classType="SicModules.TMs.SicTMRobot">
|
||||||
<TMRobot id="TMRobot" module="TMRobot" display="" schematicId="" unit="" />
|
<TMRobot id="TMRobot" module="TMRobot" display="" schematicId="" unit="" />
|
||||||
|
|||||||
@ -345,21 +345,22 @@ namespace SicModules.UnLoads
|
|||||||
});*/
|
});*/
|
||||||
DATA.Subscribe($"{Name}.UnderVAC", () =>
|
DATA.Subscribe($"{Name}.UnderVAC", () =>
|
||||||
{
|
{
|
||||||
if (_unLoadDevice.CheckVacuum())
|
if(_unLoadDevice != null)
|
||||||
{
|
{
|
||||||
return true;
|
return _unLoadDevice.CheckVacuum();
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
});
|
});
|
||||||
DATA.Subscribe($"{Name}.LidState", () =>
|
DATA.Subscribe($"{Name}.LidState", () =>
|
||||||
{
|
{
|
||||||
if (_unLoadDevice.CheckLidClose())
|
if(_unLoadDevice != null)
|
||||||
{
|
{
|
||||||
return "Closed";
|
return _unLoadDevice.CheckLidClose() ? "Closed" : "Open";
|
||||||
}
|
}
|
||||||
return "Open";
|
|
||||||
|
|
||||||
|
return "Closed";
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -1374,15 +1374,20 @@ namespace SicUI.Client
|
|||||||
if (menuInfo.System is "PM1" or "PM2")
|
if (menuInfo.System is "PM1" or "PM2")
|
||||||
{
|
{
|
||||||
var rect = FindVisualChildByName<Rectangle>(container, "InnerBG");
|
var rect = FindVisualChildByName<Rectangle>(container, "InnerBG");
|
||||||
|
if(rect != null)
|
||||||
|
{
|
||||||
rect.Fill = menuInfo.Selected
|
rect.Fill = menuInfo.Selected
|
||||||
? BgActiveContent
|
? BgActiveContent
|
||||||
: new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF346294"));
|
: new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF346294"));
|
||||||
|
}
|
||||||
|
|
||||||
var bgBorder = FindVisualChildByName<Border>(container, "BG");
|
var bgBorder = FindVisualChildByName<Border>(container, "BG");
|
||||||
|
if (bgBorder != null)
|
||||||
|
{
|
||||||
bgBorder.Background = menuInfo.Selected
|
bgBorder.Background = menuInfo.Selected
|
||||||
? BgActiveContent
|
? BgActiveContent
|
||||||
: new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF346294"));
|
: new SolidColorBrush((Color)ColorConverter.ConvertFromString("#FF346294"));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user