PhotovoltaicInfo.java 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. package com.gyee.power.fitting.model.custom;
  2. import com.fasterxml.jackson.annotation.JsonProperty;
  3. import com.gyee.power.fitting.model.anno.Desc;
  4. import lombok.Data;
  5. @Data
  6. public class PhotovoltaicInfo {
  7. @Desc(des = "场站")
  8. private String station;
  9. @Desc(des = "逆变器")
  10. private String inverter;
  11. private String branch;//支路
  12. private long time;//时间
  13. @Desc(des = "时间")
  14. private String datetime;
  15. @Desc(des = "组件温度" ,uniformCode = "QXZZJWD")
  16. @JsonProperty("T")
  17. private double T;
  18. @Desc(des = "光照强度",uniformCode = "GCGZQD")
  19. @JsonProperty("S")
  20. private double S;
  21. @Desc(des = "电流" ,uniformCode = "AIG057")
  22. @JsonProperty("I")
  23. private double I;
  24. @Desc(des = "电压",uniformCode = "AIG058")
  25. @JsonProperty("V")
  26. private double V;
  27. @JsonProperty("P")
  28. private double P;
  29. @Desc(des = "功率" ,uniformCode = "AI114")
  30. private double actualP;
  31. @Desc(des = "理论功率" ,uniformCode = "ZSGL")
  32. private double ideaP;
  33. @Desc(des = "A相电流",uniformCode = "AIG004")
  34. @JsonProperty("aI")
  35. private double aI;
  36. @Desc(des = "A相电压",uniformCode = "AIG005")
  37. @JsonProperty("aV")
  38. private double aV;
  39. @Desc(des = "B相电流",uniformCode = "AIG007")
  40. @JsonProperty("bI")
  41. private double bI;
  42. @Desc(des = "B相电压",uniformCode = "AIG008")
  43. @JsonProperty("bV")
  44. private double bV;
  45. @Desc(des = "C相电流",uniformCode = "AIG010")
  46. @JsonProperty("cI")
  47. private double cI;
  48. @Desc(des = "C相电压",uniformCode = "AIG011")
  49. @JsonProperty("cV")
  50. private double cV;
  51. //是否过滤 0:不过滤 1:过滤
  52. @Desc(des = "筛选", remark = "0")
  53. private int filter = 0;
  54. /*public double getP() {
  55. if (I != 0 && V != 0) {
  56. return I * V;
  57. } else {
  58. return this.P;
  59. }
  60. }*/
  61. }