baoshiwei
2025-04-23 c2375c2bcc0bf9e6a3af7f9776d5a0eb14370b40
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
package com.zhitan.engine.entity;
 
import com.influxdb.annotations.Column;
 
import java.time.Instant;
 
/**
 * @author fanxinfu
 */
public class WritePoint {
 
  @Column(tag = true)
  private String tag;
  @Column
  private Double value;
  @Column(timestamp = true)
  private Instant time;
 
  public WritePoint(String tag, Double value, Instant time) {
    this.tag = tag;
    this.value = value;
    this.time = time;
  }
}