/// <summary> /// Synchronously eads the values from the server. /// </summary> private TsCHdaItemValueCollection[] SyncRead(TsCHdaItem[] items) { switch (mType_) { // synchronous read raw or read processed. case RequestType.Read: { return(mTrend_.Read(items)); } // synchronous read raw. case RequestType.ReadRaw: { return(mTrend_.ReadRaw(items)); } // synchronous read processed. case RequestType.ReadProcessed: { return(mTrend_.ReadProcessed(items)); } // synchronous read modified. case RequestType.ReadModified: { return(mTrend_.ReadModified(items)); } // synchronous read at time. case RequestType.ReadAtTime: { return(mTrend_.ReadAtTime(items)); } } return(null); }