public override bool InterpretResponse(ProcessorInput response) { DeviceResult res = response as DeviceResult; if (res != null) { if (CommandId == res.CommandId) { return(true); } } return(false); }
public override bool InterpretResponse(ProcessorInput response) { DeviceResult <string> res = response as DeviceResult <string>; if (res != null) { if (CommandId == res.CommandId) { ReturnValue = res.Input; return(true); } } return(false); }
public override bool InterpretResponse(ProcessorInput response) { DeviceResult <bool> res = response as DeviceResult <bool>; if (res != null) { if (CommandId == res.CommandId) { ReturnValue = res.Input; _mainViewModel.CanConnect = ReturnValue; return(true); } } return(false); }