public void powerState(InertialTypes.PowerState val) { msclPINVOKE.DeviceStatusData_powerState__SWIG_1(swigCPtr, (int)val); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } }
public InertialTypes.PowerState powerState() { InertialTypes.PowerState ret = (InertialTypes.PowerState)msclPINVOKE.DeviceStatusData_powerState__SWIG_0(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) { throw msclPINVOKE.SWIGPendingException.Retrieve(); } return(ret); }