Exemplo n.º 1
0
        internal void SetFault(Types.Clamping.HWFaultReason Fault)
        {
            lblFault.Content    = Fault.ToString();
            lblFault.Visibility = Visibility.Visible;
            IsRunning           = false;

            ManualClamping = false;
            IsClamped      = false;
        }
Exemplo n.º 2
0
 internal void SetClampFault(Types.Clamping.HWFaultReason Fault)
 {
     if (Fault == Types.Clamping.HWFaultReason.None)
     {
         clampLabel.Content = m_InitialClampLabelContent;
         clampPath.Stroke   = m_NominalClampPathStroke;
     }
     else
     {
         clampLabel.Content = Fault.ToString();
         clampPath.Stroke   = Brushes.Tomato;
     }
 }