Exemple #1
0
 /// <summary>
 /// Detect power on
 /// </summary>
 public override bool Visit(GlobalPowerOn msg, Master data)
 {
     stateDispatcher.PostAction(() => data.cs.Power.Actual = true);
     return(true);
 }
Exemple #2
0
 /// <summary>
 /// Detect power on
 /// </summary>
 public override bool Visit(GlobalPowerOn msg, Client data)
 {
     data.Reset();
     stateDispatcher.PostAction(() => data.cs.Power.Actual = true);
     return(true);
 }
 public virtual TReturn Visit(GlobalPowerOn msg, TData data)
 {
     return(default(TReturn));
 }