//------------------------------------------------------------------------------ // // // This file was automatically generated by SWIG (http://www.swig.org). // Version 3.0.6 // // Do not make changes to this file unless you know what you are doing--modify // the SWIG interface file instead. //------------------------------------------------------------------------------ namespace mscl { public class DeviceStatusData : global::System.IDisposable { private global::System.Runtime.InteropServices.HandleRef swigCPtr; protected bool swigCMemOwn; internal DeviceStatusData(global::System.IntPtr cPtr, bool cMemoryOwn) { swigCMemOwn = cMemoryOwn; swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr); } internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DeviceStatusData obj) { return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr; } ~DeviceStatusData() { Dispose(); } public virtual void Dispose() { lock(this) { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; msclPINVOKE.delete_DeviceStatusData(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } } public DeviceStatusData() : this(msclPINVOKE.new_DeviceStatusData(), true) { if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } public ushort systemState { set { msclPINVOKE.DeviceStatusData_systemState_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { ushort ret = msclPINVOKE.DeviceStatusData_systemState_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint systemTimerInMS { set { msclPINVOKE.DeviceStatusData_systemTimerInMS_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_systemTimerInMS_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool gnssPowerStateOn { set { msclPINVOKE.DeviceStatusData_gnssPowerStateOn_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.DeviceStatusData_gnssPowerStateOn_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint numberof1PPSPulses { set { msclPINVOKE.DeviceStatusData_numberof1PPSPulses_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_numberof1PPSPulses_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint last1PPSInMS { set { msclPINVOKE.DeviceStatusData_last1PPSInMS_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_last1PPSInMS_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool imuStreamIsEnabled { set { msclPINVOKE.DeviceStatusData_imuStreamIsEnabled_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.DeviceStatusData_imuStreamIsEnabled_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool gnssStreamIsEnabled { set { msclPINVOKE.DeviceStatusData_gnssStreamIsEnabled_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.DeviceStatusData_gnssStreamIsEnabled_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public bool estimationFilterStreamIsEnabled { set { msclPINVOKE.DeviceStatusData_estimationFilterStreamIsEnabled_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { bool ret = msclPINVOKE.DeviceStatusData_estimationFilterStreamIsEnabled_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint outgoingIMUDroppedPacketCount { set { msclPINVOKE.DeviceStatusData_outgoingIMUDroppedPacketCount_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_outgoingIMUDroppedPacketCount_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint outgoingGnssDroppedPacketCount { set { msclPINVOKE.DeviceStatusData_outgoingGnssDroppedPacketCount_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_outgoingGnssDroppedPacketCount_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint outgoingEstimationFilterDroppedPacketCount { set { msclPINVOKE.DeviceStatusData_outgoingEstimationFilterDroppedPacketCount_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_outgoingEstimationFilterDroppedPacketCount_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint numOfBytesWrittenToComPort { set { msclPINVOKE.DeviceStatusData_numOfBytesWrittenToComPort_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_numOfBytesWrittenToComPort_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint numOfBytesWrittenFromComPort { set { msclPINVOKE.DeviceStatusData_numOfBytesWrittenFromComPort_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_numOfBytesWrittenFromComPort_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint numOfOverrunsOnWriteToComPort { set { msclPINVOKE.DeviceStatusData_numOfOverrunsOnWriteToComPort_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_numOfOverrunsOnWriteToComPort_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint numOfIMUParsingErrors { set { msclPINVOKE.DeviceStatusData_numOfIMUParsingErrors_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_numOfIMUParsingErrors_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint totalIMUMessagesRead { set { msclPINVOKE.DeviceStatusData_totalIMUMessagesRead_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_totalIMUMessagesRead_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint lastIMUMessageReadInMS { set { msclPINVOKE.DeviceStatusData_lastIMUMessageReadInMS_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_lastIMUMessageReadInMS_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint numOfGnssParsingErrors { set { msclPINVOKE.DeviceStatusData_numOfGnssParsingErrors_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_numOfGnssParsingErrors_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint totalGnssMessagesRead { set { msclPINVOKE.DeviceStatusData_totalGnssMessagesRead_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_totalGnssMessagesRead_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } public uint lastGnssMessageReadInMS { set { msclPINVOKE.DeviceStatusData_lastGnssMessageReadInMS_set(swigCPtr, value); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); } get { uint ret = msclPINVOKE.DeviceStatusData_lastGnssMessageReadInMS_get(swigCPtr); if (msclPINVOKE.SWIGPendingException.Pending) throw msclPINVOKE.SWIGPendingException.Retrieve(); return ret; } } } }