/// <summary> /// Detect power off /// </summary> public override bool Visit(GlobalPowerOff msg, Master data) { stateDispatcher.PostAction(() => data.cs.Power.Actual = false); return(true); }
/// <summary> /// Detect power off /// </summary> public override bool Visit(GlobalPowerOff msg, Client data) { data.Reset(); stateDispatcher.PostAction(() => data.cs.Power.Actual = false); return(true); }
public virtual TReturn Visit(GlobalPowerOff msg, TData data) { return(default(TReturn)); }