mark
Esse commit está contido em:
pai
b93869c4a1
commit
bf67380718
@ -115,7 +115,7 @@ public enum InfluxClient {
|
||||
List<Point> list = new ArrayList<>();
|
||||
for(Event event:events){
|
||||
Point point = null;
|
||||
if(event.getBatchNum()==null){
|
||||
if(event.getSampleNumber()==null){
|
||||
point = Point.measurement(measurement)
|
||||
.addTag("transationId", event.getTransationId())
|
||||
.addTag("argName", event.getArgName())
|
||||
|
@ -61,7 +61,7 @@ public class S7DemoController {
|
||||
Instant time = new Date().toInstant();
|
||||
Event event = new Event();
|
||||
event.setTime(time);
|
||||
event.setTransationId("asas123");
|
||||
event.setBatchNum("1");
|
||||
event.setArgName("failDayDay");
|
||||
event.setArgValue("1");
|
||||
list.add(event);
|
||||
@ -70,7 +70,7 @@ public class S7DemoController {
|
||||
|
||||
Event event2 = new Event();
|
||||
event2.setTime(time);
|
||||
event2.setTransationId("asas456");
|
||||
event.setBatchNum("2");
|
||||
event2.setArgName("failDayDay");
|
||||
event2.setArgValue("2");
|
||||
list.add(event2);
|
||||
|
Carregando…
Referência em uma nova issue
Block a user