static void X10_PlcFunctionReceived(object sender, PlcFunctionReceivedEventArgs args) { Console.WriteLine("PLC function received: Command {0} HouseCode {1}", args.Command, args.HouseCode); }
static void X10_PlcFunctionReceived(object sender, PlcFunctionReceivedEventArgs args) { logger.Info("PLC function received: Command {0} HouseCode {1}", args.Command, args.HouseCode); }