项目集成华为obs查看波形文件
This commit is contained in:
@@ -33,7 +33,7 @@ public class Test1 extends BaseJunitTest{
|
||||
|
||||
@Test
|
||||
public void testMethod(){
|
||||
InfluxDbUtils influxDBUtil = new InfluxDbUtils(influxDbConfig.getUserName(), influxDbConfig.getPassword(), influxDbConfig.getInfluxDBUrl(), influxDbConfig.getDatabase(), "");
|
||||
InfluxDbUtils influxDBUtil = new InfluxDbUtils(influxDbConfig.getUser(), influxDbConfig.getPassword(), influxDbConfig.getUrl(), influxDbConfig.getDatabase(), "");
|
||||
SelectQueryImpl selectQuery = select().from(influxDbConfig.getDatabase(),"data_flicker").where(eq("fluc",0)).limit(1).tz("Asia/Shanghai");
|
||||
WhereQueryImpl<SelectQueryImpl> where = selectQuery.where();
|
||||
QueryResult queryResult = influxDBUtil.query(selectQuery.getCommand());
|
||||
|
||||
Reference in New Issue
Block a user