public List <List <AnalogPoint> > GetAnalogPoint(DateTime timeBegin, DateTime timeEnd) { if (currentBlock != null && currentBlock.ConflictWith(timeBegin, timeEnd)) { Flush(true); } AnalogRequestBlock block = new AnalogRequestBlock(this, timeBegin, timeEnd); dataManager.PutDataBlock(block); block.Wait(5000); return(block.Result); }
public List<List<AnalogPoint>> GetAnalogPoint(DateTime timeBegin, DateTime timeEnd) { if (currentBlock != null && currentBlock.ConflictWith(timeBegin,timeEnd)) { Flush(true); } AnalogRequestBlock block = new AnalogRequestBlock(this, timeBegin, timeEnd); dataManager.PutDataBlock(block); block.Wait(5000); return block.Result; }