Exemple #1
0
 public override void Set(MiliSecOutput msOutput, Miliseconds value)
 {
     System.Diagnostics.Debug.WriteLine(string.Format("Set Strobe '{0}' = {1}", Nickname, value.ToString()));
     if (SetPW(DecimalToBinary((int)Math.Round(value.Val * 100.0))))
     {
         msOutput.Value = value;
     }
 }
 /// <summary>
 /// Set a milisecond output
 /// </summary>
 /// <param name="msOutput"></param>
 /// <param name="value"></param>
 public virtual void Set(MiliSecOutput msOutput, Miliseconds value)
 {
     // Simulation
     msOutput.Value = value;
 }