我尝试将数据写入 Eclipse Milo 服务器并通过以下方式读取历史数据:
HistoryReadDetails hrd = new ReadRawModifiedDetails(false, DateTime.MIN_VALUE, DateTime.MIN_VALUE,UInteger.MAX,false);
TimestampsToReturn ttr = TimestampsToReturn.Both;
List<HistoryReadValueId> list = new ArrayList<>();
list.add(new HistoryReadValueId(new NodeId(2,"HelloWorld/ScalarTypes/Int32"), null, QualifiedName.NULL_VALUE,null));
HistoryReadResponse hrr = client.historyRead(hrd, ttr, true, list).get();
但是得到了以下信息:
HistoryReadResult{StatusCode=StatusCode{name=Bad_NotSupported, value=0x803D0000, quality=bad}, ContinuationPoint=ByteString{bytes=null}, HistoryData=ExtensionObject{encoded=null, encodingTypeId=NodeId{ns=0, id=0}}}
Milo 是否支持此功能(我也使用本地 Milo 作为本地服务器)或者我做错了什么?