Exemplo n.º 1
0
 /// <summary> Gets the device status. </summary>
 private void SendCleanAndOptimize()
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceStage.SendCleanAndOptimize());
     }
 }
Exemplo n.º 2
0
 /// <summary> Gets the device status. </summary>
 private void SendStopCleaning()
 {
     if (Owner.IsConnected)
     {
         ELLDeviceStage.SendStopCleaning();
     }
 }
Exemplo n.º 3
0
 private void SetJogSize()
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceStage.SetJogstepSize(TargetJogStepSize));
     }
 }
Exemplo n.º 4
0
 private void SetHomeOffset()
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceStage.SetHomeOffset(TargetHomeOffset));
     }
 }
Exemplo n.º 5
0
 private void MoveRelative()
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceStage.MoveRelative(TargetRelativeMove));
     }
 }
Exemplo n.º 6
0
 private void Home()
 {
     if (Owner.IsConnected)
     {
         Owner.BackgroundThreadManager.RunBackgroundFunction((s, e) => ELLDeviceStage.Home(HomeDirection));
     }
 }
Exemplo n.º 7
0
 /// <summary>   Initializes the view model. </summary>
 public override void InitializeViewModel()
 {
     ELLDeviceStage.GetHomeOffset();
     ELLDeviceStage.GetJogstepSize();
     ELLDeviceStage.GetPosition();
 }