示例#1
0
 public string Digitial(DigitalGPIOBDM gpio)
 {
     try
     {
         rpyProcess.Switch[(int)gpio.Pin].Write(gpio.Value);
         return(gpio.Value == true ? "ON" : "OFF");
     }
     catch (System.Exception nse)
     {
         throw new InvokerException(nse.ToString(), InvokerExceptionType.Error);
     }
 }
示例#2
0
 public string Digitial(DigitalGPIOBDM gpio)
 {
     throw new NotImplementedException("Not Implemented.");
 }