1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
  | package com.moral.api.pojo.dto.dataDisplay; 
 |    
 |  import lombok.Data; 
 |  import org.springframework.util.ObjectUtils; 
 |    
 |  import java.math.BigDecimal; 
 |    
 |  /** 
 |   * Description //todo 
 |   * 
 |   * @author swb 
 |   * @ClassName HeatMapDTO 
 |   * @date 2023.12.11 16:11 
 |   */ 
 |  @Data 
 |  public class HeatMapDTO { 
 |      /** 
 |       * 数据时间 
 |       */ 
 |      private String time; 
 |    
 |    
 |      /** 
 |       * 纬度 
 |       */ 
 |      private Double lat; 
 |    
 |    
 |      /** 
 |       * 经度 
 |       */ 
 |      private Double lng; 
 |    
 |    
 |      /** 
 |       * 数据 
 |       */ 
 |      private Double count; 
 |    
 |    
 |      private  String mac; 
 |    
 |    
 |      private  String name; 
 |    
 |      private  Integer groupId; 
 |    
 |    
 |  //    private  Double  sum; 
 |    
 |      public Double getCount(){ 
 |          Double count = this.count; 
 |          if (ObjectUtils.isEmpty(count)){ 
 |              count= 0.0; 
 |              return count; 
 |          } 
 |          return count; 
 |      } 
 |    
 |    
 |  } 
 |  
  |