|
|
@@ -45,7 +45,8 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
|
private bool m_srd1IsInstalled;
|
|
|
private bool m_srd2IsInstalled;
|
|
|
private bool _isAlignerVacuumOn;
|
|
|
- private bool _isRobotVacuumOn;
|
|
|
+ private bool _isRobotAVacuumOn;
|
|
|
+ private bool _isRobotBVacuumOn;
|
|
|
|
|
|
|
|
|
private ModuleInfo m_LP1ModuleInfo;
|
|
|
@@ -349,10 +350,15 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
|
get { return _isAlignerVacuumOn; }
|
|
|
set { SetProperty(ref _isAlignerVacuumOn, value); }
|
|
|
}
|
|
|
- public bool IsRobotVacuumOn
|
|
|
+ public bool IsRobotAVacuumOn
|
|
|
{
|
|
|
- get { return _isRobotVacuumOn; }
|
|
|
- set { SetProperty(ref _isRobotVacuumOn, value); }
|
|
|
+ get { return _isRobotAVacuumOn; }
|
|
|
+ set { SetProperty(ref _isRobotAVacuumOn, value); }
|
|
|
+ }
|
|
|
+ public bool IsRobotBVacuumOn
|
|
|
+ {
|
|
|
+ get { return _isRobotBVacuumOn; }
|
|
|
+ set { SetProperty(ref _isRobotBVacuumOn, value); }
|
|
|
}
|
|
|
public string LP1Status
|
|
|
{
|
|
|
@@ -660,9 +666,12 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
|
public DelegateCommand AlignerVacuumCommand =>
|
|
|
_AlignerVacuumCommand ?? (_AlignerVacuumCommand = new DelegateCommand(AlignerVacuum));
|
|
|
|
|
|
- private DelegateCommand _RobotVacuumCommand;
|
|
|
- public DelegateCommand RobotVacuumCommand =>
|
|
|
- _RobotVacuumCommand ?? (_RobotVacuumCommand = new DelegateCommand(RobotVacuum));
|
|
|
+ private DelegateCommand _RobotBVacuumCommand;
|
|
|
+ public DelegateCommand RobotBVacuumCommand =>
|
|
|
+ _RobotBVacuumCommand ?? (_RobotBVacuumCommand = new DelegateCommand(RobotBVacuum));
|
|
|
+ private DelegateCommand _RobotAVacuumCommand;
|
|
|
+ public DelegateCommand RobotAVacuumCommand =>
|
|
|
+ _RobotAVacuumCommand ?? (_RobotAVacuumCommand = new DelegateCommand(RobotAVacuum));
|
|
|
|
|
|
private ICommand _lP1CycleCommand;
|
|
|
public ICommand LP1CycleCommand => _lP1CycleCommand ?? (_lP1CycleCommand = new DelegateCommand<object>(OnLP1CycleAction));
|
|
|
@@ -889,9 +898,19 @@ namespace PunkHPX8_MainPages.ViewModels
|
|
|
{
|
|
|
InvokeClient.Instance.Service.DoOperation($"{ModuleName.Aligner1}.{EfemOperation.Vacuum}", ModuleName.Aligner1,IsAlignerVacuumOn);
|
|
|
}
|
|
|
- private void RobotVacuum()
|
|
|
+ /// <summary>
|
|
|
+ /// 下手臂真空 B
|
|
|
+ /// </summary>
|
|
|
+ private void RobotBVacuum()
|
|
|
+ {
|
|
|
+ InvokeClient.Instance.Service.DoOperation($"{ModuleName.EfemRobot}.{EfemOperation.Vacuum}", ModuleName.EfemRobot, IsRobotBVacuumOn,Hand.Blade1);
|
|
|
+ }
|
|
|
+ /// <summary>
|
|
|
+ /// 上手臂真空 A
|
|
|
+ /// </summary>
|
|
|
+ private void RobotAVacuum()
|
|
|
{
|
|
|
- InvokeClient.Instance.Service.DoOperation($"{ModuleName.EfemRobot}.{EfemOperation.Vacuum}", ModuleName.EfemRobot, IsRobotVacuumOn);
|
|
|
+ InvokeClient.Instance.Service.DoOperation($"{ModuleName.EfemRobot}.{EfemOperation.Vacuum}", ModuleName.EfemRobot, IsRobotAVacuumOn, Hand.Blade2);
|
|
|
}
|
|
|
private void OnRobotHome()
|
|
|
{
|