public ST_Loadcell(FUTEK_USB_DLL.USB_DLL _Loadcell, IntPtr ptrHandle, string strSerialNo, string strTemp, int nOffsetDefault, int nOffset, int nFullScaleValue, int nFullScaleLoadValue, int nDecimalPoint, int nUnitCode, string strUnitCode, int nNormalData, bool bConnect, double dTareValue, double dCalculatedValue, double dFullScaleLoaded) { this._Loadcell = _Loadcell; this.m_ptrHandle = ptrHandle; this.m_strSerialNo = strSerialNo; this.m_strTemp = strTemp; this.m_nOffsetDefault = nOffsetDefault; this.m_nOffset = nOffset; this.m_nFullScaleValue = nFullScaleValue; this.m_nFullScaleLoadValue = nFullScaleLoadValue; this.m_nDecimalPoint = nDecimalPoint; this.m_nUnitCode = nUnitCode; this.m_strUnitCode = strUnitCode; this.m_nNormalData = nNormalData; this.m_bConnect = bConnect; this.m_dTareValue = dTareValue; this.m_dCalculatedValue = dCalculatedValue; this.m_dFullScaleLoaded = dFullScaleLoaded; }
public ST_Loadcell(bool con) { this._Loadcell = new FUTEK_USB_DLL.USB_DLL(); this.m_ptrHandle = new IntPtr(); this.m_bConnect = con; this.m_strSerialNo = string.Empty; this.m_strTemp = string.Empty; this.m_nOffsetDefault = 0; this.m_nOffset = 0; this.m_nFullScaleValue = 0; this.m_nFullScaleLoadValue = 0; this.m_nDecimalPoint = 0; this.m_nUnitCode = 5; this.m_strUnitCode = string.Empty; this.m_nNormalData = 0; this.m_dTareValue = 0.0; this.m_dCalculatedValue = 0.0; this.m_dFullScaleLoaded = 0.0; }