//--------------------------------------------------------------------------- public RESTUnit() { // m_nSeqStep = 0; m_bDrngConnect = false; m_bDrngVersion = false; m_bDrngRFInfo = false; m_bReqConnect = false; m_bReqVersion = false; m_bReqRFInfo = false; m_bUpdateData = false; m_bDataError = false; m_sReqPlateId = string.Empty; this.client = new HttpClient(); this.client.BaseAddress = new Uri(this.apiUrl); this.client.Timeout = TimeSpan.FromSeconds(5.0); RcvPlateRFIDInfo = new PlateRFIDInfo(); RcvPlateRFIDInfo.Init(); // m_Instance = this; }
//------------------------------------------------------------------------------------------------- public void fn_Init() { RcvPlateRFIDInfo.Init(); }