예제 #1
0
        public override void OnComplete()
        {
            Log.Information($"Turning relay {_relayA.AssetId} off.");
            _relayA.TurnRelayOff();

            Log.Information($"Turning relay {_relayB.AssetId} off.");
            _relayB.TurnRelayOff();
        }
예제 #2
0
 public override void OnComplete()
 {
     Log.Information("Turning relay {Relay} off", Name);
     _driver.TurnRelayOff();
 }