Esempio n. 1
0
 public override bool InterpretResponse(ProcessorInput response)
 {
     if (_interpretResponseAction != null)
     {
         return(_interpretResponseAction(response));
     }
     return(false);
 }
Esempio n. 2
0
        public override bool InterpretResponse(ProcessorInput response)
        {
            DeviceResult res = response as DeviceResult;

            if (res != null)
            {
                if (CommandId == res.CommandId)
                {
                    return(true);
                }
            }
            return(false);
        }
Esempio n. 3
0
        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);
        }
Esempio n. 4
0
        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);
        }
Esempio n. 5
0
 public override bool InterpretResponse(ProcessorInput response)
 {
     return(true);
 }
Esempio n. 6
0
 public override bool InterpretResponse(ProcessorInput response)
 {
     if (_interpretResponseAction != null) return _interpretResponseAction(response);
     return false;
 }