protected virtual void OnPowerChange(PowerChangeEvent e) { switch (e.Status) { case PowerBroadcastStatus.Suspend: OnSuspend(); break; case PowerBroadcastStatus.ResumeSuspend: OnResumeSuspend(); break; } }
internal void SendEvent(ModuleBase source, PowerChangeEvent e) { PowerChange?.Invoke(source, e); }