예제 #1
0
 public void tempSensorOptions(ChannelMask mask, TempSensorOptions options)
 {
     msclPINVOKE.WirelessNodeConfig_tempSensorOptions__SWIG_1(swigCPtr, ChannelMask.getCPtr(mask), TempSensorOptions.getCPtr(options));
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
예제 #2
0
        public TempSensorOptions tempSensorOptions(ChannelMask mask)
        {
            TempSensorOptions ret = new TempSensorOptions(msclPINVOKE.WirelessNodeConfig_tempSensorOptions__SWIG_0(swigCPtr, ChannelMask.getCPtr(mask)), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #3
0
        public static TempSensorOptions RTD(WirelessTypes.RtdWireType wire, WirelessTypes.RtdType rtd)
        {
            TempSensorOptions ret = new TempSensorOptions(msclPINVOKE.TempSensorOptions_RTD((int)wire, (int)rtd), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #4
0
        public static TempSensorOptions Thermistor(WirelessTypes.ThermistorType thermistor)
        {
            TempSensorOptions ret = new TempSensorOptions(msclPINVOKE.TempSensorOptions_Thermistor((int)thermistor), true);

            if (msclPINVOKE.SWIGPendingException.Pending)
            {
                throw msclPINVOKE.SWIGPendingException.Retrieve();
            }
            return(ret);
        }
예제 #5
0
 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(TempSensorOptions obj)
 {
     return((obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr);
 }