提交 d25638ba 编写于 作者: D dingbo

docs: mockdatasoruce.py

上级 afcbbe4e
...@@ -39,7 +39,7 @@ class MockDataSource: ...@@ -39,7 +39,7 @@ class MockDataSource:
ts = [] ts = []
for _ in range(1000): for _ in range(1000):
self.current_ts += 100 self.current_ts += 100
ts.append(self.current_ts) ts.append(str(self.current_ts))
# add timestamp to each row # add timestamp to each row
# [(tableId, ["tableName,ts,current,voltage,phase,location,groupId"])] # [(tableId, ["tableName,ts,current,voltage,phase,location,groupId"])]
result = [] result = []
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册