示例#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();
 }