Пример #1
0
 /// <summary>
 /// Trigger
 /// </summary>
 /// <param name="status"></param>
 void SetTriggerStatus(bool status)
 {
     if (status)
     {
         this.triggerGrid.Visibility = status ? Visibility.Visible : Visibility.Hidden;
         this.machineCommand.Text    = objGeneralDba.GetMachineTriggerCommand(this.MachineCode);
     }
     else
     {
         this.triggerGrid.Visibility = Visibility.Hidden;
     }
 }