Exemple #1
0
 public DeviceInfo(string description, string serial, uint baudRate, DeviceInfo.ConnectionType type) : this(msclPINVOKE.new_DeviceInfo__SWIG_1(description, serial, baudRate, (int)type), true)
 {
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
 }
Exemple #2
0
 public DeviceInfo.ConnectionType connectionType()
 {
     DeviceInfo.ConnectionType ret = (DeviceInfo.ConnectionType)msclPINVOKE.DeviceInfo_connectionType(swigCPtr);
     if (msclPINVOKE.SWIGPendingException.Pending)
     {
         throw msclPINVOKE.SWIGPendingException.Retrieve();
     }
     return(ret);
 }