コード例 #1
0
ファイル: TempSensorOptions.cs プロジェクト: zjay1995/MSCL
 public WirelessTypes.RtdWireType rtdWireType()
 {
     WirelessTypes.RtdWireType ret = (WirelessTypes.RtdWireType)msclPINVOKE.TempSensorOptions_rtdWireType(swigCPtr);
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }
コード例 #2
0
ファイル: TempSensorOptions.cs プロジェクト: zjay1995/MSCL
        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);
        }