Exemplo n.º 1
0
 /// <summary>
 /// Set pump preset
 /// </summary>
 public void setPreset()
 {
     // Do stuff
     client.setOnOffItem("P100_P200_PRESET", true);
 }
Exemplo n.º 2
0
        /// Turn heater on

        /** Sends signal to simulator/device to turn on the heater.
         */
        public void turnOn()
        {
            client.setOnOffItem(name, true);
            isOn = true;
        }
Exemplo n.º 3
0
 /// Open On/Off valve
 public void open()
 {
     //Do stuff
     client.setOnOffItem(name, true);
     //Async wait for confirmation from server?
 }