dcs 6 hónapja
szülő
commit
c1da949440
100 módosított fájl, 7562 hozzáadás és 5 törlés
  1. 1 1
      virgo.api/src/main/java/com/bosshand/virgo/api/Application.java
  2. 6 0
      virgo.api/src/main/java/com/bosshand/virgo/api/controller/ProjectItemTargetRoomController.java
  3. 60 0
      virgo.api/src/main/java/com/bosshand/virgo/api/controller/WaterElectricityExpensesController.java
  4. 2 0
      virgo.api/src/main/java/com/bosshand/virgo/api/dao/ProjectItemTargetRoomDao.java
  5. 25 0
      virgo.api/src/main/java/com/bosshand/virgo/api/dao/WaterElectricityExpensesDao.java
  6. 147 0
      virgo.api/src/main/java/com/bosshand/virgo/api/model/PropertyExpense.java
  7. 368 0
      virgo.api/src/main/java/com/bosshand/virgo/api/model/WaterElectricityExpenses.java
  8. 43 4
      virgo.api/src/main/java/com/bosshand/virgo/api/service/ProjectItemTargetRoomService.java
  9. 41 0
      virgo.api/src/main/java/com/bosshand/virgo/api/service/WaterElectricityExpensesService.java
  10. 504 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/SetCont.java
  11. 285 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/TestCont.java
  12. 164 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/AirConditioningUnitsStrategyDto.java
  13. 59 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/AlarmParameterDto.java
  14. 79 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/AlarmSettingsDto.java
  15. 151 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/ChillerRoomStrategyDto.java
  16. 99 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/ColdStartStopStrategyDto.java
  17. 73 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CollectionAnalysisDto.java
  18. 112 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CommandManagementDto.java
  19. 46 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountA.java
  20. 54 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountB.java
  21. 46 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountC.java
  22. 59 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountD.java
  23. 20 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountF.java
  24. 80 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/DeviceParameterDto.java
  25. 60 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/HardwareParameterDto.java
  26. 161 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/MeterReadingSettingsDto.java
  27. 54 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/ProtocolDto.java
  28. 112 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/QuotaSettingsDto.java
  29. 27 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/SmsRecipientDto.java
  30. 124 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/SystemTypeDto.java
  31. 151 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/TimedTasksDto.java
  32. 140 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/TotalStartStopDto.java
  33. 144 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/AirConditioningUnitsStrategyView.java
  34. 59 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/AlarmSettingsView.java
  35. 131 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/ChillerRoomStrategyView.java
  36. 79 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/ColdStartStopStrategyView.java
  37. 53 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/CollectionAnalysisView.java
  38. 92 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/CommandManagementView.java
  39. 60 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/DeviceParameterView.java
  40. 40 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/HardwareParameterView.java
  41. 131 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/MeterReadingSettingsView.java
  42. 34 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/ProtocolView.java
  43. 92 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/QuotaSettingsView.java
  44. 103 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/SystemTypeView.java
  45. 131 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/TimedTasksView.java
  46. 121 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/TotalStartStopView.java
  47. 17 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AccessControlDao.java
  48. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AirConditioningUnitsStrategyDao.java
  49. 20 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AirDao.java
  50. 21 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AlarmSettingsDao.java
  51. 16 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CallAlarmDao.java
  52. 22 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CameraDao.java
  53. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ChillerRoomStrategyDao.java
  54. 21 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ClockInDao.java
  55. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ColdStartStopStrategyDao.java
  56. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CollectionAnalysisDao.java
  57. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CommandManagementDao.java
  58. 15 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/DangerDao.java
  59. 20 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/DeviceParameterDao.java
  60. 14 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ElectronicPatrolDao.java
  61. 15 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/EmergencyDao.java
  62. 15 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/EnergyAnalysisDao.java
  63. 15 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/FireFightingDao.java
  64. 14 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/GiveAlarmDao.java
  65. 18 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/HardwareParameterDao.java
  66. 20 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/MeterReadingSettingsDao.java
  67. 20 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ProtocolDao.java
  68. 20 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/QuotaSettingsDao.java
  69. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/RegionDao.java
  70. 16 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/RoutesDao.java
  71. 14 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/RoutesPointDao.java
  72. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/SystemTypeDao.java
  73. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/TimedTasksDao.java
  74. 19 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/TotalStartStopDao.java
  75. 14 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/VehicleDao.java
  76. 128 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/AccessControl.java
  77. 64 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Air.java
  78. 158 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/AirConditioningUnitsStrategy.java
  79. 67 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/AlarmSettings.java
  80. 228 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/CallAlarm.java
  81. 115 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Camera.java
  82. 144 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ChillerRoomStrategy.java
  83. 94 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ClockIn.java
  84. 92 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ColdStartStopStrategy.java
  85. 66 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/CollectionAnalysis.java
  86. 105 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/CommandManagement.java
  87. 105 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Danger.java
  88. 73 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/DeviceParameter.java
  89. 80 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ElectronicPatrol.java
  90. 102 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Emergency.java
  91. 121 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/EnergyAnalysis.java
  92. 63 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/FireFighting.java
  93. 128 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/GiveAlarm.java
  94. 53 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/HardwareParameter.java
  95. 144 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/MeterReadingSettings.java
  96. 47 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Protocol.java
  97. 105 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/QuotaSettings.java
  98. 75 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Region.java
  99. 64 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Routes.java
  100. 0 0
      virgo.api/src/main/java/com/bosshand/virgo/api/test/model/RoutesPoint.java

+ 1 - 1
virgo.api/src/main/java/com/bosshand/virgo/api/Application.java

@@ -11,7 +11,7 @@ import org.springframework.transaction.annotation.EnableTransactionManagement;
 @SpringBootApplication
 //@EnableEurekaClient
 @EnableTransactionManagement
-@MapperScan("com.bosshand.virgo.core.dao,com.bosshand.virgo.api.dao,com.bosshand.virgo.api.operate.dao")
+@MapperScan("com.bosshand.virgo.core.dao,com.bosshand.virgo.api.dao,com.bosshand.virgo.api.operate.dao,com.bosshand.virgo.api.test.dao")
 @ComponentScan(basePackages = {"com.bosshand"})
 public class Application {
 	public static void main(String[] args) {

+ 6 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/controller/ProjectItemTargetRoomController.java

@@ -188,4 +188,10 @@ public class ProjectItemTargetRoomController {
         return map;
     }
 
+    @ApiOperation("房源管理统计")
+    @RequestMapping(value = "/roomCount/{projectId}", method = RequestMethod.GET)
+    public Response roomCount(@PathVariable long projectId) {
+        return Response.ok(projectItemTargetRoomService.roomCount(projectId));
+    }
+
 }

+ 60 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/controller/WaterElectricityExpensesController.java

@@ -0,0 +1,60 @@
+package com.bosshand.virgo.api.controller;
+
+import com.bosshand.virgo.api.model.WaterElectricityExpenses;
+import com.bosshand.virgo.api.service.WaterElectricityExpensesService;
+import com.bosshand.virgo.core.response.Response;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@RestController
+@RequestMapping({"waterElectricity"})
+@Api(tags = {"水电费"})
+public class WaterElectricityExpensesController {
+
+    @Autowired
+    WaterElectricityExpensesService waterElectricityExpensesService;
+
+    @ApiOperation("分页获取")
+    @RequestMapping(value = "/{currPage}/{pageSize}", method = RequestMethod.POST)
+    public Response list(@RequestBody WaterElectricityExpenses waterElectricityExpenses, @PathVariable int currPage, @PathVariable int pageSize) {
+        int totalCount = waterElectricityExpensesService.getTotalCount(waterElectricityExpenses);
+        List<WaterElectricityExpenses> dataList = waterElectricityExpensesService.getLimit(waterElectricityExpenses, currPage, pageSize);
+        Map<String, Object> result = new HashMap<>();
+        result.put("dataList", dataList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("保存")
+    @RequestMapping(value = "", method = RequestMethod.POST)
+    public Response insert(@RequestBody WaterElectricityExpenses waterElectricityExpenses) {
+        waterElectricityExpensesService.insert(waterElectricityExpenses);
+        return Response.ok();
+    }
+
+    @ApiOperation("更新")
+    @RequestMapping(value = "/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody WaterElectricityExpenses waterElectricityExpenses) {
+        waterElectricityExpensesService.update(waterElectricityExpenses);
+        return Response.ok();
+    }
+
+    @ApiOperation("删除")
+    @RequestMapping(value = "/delete/{id}", method = RequestMethod.DELETE)
+    public Response delete(@PathVariable long id) {
+        waterElectricityExpensesService.delete(id);
+        return Response.ok();
+    }
+
+    @ApiOperation("详情")
+    @RequestMapping(value = "/{id}", method = RequestMethod.GET)
+    public Response get(@PathVariable long id) {
+        return Response.ok(waterElectricityExpensesService.get(id));
+    }
+}

+ 2 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/dao/ProjectItemTargetRoomDao.java

@@ -29,4 +29,6 @@ public interface ProjectItemTargetRoomDao {
 
     List<ProjectItemTargetRoom> getIds(List<Long> ids);
 
+    List<ProjectItemTargetRoom> getProjectId(long projectId);
+
 }

+ 25 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/dao/WaterElectricityExpensesDao.java

@@ -0,0 +1,25 @@
+package com.bosshand.virgo.api.dao;
+
+import com.bosshand.virgo.api.model.WaterElectricityExpenses;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface WaterElectricityExpensesDao {
+
+
+    int insert(WaterElectricityExpenses waterElectricityExpenses);
+
+    int update(WaterElectricityExpenses waterElectricityExpenses);
+
+    int delete(long id);
+
+    WaterElectricityExpenses get(long id);
+
+    int getTotalCount(WaterElectricityExpenses waterElectricityExpenses);
+
+    List<WaterElectricityExpenses> getLimit(@Param("p") WaterElectricityExpenses p, @Param("currIndex") int currIndex, @Param("pageSize") int pageSize);
+
+}

+ 147 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/model/PropertyExpense.java

@@ -0,0 +1,147 @@
+package com.bosshand.virgo.api.model;
+
+/**
+ * 物业费
+ */
+public class PropertyExpense {
+
+    private long id;
+
+    /**
+     * 合同id
+     */
+    private long contractId;
+
+    /**
+     * 组织id
+     */
+    private long organizationId;
+
+    /**
+     * 项目id
+     */
+    private long projectId;
+
+    /**
+     * 单位工程id
+     */
+    private long projectItemId;
+
+    /**
+     * 楼层id
+     */
+    private long projectItemTargetId;
+
+    /**
+     * 房源ids
+     */
+    private long projectItemTargetRoomIds;
+
+    /**
+     * 开始时间
+     */
+    private String startTime;
+
+    /**
+     * 结束时间
+     */
+    private String endTime;
+
+    /**
+     * 物业费
+     */
+    private long propertyExpense;
+
+    /**
+     * 状态
+     */
+    private Integer state;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getContractId() {
+        return contractId;
+    }
+
+    public void setContractId(long contractId) {
+        this.contractId = contractId;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomIds() {
+        return projectItemTargetRoomIds;
+    }
+
+    public void setProjectItemTargetRoomIds(long projectItemTargetRoomIds) {
+        this.projectItemTargetRoomIds = projectItemTargetRoomIds;
+    }
+
+    public String getStartTime() {
+        return startTime;
+    }
+
+    public void setStartTime(String startTime) {
+        this.startTime = startTime;
+    }
+
+    public String getEndTime() {
+        return endTime;
+    }
+
+    public void setEndTime(String endTime) {
+        this.endTime = endTime;
+    }
+
+    public long getPropertyExpense() {
+        return propertyExpense;
+    }
+
+    public void setPropertyExpense(long propertyExpense) {
+        this.propertyExpense = propertyExpense;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
+}

+ 368 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/model/WaterElectricityExpenses.java

@@ -0,0 +1,368 @@
+package com.bosshand.virgo.api.model;
+
+/**
+ * 水电费
+ */
+public class WaterElectricityExpenses {
+
+    private long id;
+
+    /**
+     * 合同id
+     */
+    private long contractId;
+
+    /**
+     * 组织id
+     */
+    private long organizationId;
+
+    /**
+     * 项目id
+     */
+    private long projectId;
+
+    /**
+     * 单位工程id
+     */
+    private long projectItemId;
+
+    /**
+     * 楼层id
+     */
+    private long projectItemTargetId;
+
+    /**
+     * 房源ids
+     */
+    private long projectItemTargetRoomIds;
+
+    /**
+     * 电倍率
+     */
+    private int electricityMagnification;
+
+    /**
+     * 开始时间
+     */
+    private String startTime;
+
+    /**
+     * 结束时间
+     */
+    private String endTime;
+
+    /**
+     * 开始抄表数
+     */
+    private long startElectricityMeter;
+
+    /**
+     * 结束抄表数
+     */
+    private long endElectricityMeter;
+
+    /**
+     * 抄表用电量
+     */
+    private long electricityQuantity;
+
+    /**
+     * 空调用电总量
+     */
+    private long airConditionElectricityTotalQuantity;
+
+    /**
+     * 空调平摊总面积
+     */
+    private long airConditionFlatTotalArea;
+
+    /**
+     * 空调用电量
+     */
+    private long airConditionElectricityQuantity;
+
+    /**
+     * 总用电量
+     */
+    private long totalElectricityQuantity;
+
+    /**
+     * 电费单价
+     */
+    private long electricityUnitPrice;
+
+    /**
+     * 电费总计
+     */
+    private long electricityTotalPrice;
+
+    /**
+     * 水倍率
+     */
+    private int waterMagnification;
+
+    /**
+     * 水费单价
+     */
+    private long waterUnitPrice;
+
+    /**
+     * 总用水量
+     */
+    private long totalWaterQuantity;
+
+    /**
+     * 水费总价
+     */
+    private long waterTotalPrice;
+
+    /**
+     * 水的平摊面积共计
+     */
+    private long waterFlatTotalArea;
+
+    /**
+     * 水费总计
+     */
+    private long waterTotal;
+
+    /**
+     * 电附件
+     */
+    private String electricityAttachment;
+
+    /**
+     * 水附件
+     */
+    private String waterAttachment;
+
+    /**
+     * 状态
+     */
+    private Integer state;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getContractId() {
+        return contractId;
+    }
+
+    public void setContractId(long contractId) {
+        this.contractId = contractId;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomIds() {
+        return projectItemTargetRoomIds;
+    }
+
+    public void setProjectItemTargetRoomIds(long projectItemTargetRoomIds) {
+        this.projectItemTargetRoomIds = projectItemTargetRoomIds;
+    }
+
+    public int getElectricityMagnification() {
+        return electricityMagnification;
+    }
+
+    public void setElectricityMagnification(int electricityMagnification) {
+        this.electricityMagnification = electricityMagnification;
+    }
+
+    public String getStartTime() {
+        return startTime;
+    }
+
+    public void setStartTime(String startTime) {
+        this.startTime = startTime;
+    }
+
+    public String getEndTime() {
+        return endTime;
+    }
+
+    public void setEndTime(String endTime) {
+        this.endTime = endTime;
+    }
+
+    public long getStartElectricityMeter() {
+        return startElectricityMeter;
+    }
+
+    public void setStartElectricityMeter(long startElectricityMeter) {
+        this.startElectricityMeter = startElectricityMeter;
+    }
+
+    public long getEndElectricityMeter() {
+        return endElectricityMeter;
+    }
+
+    public void setEndElectricityMeter(long endElectricityMeter) {
+        this.endElectricityMeter = endElectricityMeter;
+    }
+
+    public long getElectricityQuantity() {
+        return electricityQuantity;
+    }
+
+    public void setElectricityQuantity(long electricityQuantity) {
+        this.electricityQuantity = electricityQuantity;
+    }
+
+    public long getAirConditionElectricityTotalQuantity() {
+        return airConditionElectricityTotalQuantity;
+    }
+
+    public void setAirConditionElectricityTotalQuantity(long airConditionElectricityTotalQuantity) {
+        this.airConditionElectricityTotalQuantity = airConditionElectricityTotalQuantity;
+    }
+
+    public long getAirConditionFlatTotalArea() {
+        return airConditionFlatTotalArea;
+    }
+
+    public void setAirConditionFlatTotalArea(long airConditionFlatTotalArea) {
+        this.airConditionFlatTotalArea = airConditionFlatTotalArea;
+    }
+
+    public long getAirConditionElectricityQuantity() {
+        return airConditionElectricityQuantity;
+    }
+
+    public void setAirConditionElectricityQuantity(long airConditionElectricityQuantity) {
+        this.airConditionElectricityQuantity = airConditionElectricityQuantity;
+    }
+
+    public long getTotalElectricityQuantity() {
+        return totalElectricityQuantity;
+    }
+
+    public void setTotalElectricityQuantity(long totalElectricityQuantity) {
+        this.totalElectricityQuantity = totalElectricityQuantity;
+    }
+
+    public long getElectricityUnitPrice() {
+        return electricityUnitPrice;
+    }
+
+    public void setElectricityUnitPrice(long electricityUnitPrice) {
+        this.electricityUnitPrice = electricityUnitPrice;
+    }
+
+    public long getElectricityTotalPrice() {
+        return electricityTotalPrice;
+    }
+
+    public void setElectricityTotalPrice(long electricityTotalPrice) {
+        this.electricityTotalPrice = electricityTotalPrice;
+    }
+
+    public int getWaterMagnification() {
+        return waterMagnification;
+    }
+
+    public void setWaterMagnification(int waterMagnification) {
+        this.waterMagnification = waterMagnification;
+    }
+
+    public long getWaterUnitPrice() {
+        return waterUnitPrice;
+    }
+
+    public void setWaterUnitPrice(long waterUnitPrice) {
+        this.waterUnitPrice = waterUnitPrice;
+    }
+
+    public long getTotalWaterQuantity() {
+        return totalWaterQuantity;
+    }
+
+    public void setTotalWaterQuantity(long totalWaterQuantity) {
+        this.totalWaterQuantity = totalWaterQuantity;
+    }
+
+    public long getWaterTotalPrice() {
+        return waterTotalPrice;
+    }
+
+    public void setWaterTotalPrice(long waterTotalPrice) {
+        this.waterTotalPrice = waterTotalPrice;
+    }
+
+    public long getWaterFlatTotalArea() {
+        return waterFlatTotalArea;
+    }
+
+    public void setWaterFlatTotalArea(long waterFlatTotalArea) {
+        this.waterFlatTotalArea = waterFlatTotalArea;
+    }
+
+    public long getWaterTotal() {
+        return waterTotal;
+    }
+
+    public void setWaterTotal(long waterTotal) {
+        this.waterTotal = waterTotal;
+    }
+
+    public String getElectricityAttachment() {
+        return electricityAttachment;
+    }
+
+    public void setElectricityAttachment(String electricityAttachment) {
+        this.electricityAttachment = electricityAttachment;
+    }
+
+    public String getWaterAttachment() {
+        return waterAttachment;
+    }
+
+    public void setWaterAttachment(String waterAttachment) {
+        this.waterAttachment = waterAttachment;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
+}

+ 43 - 4
virgo.api/src/main/java/com/bosshand/virgo/api/service/ProjectItemTargetRoomService.java

@@ -7,10 +7,7 @@ import com.bosshand.virgo.core.utils.StringUtil;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;
 
-import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
 import java.util.stream.Collectors;
 
 @Service
@@ -31,6 +28,9 @@ public class ProjectItemTargetRoomService {
     @Autowired
     private TagDao tagDao;
 
+    @Autowired
+    private ContractDao contractDao;
+
     public Map<Long, Project> projectCache = new HashMap<Long, Project>();
 
     public Map<Long, ProjectItem> projectItemCache = new HashMap<Long, ProjectItem>();
@@ -295,4 +295,43 @@ public class ProjectItemTargetRoomService {
         return ids;
     }
 
+    public Map<String, Object> roomCount(long projectId) {
+        Contract contract = new Contract();
+        contract.setProjectId(projectId);
+        contract.setStatus(2);
+        List<Contract> list = contractDao.getList(contract);
+        Set<Long> ids = new HashSet<>();
+        if (list.size() > 0) {
+            for (Contract c : list) {
+                String[] split = c.getProjectItemTargetRoomIds().split(",");
+                for (String a : split) {
+                    ids.add(Long.parseLong(a));
+                }
+            }
+        }
+        List<ProjectItemTargetRoom> roomList = projectItemTargetRoomDao.getProjectId(projectId);
+        long t = 0;
+        long r = 0;
+        if (roomList.size() > 0) {
+            t = roomList.stream().mapToLong(ls -> Long.parseLong(ls.getArea())).sum();
+            r = roomList.stream().filter(ls -> ids.contains(ls.getId())).mapToLong(ls -> Long.parseLong(ls.getArea())).sum();
+        }
+        System.err.println(r);
+        System.err.println(ids);
+        Map<String, Object> map = new HashMap<>();
+        // 总面积
+        map.put("totalArea", t);
+        // 已租面积
+        map.put("haveRentedArea", r);
+        // 剩余面积
+        map.put("remainArea", t - r);
+        // 总房源
+        map.put("totalRoom", roomList.size());
+        // 已租房源
+        map.put("haveRentedRoom", ids.size());
+        // 剩余房源
+        map.put("remainRoom", roomList.size() - ids.size());
+        return map;
+    }
+
 }

+ 41 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/service/WaterElectricityExpensesService.java

@@ -0,0 +1,41 @@
+package com.bosshand.virgo.api.service;
+
+import com.bosshand.virgo.api.dao.WaterElectricityExpensesDao;
+import com.bosshand.virgo.api.model.WaterElectricityExpenses;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.stereotype.Service;
+
+import java.util.List;
+
+@Service
+public class WaterElectricityExpensesService {
+
+    @Autowired
+    WaterElectricityExpensesDao waterElectricityExpensesDao;
+
+    public int insert(WaterElectricityExpenses waterElectricityExpenses) {
+        return waterElectricityExpensesDao.insert(waterElectricityExpenses);
+    }
+
+    public int update(WaterElectricityExpenses waterElectricityExpenses) {
+        return waterElectricityExpensesDao.update(waterElectricityExpenses);
+    }
+
+    public int delete(long id) {
+        return waterElectricityExpensesDao.delete(id);
+    }
+
+    public WaterElectricityExpenses get(long id) {
+        return waterElectricityExpensesDao.get(id);
+    }
+
+    public int getTotalCount(WaterElectricityExpenses waterElectricityExpenses) {
+        return waterElectricityExpensesDao.getTotalCount(waterElectricityExpenses);
+    }
+
+    public List<WaterElectricityExpenses> getLimit(WaterElectricityExpenses waterElectricityExpenses, int currPage, int pageSize) {
+        int currIndex = (currPage - 1) * pageSize;
+        return waterElectricityExpensesDao.getLimit(waterElectricityExpenses, currIndex, pageSize);
+    }
+
+}

+ 504 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/SetCont.java

@@ -0,0 +1,504 @@
+package com.bosshand.virgo.api.test.controller;
+
+import com.alibaba.fastjson.JSONObject;
+import com.bosshand.virgo.api.test.controller.dto.*;
+import com.bosshand.virgo.api.test.controller.view.*;
+import com.bosshand.virgo.api.test.model.*;
+import com.bosshand.virgo.api.test.service.SetService;
+import com.bosshand.virgo.core.response.Response;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.BeanUtils;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.RequestBody;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.RestController;
+
+import java.util.ArrayList;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@RestController
+@RequestMapping("set")
+@Api(tags = {"物联网配置"})
+public class SetCont {
+
+    @Autowired
+    SetService setService;
+
+    @ApiOperation("协议保存")
+    @RequestMapping(value = "/protocol/save", method = RequestMethod.POST)
+    public Response save(@RequestBody Protocol data) {
+        return Response.ok(setService.save(data));
+    }
+
+    @ApiOperation("协议修改")
+    @RequestMapping(value = "/protocol/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody Protocol data) {
+        return Response.ok(setService.update(data));
+    }
+
+    @ApiOperation("协议列表")
+    @RequestMapping(value = "/protocol/get", method = RequestMethod.POST)
+    public Response get(@RequestBody ProtocolDto data) {
+        Protocol protocol = new Protocol();
+        BeanUtils.copyProperties(data, protocol);
+        List<Protocol> list = setService.get(protocol, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(protocol);
+        List<ProtocolView> viewList = new ArrayList<>();
+        for (Protocol p : list) {
+            ProtocolView view = new ProtocolView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("设备参数保存")
+    @RequestMapping(value = "/deviceParameter/save", method = RequestMethod.POST)
+    public Response save(@RequestBody DeviceParameter data) {
+        return Response.ok(setService.save(data));
+    }
+
+    @ApiOperation("设备参数修改")
+    @RequestMapping(value = "/deviceParameter/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody DeviceParameter data) {
+        return Response.ok(setService.update(data));
+    }
+
+    @ApiOperation("设备参数列表")
+    @RequestMapping(value = "/deviceParameter/get", method = RequestMethod.POST)
+    public Response get(@RequestBody DeviceParameterDto data) {
+        DeviceParameter deviceParameter = new DeviceParameter();
+        BeanUtils.copyProperties(data, deviceParameter);
+        List<DeviceParameter> list = setService.get(deviceParameter, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(deviceParameter);
+        List<DeviceParameterView> viewList = new ArrayList<>();
+        for (DeviceParameter p : list) {
+            DeviceParameterView view = new DeviceParameterView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("系统类型保存")
+    @RequestMapping(value = "/systemType/save", method = RequestMethod.POST)
+    public Response save(@RequestBody SystemType data) {
+        return Response.ok(setService.save(data));
+    }
+
+    @ApiOperation("系统类型修改")
+    @RequestMapping(value = "/systemType/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody SystemType data) {
+        return Response.ok(setService.update(data));
+    }
+
+    @ApiOperation("系统类型列表")
+    @RequestMapping(value = "/systemType/get", method = RequestMethod.POST)
+    public Response get(@RequestBody SystemTypeDto data) {
+        SystemType systemType = new SystemType();
+        BeanUtils.copyProperties(data, systemType);
+        List<SystemType> list = setService.get(systemType, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(systemType);
+        List<SystemTypeView> viewList = new ArrayList<>();
+        for (SystemType p : list) {
+            SystemTypeView view = new SystemTypeView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("末端组合式空调机组控制策略 type1 末端吊顶式空调机组控制策略 type2 保存")
+    @RequestMapping(value = "/AirConditioningUnitsStrategy/save", method = RequestMethod.POST)
+    public Response save(@RequestBody AirConditioningUnitsStrategy data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("末端组合式空调机组控制策略 type1 末端吊顶式空调机组控制策略 type2 修改")
+    @RequestMapping(value = "/AirConditioningUnitsStrategy/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody AirConditioningUnitsStrategy data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("末端组合式空调机组控制策略 type1 末端吊顶式空调机组控制策略 type2 列表")
+    @RequestMapping(value = "/AirConditioningUnitsStrategy/get", method = RequestMethod.POST)
+    public Response get(@RequestBody AirConditioningUnitsStrategyDto data) {
+        AirConditioningUnitsStrategy airConditioningUnitsStrategy = new AirConditioningUnitsStrategy();
+        BeanUtils.copyProperties(data, airConditioningUnitsStrategy);
+        List<AirConditioningUnitsStrategy> list = setService.get(airConditioningUnitsStrategy, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(airConditioningUnitsStrategy);
+        List<AirConditioningUnitsStrategyView> viewList = new ArrayList<>();
+        for (AirConditioningUnitsStrategy p : list) {
+            AirConditioningUnitsStrategyView view = new AirConditioningUnitsStrategyView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("冷水机房优化控制策略保存")
+    @RequestMapping(value = "/ChillerRoomStrategy/save", method = RequestMethod.POST)
+    public Response save(@RequestBody ChillerRoomStrategy data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("冷水机房优化控制策略修改")
+    @RequestMapping(value = "/ChillerRoomStrategy/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody ChillerRoomStrategy data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("冷水机房优化控制策略列表")
+    @RequestMapping(value = "/ChillerRoomStrategy/get", method = RequestMethod.POST)
+    public Response get(@RequestBody ChillerRoomStrategyDto data) {
+        ChillerRoomStrategy chillerRoomStrategy = new ChillerRoomStrategy();
+        BeanUtils.copyProperties(data, chillerRoomStrategy);
+        List<ChillerRoomStrategy> list = setService.get(chillerRoomStrategy, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(chillerRoomStrategy);
+        List<ChillerRoomStrategyView> viewList = new ArrayList<>();
+        for (ChillerRoomStrategy p : list) {
+            ChillerRoomStrategyView view = new ChillerRoomStrategyView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("冷站总启停策略保存")
+    @RequestMapping(value = "/ColdStartStopStrategy/save", method = RequestMethod.POST)
+    public Response save(@RequestBody ColdStartStopStrategy data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("冷站总启停策略修改")
+    @RequestMapping(value = "/ColdStartStopStrategy/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody ColdStartStopStrategy data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("冷站总启停策略列表")
+    @RequestMapping(value = "/ColdStartStopStrategy/get", method = RequestMethod.POST)
+    public Response get(@RequestBody ColdStartStopStrategyDto data) {
+        ColdStartStopStrategy coldStartStopStrategy = new ColdStartStopStrategy();
+        BeanUtils.copyProperties(data, coldStartStopStrategy);
+        List<ColdStartStopStrategy> list = setService.get(coldStartStopStrategy, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(coldStartStopStrategy);
+        List<ColdStartStopStrategyView> viewList = new ArrayList<>();
+        for (ColdStartStopStrategy p : list) {
+            ColdStartStopStrategyView view = new ColdStartStopStrategyView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("硬件参数设置保存")
+    @RequestMapping(value = "/HardwareParameter/save", method = RequestMethod.POST)
+    public Response save(@RequestBody HardwareParameter data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("硬件参数设置修改")
+    @RequestMapping(value = "/HardwareParameter/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody HardwareParameter data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("硬件参数设置列表")
+    @RequestMapping(value = "/HardwareParameter/get", method = RequestMethod.POST)
+    public Response get(@RequestBody HardwareParameterDto data) {
+        HardwareParameter hardwareParameter = new HardwareParameter();
+        BeanUtils.copyProperties(data, hardwareParameter);
+        List<HardwareParameter> list = setService.get(hardwareParameter, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(hardwareParameter);
+        List<HardwareParameterView> viewList = new ArrayList<>();
+        for (HardwareParameter p : list) {
+            HardwareParameterView view = new HardwareParameterView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("总启停设置保存")
+    @RequestMapping(value = "/TotalStartStop/save", method = RequestMethod.POST)
+    public Response save(@RequestBody TotalStartStop data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("总启停设置修改")
+    @RequestMapping(value = "/TotalStartStop/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody TotalStartStop data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("总启停设置列表")
+    @RequestMapping(value = "/TotalStartStop/get", method = RequestMethod.POST)
+    public Response get(@RequestBody TotalStartStopDto data) {
+        TotalStartStop totalStartStop = new TotalStartStop();
+        BeanUtils.copyProperties(data, totalStartStop);
+        List<TotalStartStop> list = setService.get(totalStartStop, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(totalStartStop);
+        List<TotalStartStopView> viewList = new ArrayList<>();
+        for (TotalStartStop p : list) {
+            TotalStartStopView view = new TotalStartStopView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("定时任务保存")
+    @RequestMapping(value = "/TimedTasks/save", method = RequestMethod.POST)
+    public Response save(@RequestBody TimedTasks data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("定时任务修改")
+    @RequestMapping(value = "/TimedTasks/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody TimedTasks data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("定时任务列表")
+    @RequestMapping(value = "/TimedTasks/get", method = RequestMethod.POST)
+    public Response get(@RequestBody TimedTasksDto data) {
+        TimedTasks timedTasks = new TimedTasks();
+        BeanUtils.copyProperties(data, timedTasks);
+        List<TimedTasks> list = setService.get(timedTasks, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(timedTasks);
+        List<TimedTasksView> viewList = new ArrayList<>();
+        for (TimedTasks p : list) {
+            TimedTasksView view = new TimedTasksView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("采集分析保存")
+    @RequestMapping(value = "/CollectionAnalysis/save", method = RequestMethod.POST)
+    public Response save(@RequestBody CollectionAnalysis data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("采集分析修改")
+    @RequestMapping(value = "/CollectionAnalysis/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody CollectionAnalysis data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("采集分析列表")
+    @RequestMapping(value = "/CollectionAnalysis/get", method = RequestMethod.POST)
+    public Response get(@RequestBody CollectionAnalysisDto data) {
+        CollectionAnalysis collectionAnalysis = new CollectionAnalysis();
+        BeanUtils.copyProperties(data, collectionAnalysis);
+        List<CollectionAnalysis> list = setService.get(collectionAnalysis, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(collectionAnalysis);
+        List<CollectionAnalysisView> viewList = new ArrayList<>();
+        for (CollectionAnalysis p : list) {
+            CollectionAnalysisView view = new CollectionAnalysisView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("命令管理保存")
+    @RequestMapping(value = "/CommandManagement/save", method = RequestMethod.POST)
+    public Response save(@RequestBody CommandManagement data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("命令管理修改")
+    @RequestMapping(value = "/CommandManagement/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody CommandManagement data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("命令管理列表")
+    @RequestMapping(value = "/CommandManagement/get", method = RequestMethod.POST)
+    public Response get(@RequestBody CommandManagementDto data) {
+        CommandManagement commandManagement = new CommandManagement();
+        BeanUtils.copyProperties(data, commandManagement);
+        List<CommandManagement> list = setService.get(commandManagement, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(commandManagement);
+        List<CommandManagementView> viewList = new ArrayList<>();
+        for (CommandManagement p : list) {
+            CommandManagementView view = new CommandManagementView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("告警设置保存")
+    @RequestMapping(value = "/AlarmSettings/save", method = RequestMethod.POST)
+    public Response save(@RequestBody AlarmSettingsDto data){
+        AlarmSettings alarmSettings = new AlarmSettings();
+        BeanUtils.copyProperties(data, alarmSettings);
+        alarmSettings.setParameter(JSONObject.toJSONString(data.getParameters()));
+        alarmSettings.setSmsRecipient(JSONObject.toJSONString(data.getSmsRecipient()));
+        setService.save(alarmSettings);
+        return Response.ok();
+    }
+
+    @ApiOperation("告警设置修改")
+    @RequestMapping(value = "/AlarmSettings/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody AlarmSettingsDto data){
+        AlarmSettings alarmSettings = new AlarmSettings();
+        BeanUtils.copyProperties(data, alarmSettings);
+        if (data.getParameters() != null) {
+            alarmSettings.setParameter(JSONObject.toJSONString(data.getParameters()));
+        }
+        if (data.getSmsRecipient() != null) {
+            alarmSettings.setSmsRecipient(JSONObject.toJSONString(data.getSmsRecipient()));
+        }
+        setService.update(alarmSettings);
+        return Response.ok();
+    }
+
+    @ApiOperation("告警设置获取")
+    @RequestMapping(value = "/AlarmSettings/get", method = RequestMethod.POST)
+    public Response get(@RequestBody AlarmSettingsDto data) {
+        AlarmSettings alarmSettings = new AlarmSettings();
+        BeanUtils.copyProperties(data, alarmSettings);
+        List<AlarmSettings> list = setService.get(alarmSettings, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(alarmSettings);
+        List<AlarmSettingsView> viewList = new ArrayList<>();
+        for (AlarmSettings p : list) {
+            AlarmSettingsView view = new AlarmSettingsView();
+            BeanUtils.copyProperties(p, view);
+            List<AlarmParameterDto> parameters = JSONObject.parseArray(p.getParameter(), AlarmParameterDto.class);
+            List<SmsRecipientDto> smsRecipients = JSONObject.parseArray(p.getSmsRecipient(), SmsRecipientDto.class);
+            view.setParameters(parameters);
+            view.setSmsRecipient(smsRecipients);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("抄表设置保存")
+    @RequestMapping(value = "/MeterReadingSettings/save", method = RequestMethod.POST)
+    public Response save(@RequestBody MeterReadingSettings data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("抄表设置修改")
+    @RequestMapping(value = "/MeterReadingSettings/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody MeterReadingSettings data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("抄表设置列表")
+    @RequestMapping(value = "/MeterReadingSettings/get", method = RequestMethod.POST)
+    public Response get(@RequestBody MeterReadingSettingsDto data) {
+        MeterReadingSettings meterReadingSettings = new MeterReadingSettings();
+        BeanUtils.copyProperties(data, meterReadingSettings);
+        List<MeterReadingSettings> list = setService.get(meterReadingSettings, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(meterReadingSettings);
+        List<MeterReadingSettingsView> viewList = new ArrayList<>();
+        for (MeterReadingSettings p : list) {
+            MeterReadingSettingsView view = new MeterReadingSettingsView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("定额设置保存")
+    @RequestMapping(value = "/QuotaSettings/save", method = RequestMethod.POST)
+    public Response save(@RequestBody QuotaSettings data){
+        setService.save(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("定额设置修改")
+    @RequestMapping(value = "/QuotaSettings/update", method = RequestMethod.PUT)
+    public Response update(@RequestBody QuotaSettings data){
+        setService.update(data);
+        return Response.ok();
+    }
+
+    @ApiOperation("定额设置列表")
+    @RequestMapping(value = "/QuotaSettings/get", method = RequestMethod.POST)
+    public Response get(@RequestBody QuotaSettingsDto data) {
+        QuotaSettings quotaSettings = new QuotaSettings();
+        BeanUtils.copyProperties(data, quotaSettings);
+        List<QuotaSettings> list = setService.get(quotaSettings, data.getCurrPage(), data.getPageSize());
+        int totalCount = setService.count(quotaSettings);
+        List<QuotaSettingsView> viewList = new ArrayList<>();
+        for (QuotaSettings p : list) {
+            QuotaSettingsView view = new QuotaSettingsView();
+            BeanUtils.copyProperties(p, view);
+            viewList.add(view);
+        }
+        Map<String, Object> result = new HashMap<String, Object>();
+        result.put("dataList", viewList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+
+}

+ 285 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/TestCont.java

@@ -0,0 +1,285 @@
+package com.bosshand.virgo.api.test.controller;
+
+import com.bosshand.virgo.api.test.model.*;
+import com.bosshand.virgo.api.test.service.TestService;
+import com.bosshand.virgo.core.response.Response;
+import io.swagger.annotations.Api;
+import io.swagger.annotations.ApiOperation;
+import org.springframework.beans.factory.annotation.Autowired;
+import org.springframework.web.bind.annotation.*;
+
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+
+@RestController
+@RequestMapping("test")
+@Api(tags = {"模拟数据"})
+public class TestCont {
+
+    @Autowired
+    TestService testService;
+
+    @ApiOperation("告警检测页面获取")
+    @RequestMapping(value = "/callAlarm/get", method = RequestMethod.POST)
+    public Response get(@RequestBody CallAlarm data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("告警检测页面保存")
+    @RequestMapping(value = "/callAlarm/save", method = RequestMethod.POST)
+    public Response save(@RequestBody CallAlarm data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("告警检测页面统计")
+    @RequestMapping(value = "/callAlarm/count/{projectId}", method = RequestMethod.GET)
+    public Response callAlarmCount(@PathVariable long projectId) {
+        return Response.ok(testService.callAlarmCount(projectId));
+    }
+
+    //-----------------------------------------------------------------------------------------
+
+    @ApiOperation("视频监控分页查询")
+    @RequestMapping(value = "/camera/{currPage}/{pageSize}", method = RequestMethod.POST)
+    public Response list(@RequestBody Camera camera, @PathVariable int currPage, @PathVariable int pageSize) {
+        int totalCount = testService.getCameraTotalCount(camera);
+        List<Camera> dataList = testService.getCameraLimit(camera, currPage, pageSize);
+        Map<String, Object> result = new HashMap<>();
+        result.put("dataList", dataList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("视频监控详情")
+    @RequestMapping(value = "/camera/{id}", method = RequestMethod.GET)
+    public Response getCamera(@PathVariable long id) {
+        return Response.ok(testService.getCamera(id));
+    }
+
+    @ApiOperation("视频监控保存")
+    @RequestMapping(value = "/camera", method = RequestMethod.POST)
+    public Response saveAir(@RequestBody Camera camera) {
+        return Response.ok(testService.saveCamera(camera));
+    }
+
+    @ApiOperation("视频监控更新、绑定")
+    @RequestMapping(value = "/camera", method = RequestMethod.PUT)
+    public Response updateAir(@RequestBody Camera camera) {
+        return Response.ok(testService.updateCamera(camera));
+    }
+
+    //-------------------------------------------------------------------------------------------
+
+    @ApiOperation("楼宇门禁获取")
+    @RequestMapping(value = "/accessControl/get", method = RequestMethod.POST)
+    public Response get(@RequestBody AccessControl data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("楼宇门禁进出场统计")
+    @RequestMapping(value = "/accessControl/countA", method = RequestMethod.POST)
+    public Response countA(@RequestBody AccessControl data) {
+        return Response.ok(testService.countA(data));
+    }
+
+    @ApiOperation("楼宇门禁进分类统计")
+    @RequestMapping(value = "/accessControl/countB", method = RequestMethod.GET)
+    public Response countB() {
+        return Response.ok(testService.countB());
+    }
+
+    @ApiOperation("楼宇门禁保存")
+    @RequestMapping(value = "/accessControl/save", method = RequestMethod.POST)
+    public Response save(@RequestBody AccessControl data) {
+        return Response.ok(testService.save(data));
+    }
+
+    //--------------------------------------------------------------------------------------------
+
+    @ApiOperation("周界报警获取")
+    @RequestMapping(value = "/giveAlarm/get", method = RequestMethod.POST)
+    public Response get(@RequestBody GiveAlarm data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("周界报警保存")
+    @RequestMapping(value = "/giveAlarm/save", method = RequestMethod.POST)
+    public Response save(@RequestBody GiveAlarm data) {
+        return Response.ok(testService.save(data));
+    }
+
+    //---------------------------------------------------------------------------------------------
+
+    @ApiOperation("车辆通行记录获取")
+    @RequestMapping(value = "/vehicle/get", method = RequestMethod.POST)
+    public Response get(@RequestBody Vehicle data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("车辆通行记录保存")
+    @RequestMapping(value = "/vehicle/save", method = RequestMethod.POST)
+    public Response save(@RequestBody Vehicle data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("车辆区域获取")
+    @RequestMapping(value = "/region/get", method = RequestMethod.POST)
+    public Response get(@RequestBody Region data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("车辆区域保存")
+    @RequestMapping(value = "/region/save", method = RequestMethod.POST)
+    public Response save(@RequestBody Region data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("车位统计")
+    @RequestMapping(value = "/region/{projectId}", method = RequestMethod.GET)
+    public Response regionCount(@PathVariable long projectId) {
+        return Response.ok(testService.regionCount(projectId));
+    }
+
+    //----------------------------------------------------------------------------------------------
+
+    @ApiOperation("电子巡更-漏打点位统计")
+    @RequestMapping(value = "/clockIn/leak/{projectId}", method = RequestMethod.GET)
+    public Response get(@PathVariable long projectId) {
+        return Response.ok(testService.clockInLeak(projectId));
+    }
+
+    @ApiOperation("电子巡更-打卡获取")
+    @RequestMapping(value = "/clockIn/get", method = RequestMethod.POST)
+    public Response get(@RequestBody ClockIn data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("电子巡更-打卡保存")
+    @RequestMapping(value = "/clockIn/save", method = RequestMethod.POST)
+    public Response save(@RequestBody ClockIn data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("电子巡更获取")
+    @RequestMapping(value = "/electronicPatrol/get", method = RequestMethod.POST)
+    public Response get(@RequestBody ElectronicPatrol data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("电子巡更保存")
+    @RequestMapping(value = "/electronicPatrol/save", method = RequestMethod.POST)
+    public Response save(@RequestBody ElectronicPatrol data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("电子巡更-路径获取")
+    @RequestMapping(value = "/routes/get", method = RequestMethod.POST)
+    public Response get(@RequestBody Routes data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("电子巡更-路径保存")
+    @RequestMapping(value = "/routes/save", method = RequestMethod.POST)
+    public Response save(@RequestBody Routes data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("电子巡更-路径下打卡点保存")
+    @RequestMapping(value = "/routes/savePoint", method = RequestMethod.POST)
+    public Response save(@RequestBody RoutesPoint data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("电子巡更-打卡事件统计")
+    @RequestMapping(value = "/routes/{projectId}", method = RequestMethod.GET)
+    public Response pointCount(@PathVariable long projectId) {
+        return Response.ok(testService.pointCount(projectId));
+    }
+
+    //-------------------------------------------------------------------------------------------------------------
+
+    @ApiOperation("消防获取")
+    @RequestMapping(value = "/fireFighting/get", method = RequestMethod.POST)
+    public Response get(@RequestBody FireFighting data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("消防保存")
+    @RequestMapping(value = "/fireFighting/save", method = RequestMethod.POST)
+    public Response save(@RequestBody FireFighting data) {
+        return Response.ok(testService.save(data));
+    }
+
+    //-------------------------------------------------------------------------------------------------------------
+
+    @ApiOperation("危险品获取")
+    @RequestMapping(value = "/danger/get", method = RequestMethod.POST)
+    public Response get(@RequestBody Danger data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("危险品保存")
+    @RequestMapping(value = "/danger/save", method = RequestMethod.POST)
+    public Response save(@RequestBody Danger data) {
+        return Response.ok(testService.save(data));
+    }
+
+    @ApiOperation("应急管理获取")
+    @RequestMapping(value = "/emergency/get", method = RequestMethod.POST)
+    public Response get(@RequestBody Emergency data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("应急管理保存")
+    @RequestMapping(value = "/emergency/save", method = RequestMethod.POST)
+    public Response save(@RequestBody Emergency data) {
+        return Response.ok(testService.save(data));
+    }
+
+    //--------------------------------------------------------------------------------------------------
+
+    @ApiOperation("环境管理-分页查询")
+    @RequestMapping(value = "/air/{currPage}/{pageSize}", method = RequestMethod.POST)
+    public Response list(@RequestBody Air air, @PathVariable int currPage, @PathVariable int pageSize) {
+        int totalCount = testService.getAirTotalCount(air);
+        List<Air> dataList = testService.getAirLimit(air, currPage, pageSize);
+        Map<String, Object> result = new HashMap<>();
+        result.put("dataList", dataList);
+        result.put("totalCount", totalCount);
+        return Response.ok(result);
+    }
+
+    @ApiOperation("环境管理-详情")
+    @RequestMapping(value = "/air/{id}", method = RequestMethod.GET)
+    public Response getAir(@PathVariable long id) {
+        return Response.ok(testService.getAir(id));
+    }
+
+    @ApiOperation("环境管理-保存")
+    @RequestMapping(value = "/air", method = RequestMethod.POST)
+    public Response saveAir(@RequestBody Air air) {
+        return Response.ok(testService.saveAir(air));
+    }
+
+    //-----------------------------------------------------------------------------------------------------
+
+    @ApiOperation("用能分析获取")
+    @RequestMapping(value = "/energyAnalysis/get", method = RequestMethod.POST)
+    public Response get(@RequestBody EnergyAnalysis data) {
+        return Response.ok(testService.get(data));
+    }
+
+    @ApiOperation("用能分析保存")
+    @RequestMapping(value = "/energyAnalysis/save", method = RequestMethod.POST)
+    public Response save(@RequestBody EnergyAnalysis data) {
+        return Response.ok(testService.save(data));
+    }
+
+
+
+
+
+
+
+}

+ 164 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/AirConditioningUnitsStrategyDto.java

@@ -0,0 +1,164 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class AirConditioningUnitsStrategyDto {
+
+    private long id;
+
+    /**
+     * 类型
+     */
+    private int type;
+
+    /**
+     * 策略名称
+     */
+    private String name;
+
+    /**
+     * 是否默认策略
+     */
+    private Integer defaultStrategy;
+
+    /**
+     * 回风阀开度
+     */
+    private String returnAirValve;
+
+    /**
+     * 新风阀开度
+     */
+    private String freshAirValve;
+
+    /**
+     * 水阀开度
+     */
+    private String waterValve;
+
+    /**
+     * 回风温度偏差值
+     */
+    private String returnAirDeviation;
+
+    /**
+     * 送风温度设定值
+     */
+    private String supplyAirSetting;
+
+    /**
+     * 送风温度偏差值
+     */
+    private String supplyAirDeviation;
+
+    /**
+     * CO2设定值
+     */
+    private String cO2Setting;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public Integer getDefaultStrategy() {
+        return defaultStrategy;
+    }
+
+    public void setDefaultStrategy(Integer defaultStrategy) {
+        this.defaultStrategy = defaultStrategy;
+    }
+
+    public String getReturnAirValve() {
+        return returnAirValve;
+    }
+
+    public void setReturnAirValve(String returnAirValve) {
+        this.returnAirValve = returnAirValve;
+    }
+
+    public String getFreshAirValve() {
+        return freshAirValve;
+    }
+
+    public void setFreshAirValve(String freshAirValve) {
+        this.freshAirValve = freshAirValve;
+    }
+
+    public String getWaterValve() {
+        return waterValve;
+    }
+
+    public void setWaterValve(String waterValve) {
+        this.waterValve = waterValve;
+    }
+
+    public String getReturnAirDeviation() {
+        return returnAirDeviation;
+    }
+
+    public void setReturnAirDeviation(String returnAirDeviation) {
+        this.returnAirDeviation = returnAirDeviation;
+    }
+
+    public String getSupplyAirSetting() {
+        return supplyAirSetting;
+    }
+
+    public void setSupplyAirSetting(String supplyAirSetting) {
+        this.supplyAirSetting = supplyAirSetting;
+    }
+
+    public String getSupplyAirDeviation() {
+        return supplyAirDeviation;
+    }
+
+    public void setSupplyAirDeviation(String supplyAirDeviation) {
+        this.supplyAirDeviation = supplyAirDeviation;
+    }
+
+    public String getcO2Setting() {
+        return cO2Setting;
+    }
+
+    public void setcO2Setting(String cO2Setting) {
+        this.cO2Setting = cO2Setting;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 59 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/AlarmParameterDto.java

@@ -0,0 +1,59 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 告警参数
+ */
+public class AlarmParameterDto {
+
+    /**
+     * 参数名
+     */
+    private String parameterName;
+
+    /**
+     * 最小值
+     */
+    private String minValue;
+
+    /**
+     * 最大值
+     */
+    private String maxValue;
+
+    /**
+     * 参数单位(例如:ug/m3)
+     */
+    private String parameterUnit;
+
+    public String getParameterName() {
+        return parameterName;
+    }
+
+    public void setParameterName(String parameterName) {
+        this.parameterName = parameterName;
+    }
+
+    public String getMinValue() {
+        return minValue;
+    }
+
+    public void setMinValue(String minValue) {
+        this.minValue = minValue;
+    }
+
+    public String getMaxValue() {
+        return maxValue;
+    }
+
+    public void setMaxValue(String maxValue) {
+        this.maxValue = maxValue;
+    }
+
+    public String getParameterUnit() {
+        return parameterUnit;
+    }
+
+    public void setParameterUnit(String parameterUnit) {
+        this.parameterUnit = parameterUnit;
+    }
+}

+ 79 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/AlarmSettingsDto.java

@@ -0,0 +1,79 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+import java.util.List;
+
+/**
+ * 告警参数
+ */
+public class AlarmSettingsDto {
+
+    private long id;
+
+    private String name;
+
+    private List<AlarmParameterDto> parameters;
+
+    private List<SmsRecipientDto> smsRecipient;
+
+    private int delState;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public List<AlarmParameterDto> getParameters() {
+        return parameters;
+    }
+
+    public void setParameters(List<AlarmParameterDto> parameters) {
+        this.parameters = parameters;
+    }
+
+    public List<SmsRecipientDto> getSmsRecipient() {
+        return smsRecipient;
+    }
+
+    public void setSmsRecipient(List<SmsRecipientDto> smsRecipient) {
+        this.smsRecipient = smsRecipient;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 151 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/ChillerRoomStrategyDto.java

@@ -0,0 +1,151 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class ChillerRoomStrategyDto {
+
+    private long id;
+
+    /**
+     * 冷却塔温度设定低值
+     */
+    private String coolingTowerLowValue;
+
+    /**
+     * 冷却塔温度设定高值
+     */
+    private String coolingTowerHighValue;
+
+    /**
+     * 冷却塔状态
+     */
+    private int coolingTowerState;
+
+    /**
+     * 冷冻水泵温度设定低值
+     */
+    private String chilledWaterPumpLowValue;
+
+    /**
+     * 冷冻水泵温度设定高值
+     */
+    private String chilledWaterPumpHighValue;
+
+    /**
+     * 冷冻水泵状态
+     */
+    private int chilledWaterPumpState;
+
+    /**
+     * 冷却水泵温度设定低值
+     */
+    private String coolingWaterPumpLowValue;
+
+    /**
+     * 冷却水泵温度设定高值
+     */
+    private String coolingWaterPumpHighValue;
+
+    /**
+     * 冷却水泵状态
+     */
+    private int coolingWaterPumpState;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCoolingTowerLowValue() {
+        return coolingTowerLowValue;
+    }
+
+    public void setCoolingTowerLowValue(String coolingTowerLowValue) {
+        this.coolingTowerLowValue = coolingTowerLowValue;
+    }
+
+    public String getCoolingTowerHighValue() {
+        return coolingTowerHighValue;
+    }
+
+    public void setCoolingTowerHighValue(String coolingTowerHighValue) {
+        this.coolingTowerHighValue = coolingTowerHighValue;
+    }
+
+    public int getCoolingTowerState() {
+        return coolingTowerState;
+    }
+
+    public void setCoolingTowerState(int coolingTowerState) {
+        this.coolingTowerState = coolingTowerState;
+    }
+
+    public String getChilledWaterPumpLowValue() {
+        return chilledWaterPumpLowValue;
+    }
+
+    public void setChilledWaterPumpLowValue(String chilledWaterPumpLowValue) {
+        this.chilledWaterPumpLowValue = chilledWaterPumpLowValue;
+    }
+
+    public String getChilledWaterPumpHighValue() {
+        return chilledWaterPumpHighValue;
+    }
+
+    public void setChilledWaterPumpHighValue(String chilledWaterPumpHighValue) {
+        this.chilledWaterPumpHighValue = chilledWaterPumpHighValue;
+    }
+
+    public int getChilledWaterPumpState() {
+        return chilledWaterPumpState;
+    }
+
+    public void setChilledWaterPumpState(int chilledWaterPumpState) {
+        this.chilledWaterPumpState = chilledWaterPumpState;
+    }
+
+    public String getCoolingWaterPumpLowValue() {
+        return coolingWaterPumpLowValue;
+    }
+
+    public void setCoolingWaterPumpLowValue(String coolingWaterPumpLowValue) {
+        this.coolingWaterPumpLowValue = coolingWaterPumpLowValue;
+    }
+
+    public String getCoolingWaterPumpHighValue() {
+        return coolingWaterPumpHighValue;
+    }
+
+    public void setCoolingWaterPumpHighValue(String coolingWaterPumpHighValue) {
+        this.coolingWaterPumpHighValue = coolingWaterPumpHighValue;
+    }
+
+    public int getCoolingWaterPumpState() {
+        return coolingWaterPumpState;
+    }
+
+    public void setCoolingWaterPumpState(int coolingWaterPumpState) {
+        this.coolingWaterPumpState = coolingWaterPumpState;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 99 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/ColdStartStopStrategyDto.java

@@ -0,0 +1,99 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class ColdStartStopStrategyDto {
+
+    private long  id;
+
+    /**
+     * 冷却水泵数量
+     */
+    private int coolingWaterPumpNumber;
+
+    /**
+     * 冷却水泵(变频)数量
+     */
+    private int coolingWaterPumpChangeNumber;
+
+    /**
+     * 冷却塔数量
+     */
+    private int coolingTowerNumber;
+
+    /**
+     * 冷却机组数量
+     */
+    private int coolingUnitNumber;
+
+    /**
+     * 是否启用自定义设置
+     */
+    private Integer customSettings;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getCoolingWaterPumpNumber() {
+        return coolingWaterPumpNumber;
+    }
+
+    public void setCoolingWaterPumpNumber(int coolingWaterPumpNumber) {
+        this.coolingWaterPumpNumber = coolingWaterPumpNumber;
+    }
+
+    public int getCoolingWaterPumpChangeNumber() {
+        return coolingWaterPumpChangeNumber;
+    }
+
+    public void setCoolingWaterPumpChangeNumber(int coolingWaterPumpChangeNumber) {
+        this.coolingWaterPumpChangeNumber = coolingWaterPumpChangeNumber;
+    }
+
+    public int getCoolingTowerNumber() {
+        return coolingTowerNumber;
+    }
+
+    public void setCoolingTowerNumber(int coolingTowerNumber) {
+        this.coolingTowerNumber = coolingTowerNumber;
+    }
+
+    public int getCoolingUnitNumber() {
+        return coolingUnitNumber;
+    }
+
+    public void setCoolingUnitNumber(int coolingUnitNumber) {
+        this.coolingUnitNumber = coolingUnitNumber;
+    }
+
+    public Integer getCustomSettings() {
+        return customSettings;
+    }
+
+    public void setCustomSettings(Integer customSettings) {
+        this.customSettings = customSettings;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 73 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CollectionAnalysisDto.java

@@ -0,0 +1,73 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class CollectionAnalysisDto {
+
+    private long id;
+
+    /**
+     * 命令名称
+     */
+    private String commandName;
+
+    /**
+     * 定时任务名称
+     */
+    private String timedTaskName;
+
+    /**
+     * 解析名称
+     */
+    private String resolveName;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCommandName() {
+        return commandName;
+    }
+
+    public void setCommandName(String commandName) {
+        this.commandName = commandName;
+    }
+
+    public String getTimedTaskName() {
+        return timedTaskName;
+    }
+
+    public void setTimedTaskName(String timedTaskName) {
+        this.timedTaskName = timedTaskName;
+    }
+
+    public String getResolveName() {
+        return resolveName;
+    }
+
+    public void setResolveName(String resolveName) {
+        this.resolveName = resolveName;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 112 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CommandManagementDto.java

@@ -0,0 +1,112 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class CommandManagementDto {
+
+    private long id;
+
+    /**
+     * 协议名
+     */
+    private String typeName;
+
+    /**
+     * 命令名称
+     */
+    private String name;
+
+    /**
+     * 命令说明
+     */
+    private String illustrate;
+
+    /**
+     * 命令内容
+     */
+    private String content;
+
+    /**
+     * 采集长度
+     */
+    private String collectionLength;
+
+    /**
+     * 采集分类
+     */
+    private String collectionSort;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getIllustrate() {
+        return illustrate;
+    }
+
+    public void setIllustrate(String illustrate) {
+        this.illustrate = illustrate;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public String getCollectionLength() {
+        return collectionLength;
+    }
+
+    public void setCollectionLength(String collectionLength) {
+        this.collectionLength = collectionLength;
+    }
+
+    public String getCollectionSort() {
+        return collectionSort;
+    }
+
+    public void setCollectionSort(String collectionSort) {
+        this.collectionSort = collectionSort;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 46 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountA.java

@@ -0,0 +1,46 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 在场进出场统计
+ */
+public class CountA {
+
+    /**
+     在场
+     */
+    private int presence;
+
+    /**
+     进场
+     */
+    private int comeIn;
+
+    /**
+     出场
+     */
+    private int goOut;
+
+    public int getPresence() {
+        return presence;
+    }
+
+    public void setPresence(int presence) {
+        this.presence = presence;
+    }
+
+    public int getComeIn() {
+        return comeIn;
+    }
+
+    public void setComeIn(int comeIn) {
+        this.comeIn = comeIn;
+    }
+
+    public int getGoOut() {
+        return goOut;
+    }
+
+    public void setGoOut(int goOut) {
+        this.goOut = goOut;
+    }
+}

+ 54 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountB.java

@@ -0,0 +1,54 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 分类统计
+ */
+public class CountB {
+
+    private String organizationName;
+    private int comeIn;
+    private int goOut;
+    private int comeInVisitor;
+    private int goOutVisitor;
+
+    public String getOrganizationName() {
+        return organizationName;
+    }
+
+    public void setOrganizationName(String organizationName) {
+        this.organizationName = organizationName;
+    }
+
+    public int getComeIn() {
+        return comeIn;
+    }
+
+    public void setComeIn(int comeIn) {
+        this.comeIn = comeIn;
+    }
+
+    public int getGoOut() {
+        return goOut;
+    }
+
+    public void setGoOut(int goOut) {
+        this.goOut = goOut;
+    }
+
+    public int getComeInVisitor() {
+        return comeInVisitor;
+    }
+
+    public void setComeInVisitor(int comeInVisitor) {
+        this.comeInVisitor = comeInVisitor;
+    }
+
+    public int getGoOutVisitor() {
+        return goOutVisitor;
+    }
+
+    public void setGoOutVisitor(int goOutVisitor) {
+        this.goOutVisitor = goOutVisitor;
+    }
+
+}

+ 46 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountC.java

@@ -0,0 +1,46 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 车位统计
+ */
+public class CountC {
+
+    /**
+     * 总的
+     */
+    private int total;
+
+    /**
+     * 已停
+     */
+    private int stopped;
+
+    /**
+     * 剩余
+     */
+    private int residue;
+
+    public int getTotal() {
+        return total;
+    }
+
+    public void setTotal(int total) {
+        this.total = total;
+    }
+
+    public int getStopped() {
+        return stopped;
+    }
+
+    public void setStopped(int stopped) {
+        this.stopped = stopped;
+    }
+
+    public int getResidue() {
+        return residue;
+    }
+
+    public void setResidue(int residue) {
+        this.residue = residue;
+    }
+}

+ 59 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountD.java

@@ -0,0 +1,59 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 打卡事件统计
+ */
+public class CountD {
+
+    /**
+     * 路径名称
+     */
+    private String routeName;
+
+    /**
+     * 点位数量
+     */
+    private int pointNumber;
+
+    /**
+     * 今日打卡数量
+     */
+    private int checkTodayNumber;
+
+    /**
+     * 累计打卡数量
+     */
+    private int accumulateNumber;
+
+    public String getRouteName() {
+        return routeName;
+    }
+
+    public void setRouteName(String routeName) {
+        this.routeName = routeName;
+    }
+
+    public int getPointNumber() {
+        return pointNumber;
+    }
+
+    public void setPointNumber(int pointNumber) {
+        this.pointNumber = pointNumber;
+    }
+
+    public int getCheckTodayNumber() {
+        return checkTodayNumber;
+    }
+
+    public void setCheckTodayNumber(int checkTodayNumber) {
+        this.checkTodayNumber = checkTodayNumber;
+    }
+
+    public int getAccumulateNumber() {
+        return accumulateNumber;
+    }
+
+    public void setAccumulateNumber(int accumulateNumber) {
+        this.accumulateNumber = accumulateNumber;
+    }
+}

+ 20 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/CountF.java

@@ -0,0 +1,20 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 漏打点位
+ */
+public class CountF {
+
+    /**
+     * 漏打点数量
+     */
+    private int leakPointNumber;
+
+    public int getLeakPointNumber() {
+        return leakPointNumber;
+    }
+
+    public void setLeakPointNumber(int leakPointNumber) {
+        this.leakPointNumber = leakPointNumber;
+    }
+}

+ 80 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/DeviceParameterDto.java

@@ -0,0 +1,80 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class DeviceParameterDto {
+
+    private long id;
+
+    private long typeId;
+
+    private String typeName;
+
+    /**
+     * 运行参数
+     */
+    private String runParameter;
+
+    /**
+     * 设备参数
+     */
+    private String deviceParameter;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public String getRunParameter() {
+        return runParameter;
+    }
+
+    public void setRunParameter(String runParameter) {
+        this.runParameter = runParameter;
+    }
+
+    public String getDeviceParameter() {
+        return deviceParameter;
+    }
+
+    public void setDeviceParameter(String deviceParameter) {
+        this.deviceParameter = deviceParameter;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 60 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/HardwareParameterDto.java

@@ -0,0 +1,60 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class HardwareParameterDto {
+
+    private long id;
+
+    /**
+     * 设备id
+     */
+    private String hardwareId;
+
+    /**
+     * 设备参数
+     */
+    private String parameter;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getHardwareId() {
+        return hardwareId;
+    }
+
+    public void setHardwareId(String hardwareId) {
+        this.hardwareId = hardwareId;
+    }
+
+    public String getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(String parameter) {
+        this.parameter = parameter;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 161 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/MeterReadingSettingsDto.java

@@ -0,0 +1,161 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class MeterReadingSettingsDto {
+
+    private long id;
+
+    /**
+     * 用水,用电,用气,供暖
+     */
+    private int type;
+
+    /**
+     * 日自动抄表
+     */
+    private Integer dailyAutomaticMeterReading;
+
+    /**
+     * 日默认抄表规则
+     */
+    private Integer dailyDefaultMeterReadingRules;
+
+    /**
+     * 日自定义规则
+     */
+    private Integer dailyCustomRules;
+
+    /**
+     * 日抄表时间
+     */
+    private String dailyMeterReadingTime;
+
+    /**
+     * 月自动抄表
+     */
+    private Integer monthAutomaticMeterReading;
+
+    /**
+     * 月默认抄表规则
+     */
+    private Integer monthDefaultMeterReadingRules;
+
+    /**
+     * 月自定义规则
+     */
+    private Integer monthCustomRules;
+
+    /**
+     * 月抄表时间
+     */
+    private String monthMeterReadingTime;
+
+    private int delState;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public Integer getDailyAutomaticMeterReading() {
+        return dailyAutomaticMeterReading;
+    }
+
+    public void setDailyAutomaticMeterReading(Integer dailyAutomaticMeterReading) {
+        this.dailyAutomaticMeterReading = dailyAutomaticMeterReading;
+    }
+
+    public Integer getDailyDefaultMeterReadingRules() {
+        return dailyDefaultMeterReadingRules;
+    }
+
+    public void setDailyDefaultMeterReadingRules(Integer dailyDefaultMeterReadingRules) {
+        this.dailyDefaultMeterReadingRules = dailyDefaultMeterReadingRules;
+    }
+
+    public Integer getDailyCustomRules() {
+        return dailyCustomRules;
+    }
+
+    public void setDailyCustomRules(Integer dailyCustomRules) {
+        this.dailyCustomRules = dailyCustomRules;
+    }
+
+    public String getDailyMeterReadingTime() {
+        return dailyMeterReadingTime;
+    }
+
+    public void setDailyMeterReadingTime(String dailyMeterReadingTime) {
+        this.dailyMeterReadingTime = dailyMeterReadingTime;
+    }
+
+    public Integer getMonthAutomaticMeterReading() {
+        return monthAutomaticMeterReading;
+    }
+
+    public void setMonthAutomaticMeterReading(Integer monthAutomaticMeterReading) {
+        this.monthAutomaticMeterReading = monthAutomaticMeterReading;
+    }
+
+    public Integer getMonthDefaultMeterReadingRules() {
+        return monthDefaultMeterReadingRules;
+    }
+
+    public void setMonthDefaultMeterReadingRules(Integer monthDefaultMeterReadingRules) {
+        this.monthDefaultMeterReadingRules = monthDefaultMeterReadingRules;
+    }
+
+    public Integer getMonthCustomRules() {
+        return monthCustomRules;
+    }
+
+    public void setMonthCustomRules(Integer monthCustomRules) {
+        this.monthCustomRules = monthCustomRules;
+    }
+
+    public String getMonthMeterReadingTime() {
+        return monthMeterReadingTime;
+    }
+
+    public void setMonthMeterReadingTime(String monthMeterReadingTime) {
+        this.monthMeterReadingTime = monthMeterReadingTime;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 54 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/ProtocolDto.java

@@ -0,0 +1,54 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class ProtocolDto {
+
+    private long id;
+
+    private String name;
+
+    private String comment;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 112 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/QuotaSettingsDto.java

@@ -0,0 +1,112 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class QuotaSettingsDto {
+
+    private long id;
+
+    /**
+     * 类型 用电,用水,用气
+     */
+    private int type;
+
+    /**
+     * 年
+     */
+    private String year;
+
+    /**
+     * 月
+     */
+    private String month;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 实际值
+     */
+    private String actualValue;
+
+    /**
+     * 定额值
+     */
+    private String quotaValue;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getYear() {
+        return year;
+    }
+
+    public void setYear(String year) {
+        this.year = year;
+    }
+
+    public String getMonth() {
+        return month;
+    }
+
+    public void setMonth(String month) {
+        this.month = month;
+    }
+
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+
+    public String getActualValue() {
+        return actualValue;
+    }
+
+    public void setActualValue(String actualValue) {
+        this.actualValue = actualValue;
+    }
+
+    public String getQuotaValue() {
+        return quotaValue;
+    }
+
+    public void setQuotaValue(String quotaValue) {
+        this.quotaValue = quotaValue;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 27 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/SmsRecipientDto.java

@@ -0,0 +1,27 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+/**
+ * 短信接收人
+ */
+public class SmsRecipientDto {
+
+    private String name;
+
+    private String phone;
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getPhone() {
+        return phone;
+    }
+
+    public void setPhone(String phone) {
+        this.phone = phone;
+    }
+}

+ 124 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/SystemTypeDto.java

@@ -0,0 +1,124 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class SystemTypeDto {
+
+    private long id;
+
+    private String name;
+
+    private String comment;
+
+    private String typeNumber;
+
+    private long protocolId;
+
+    private String protocolName;
+
+    private long typeId;
+
+    private String typeName;
+
+    private long deviceId;
+
+    private String deviceName;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
+
+    public String getTypeNumber() {
+        return typeNumber;
+    }
+
+    public void setTypeNumber(String typeNumber) {
+        this.typeNumber = typeNumber;
+    }
+
+    public long getProtocolId() {
+        return protocolId;
+    }
+
+    public void setProtocolId(long protocolId) {
+        this.protocolId = protocolId;
+    }
+
+    public String getProtocolName() {
+        return protocolName;
+    }
+
+    public void setProtocolName(String protocolName) {
+        this.protocolName = protocolName;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public long getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(long deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public String getDeviceName() {
+        return deviceName;
+    }
+
+    public void setDeviceName(String deviceName) {
+        this.deviceName = deviceName;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 151 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/TimedTasksDto.java

@@ -0,0 +1,151 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class TimedTasksDto {
+
+    private long id;
+
+    /**
+     * cron执行表达式
+     */
+    private String cronExpression;
+
+    /**
+     * 调用的类名
+     */
+    private String className;
+
+    /**
+     *任务组名
+     */
+    private String taskGroupName;
+
+    /**
+     * 任务名
+     */
+    private String taskName;
+
+    /**
+     * 计划执行错误策略
+     */
+    private String planExecutionErrorStrategy;
+
+    /**
+     * 参数
+     */
+    private String parameter;
+
+    /**
+     * 备注
+     */
+    private String content;
+
+    /**
+     * 时间
+     */
+    private String dateTime;
+
+    /**
+     * 状态
+     */
+    private int state;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCronExpression() {
+        return cronExpression;
+    }
+
+    public void setCronExpression(String cronExpression) {
+        this.cronExpression = cronExpression;
+    }
+
+    public String getClassName() {
+        return className;
+    }
+
+    public void setClassName(String className) {
+        this.className = className;
+    }
+
+    public String getTaskGroupName() {
+        return taskGroupName;
+    }
+
+    public void setTaskGroupName(String taskGroupName) {
+        this.taskGroupName = taskGroupName;
+    }
+
+    public String getTaskName() {
+        return taskName;
+    }
+
+    public void setTaskName(String taskName) {
+        this.taskName = taskName;
+    }
+
+    public String getPlanExecutionErrorStrategy() {
+        return planExecutionErrorStrategy;
+    }
+
+    public void setPlanExecutionErrorStrategy(String planExecutionErrorStrategy) {
+        this.planExecutionErrorStrategy = planExecutionErrorStrategy;
+    }
+
+    public String getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(String parameter) {
+        this.parameter = parameter;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public String getDateTime() {
+        return dateTime;
+    }
+
+    public void setDateTime(String dateTime) {
+        this.dateTime = dateTime;
+    }
+
+    public int getState() {
+        return state;
+    }
+
+    public void setState(int state) {
+        this.state = state;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 140 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/dto/TotalStartStopDto.java

@@ -0,0 +1,140 @@
+package com.bosshand.virgo.api.test.controller.dto;
+
+public class TotalStartStopDto {
+    /**
+     * 序号
+     */
+    private long id;
+
+    /**
+     * 设备类型
+     */
+    private String typeName;
+
+    /**
+     * 设备类型Id
+     */
+    private long typeId;
+
+    /**
+     * 设备名称
+     */
+    private String deviceName;
+
+    /**
+     * 设备Id
+     */
+    private long deviceId;
+
+    /**
+     * 累计开启次数
+     */
+    private int number;
+
+    /**
+     * 累计运行时间(h)
+     */
+    private String runTime;
+
+    /**
+     * 设备状态
+     */
+    private Integer state;
+
+    /**
+     * 是否有效
+     */
+    private Integer available;
+
+    private int currPage;
+
+    private int pageSize;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getDeviceName() {
+        return deviceName;
+    }
+
+    public void setDeviceName(String deviceName) {
+        this.deviceName = deviceName;
+    }
+
+    public long getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(long deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public int getNumber() {
+        return number;
+    }
+
+    public void setNumber(int number) {
+        this.number = number;
+    }
+
+    public String getRunTime() {
+        return runTime;
+    }
+
+    public void setRunTime(String runTime) {
+        this.runTime = runTime;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
+
+    public Integer getAvailable() {
+        return available;
+    }
+
+    public void setAvailable(Integer available) {
+        this.available = available;
+    }
+
+    public int getCurrPage() {
+        return currPage;
+    }
+
+    public void setCurrPage(int currPage) {
+        this.currPage = currPage;
+    }
+
+    public int getPageSize() {
+        return pageSize;
+    }
+
+    public void setPageSize(int pageSize) {
+        this.pageSize = pageSize;
+    }
+}

+ 144 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/AirConditioningUnitsStrategyView.java

@@ -0,0 +1,144 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class AirConditioningUnitsStrategyView {
+
+    private long id;
+
+    /**
+     * 类型
+     */
+    private int type;
+
+    /**
+     * 策略名称
+     */
+    private String name;
+
+    /**
+     * 是否默认策略
+     */
+    private Integer defaultStrategy;
+
+    /**
+     * 回风阀开度
+     */
+    private String returnAirValve;
+
+    /**
+     * 新风阀开度
+     */
+    private String freshAirValve;
+
+    /**
+     * 水阀开度
+     */
+    private String waterValve;
+
+    /**
+     * 回风温度偏差值
+     */
+    private String returnAirDeviation;
+
+    /**
+     * 送风温度设定值
+     */
+    private String supplyAirSetting;
+
+    /**
+     * 送风温度偏差值
+     */
+    private String supplyAirDeviation;
+
+    /**
+     * CO2设定值
+     */
+    private String cO2Setting;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public Integer getDefaultStrategy() {
+        return defaultStrategy;
+    }
+
+    public void setDefaultStrategy(Integer defaultStrategy) {
+        this.defaultStrategy = defaultStrategy;
+    }
+
+    public String getReturnAirValve() {
+        return returnAirValve;
+    }
+
+    public void setReturnAirValve(String returnAirValve) {
+        this.returnAirValve = returnAirValve;
+    }
+
+    public String getFreshAirValve() {
+        return freshAirValve;
+    }
+
+    public void setFreshAirValve(String freshAirValve) {
+        this.freshAirValve = freshAirValve;
+    }
+
+    public String getWaterValve() {
+        return waterValve;
+    }
+
+    public void setWaterValve(String waterValve) {
+        this.waterValve = waterValve;
+    }
+
+    public String getReturnAirDeviation() {
+        return returnAirDeviation;
+    }
+
+    public void setReturnAirDeviation(String returnAirDeviation) {
+        this.returnAirDeviation = returnAirDeviation;
+    }
+
+    public String getSupplyAirSetting() {
+        return supplyAirSetting;
+    }
+
+    public void setSupplyAirSetting(String supplyAirSetting) {
+        this.supplyAirSetting = supplyAirSetting;
+    }
+
+    public String getSupplyAirDeviation() {
+        return supplyAirDeviation;
+    }
+
+    public void setSupplyAirDeviation(String supplyAirDeviation) {
+        this.supplyAirDeviation = supplyAirDeviation;
+    }
+
+    public String getcO2Setting() {
+        return cO2Setting;
+    }
+
+    public void setcO2Setting(String cO2Setting) {
+        this.cO2Setting = cO2Setting;
+    }
+}

+ 59 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/AlarmSettingsView.java

@@ -0,0 +1,59 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+
+import com.bosshand.virgo.api.test.controller.dto.AlarmParameterDto;
+import com.bosshand.virgo.api.test.controller.dto.SmsRecipientDto;
+
+import java.util.List;
+
+public class AlarmSettingsView {
+
+    private long id;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 参数
+     */
+    private List<AlarmParameterDto> parameters;
+
+    /**
+     * 短信接收人
+     */
+    private List<SmsRecipientDto> smsRecipient;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public List<AlarmParameterDto> getParameters() {
+        return parameters;
+    }
+
+    public void setParameters(List<AlarmParameterDto> parameters) {
+        this.parameters = parameters;
+    }
+
+    public List<SmsRecipientDto> getSmsRecipient() {
+        return smsRecipient;
+    }
+
+    public void setSmsRecipient(List<SmsRecipientDto> smsRecipient) {
+        this.smsRecipient = smsRecipient;
+    }
+}

+ 131 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/ChillerRoomStrategyView.java

@@ -0,0 +1,131 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class ChillerRoomStrategyView {
+
+    private long id;
+
+    /**
+     * 冷却塔温度设定低值
+     */
+    private String coolingTowerLowValue;
+
+    /**
+     * 冷却塔温度设定高值
+     */
+    private String coolingTowerHighValue;
+
+    /**
+     * 冷却塔状态
+     */
+    private int coolingTowerState;
+
+    /**
+     * 冷冻水泵温度设定低值
+     */
+    private String chilledWaterPumpLowValue;
+
+    /**
+     * 冷冻水泵温度设定高值
+     */
+    private String chilledWaterPumpHighValue;
+
+    /**
+     * 冷冻水泵状态
+     */
+    private int chilledWaterPumpState;
+
+    /**
+     * 冷却水泵温度设定低值
+     */
+    private String coolingWaterPumpLowValue;
+
+    /**
+     * 冷却水泵温度设定高值
+     */
+    private String coolingWaterPumpHighValue;
+
+    /**
+     * 冷却水泵状态
+     */
+    private int coolingWaterPumpState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCoolingTowerLowValue() {
+        return coolingTowerLowValue;
+    }
+
+    public void setCoolingTowerLowValue(String coolingTowerLowValue) {
+        this.coolingTowerLowValue = coolingTowerLowValue;
+    }
+
+    public String getCoolingTowerHighValue() {
+        return coolingTowerHighValue;
+    }
+
+    public void setCoolingTowerHighValue(String coolingTowerHighValue) {
+        this.coolingTowerHighValue = coolingTowerHighValue;
+    }
+
+    public int getCoolingTowerState() {
+        return coolingTowerState;
+    }
+
+    public void setCoolingTowerState(int coolingTowerState) {
+        this.coolingTowerState = coolingTowerState;
+    }
+
+    public String getChilledWaterPumpLowValue() {
+        return chilledWaterPumpLowValue;
+    }
+
+    public void setChilledWaterPumpLowValue(String chilledWaterPumpLowValue) {
+        this.chilledWaterPumpLowValue = chilledWaterPumpLowValue;
+    }
+
+    public String getChilledWaterPumpHighValue() {
+        return chilledWaterPumpHighValue;
+    }
+
+    public void setChilledWaterPumpHighValue(String chilledWaterPumpHighValue) {
+        this.chilledWaterPumpHighValue = chilledWaterPumpHighValue;
+    }
+
+    public int getChilledWaterPumpState() {
+        return chilledWaterPumpState;
+    }
+
+    public void setChilledWaterPumpState(int chilledWaterPumpState) {
+        this.chilledWaterPumpState = chilledWaterPumpState;
+    }
+
+    public String getCoolingWaterPumpLowValue() {
+        return coolingWaterPumpLowValue;
+    }
+
+    public void setCoolingWaterPumpLowValue(String coolingWaterPumpLowValue) {
+        this.coolingWaterPumpLowValue = coolingWaterPumpLowValue;
+    }
+
+    public String getCoolingWaterPumpHighValue() {
+        return coolingWaterPumpHighValue;
+    }
+
+    public void setCoolingWaterPumpHighValue(String coolingWaterPumpHighValue) {
+        this.coolingWaterPumpHighValue = coolingWaterPumpHighValue;
+    }
+
+    public int getCoolingWaterPumpState() {
+        return coolingWaterPumpState;
+    }
+
+    public void setCoolingWaterPumpState(int coolingWaterPumpState) {
+        this.coolingWaterPumpState = coolingWaterPumpState;
+    }
+}

+ 79 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/ColdStartStopStrategyView.java

@@ -0,0 +1,79 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class ColdStartStopStrategyView {
+
+    private long  id;
+
+    /**
+     * 冷却水泵数量
+     */
+    private int coolingWaterPumpNumber;
+
+    /**
+     * 冷却水泵(变频)数量
+     */
+    private int coolingWaterPumpChangeNumber;
+
+    /**
+     * 冷却塔数量
+     */
+    private int coolingTowerNumber;
+
+    /**
+     * 冷却机组数量
+     */
+    private int coolingUnitNumber;
+
+    /**
+     * 是否启用自定义设置
+     */
+    private Integer customSettings;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getCoolingWaterPumpNumber() {
+        return coolingWaterPumpNumber;
+    }
+
+    public void setCoolingWaterPumpNumber(int coolingWaterPumpNumber) {
+        this.coolingWaterPumpNumber = coolingWaterPumpNumber;
+    }
+
+    public int getCoolingWaterPumpChangeNumber() {
+        return coolingWaterPumpChangeNumber;
+    }
+
+    public void setCoolingWaterPumpChangeNumber(int coolingWaterPumpChangeNumber) {
+        this.coolingWaterPumpChangeNumber = coolingWaterPumpChangeNumber;
+    }
+
+    public int getCoolingTowerNumber() {
+        return coolingTowerNumber;
+    }
+
+    public void setCoolingTowerNumber(int coolingTowerNumber) {
+        this.coolingTowerNumber = coolingTowerNumber;
+    }
+
+    public int getCoolingUnitNumber() {
+        return coolingUnitNumber;
+    }
+
+    public void setCoolingUnitNumber(int coolingUnitNumber) {
+        this.coolingUnitNumber = coolingUnitNumber;
+    }
+
+    public Integer getCustomSettings() {
+        return customSettings;
+    }
+
+    public void setCustomSettings(Integer customSettings) {
+        this.customSettings = customSettings;
+    }
+}

+ 53 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/CollectionAnalysisView.java

@@ -0,0 +1,53 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class CollectionAnalysisView {
+
+    private long id;
+
+    /**
+     * 命令名称
+     */
+    private String commandName;
+
+    /**
+     * 定时任务名称
+     */
+    private String timedTaskName;
+
+    /**
+     * 解析名称
+     */
+    private String resolveName;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCommandName() {
+        return commandName;
+    }
+
+    public void setCommandName(String commandName) {
+        this.commandName = commandName;
+    }
+
+    public String getTimedTaskName() {
+        return timedTaskName;
+    }
+
+    public void setTimedTaskName(String timedTaskName) {
+        this.timedTaskName = timedTaskName;
+    }
+
+    public String getResolveName() {
+        return resolveName;
+    }
+
+    public void setResolveName(String resolveName) {
+        this.resolveName = resolveName;
+    }
+}

+ 92 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/CommandManagementView.java

@@ -0,0 +1,92 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class CommandManagementView {
+
+    private long id;
+
+    /**
+     * 协议名
+     */
+    private String typeName;
+
+    /**
+     * 命令名称
+     */
+    private String name;
+
+    /**
+     * 命令说明
+     */
+    private String illustrate;
+
+    /**
+     * 命令内容
+     */
+    private String content;
+
+    /**
+     * 采集长度
+     */
+    private String collectionLength;
+
+    /**
+     * 采集分类
+     */
+    private String collectionSort;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getIllustrate() {
+        return illustrate;
+    }
+
+    public void setIllustrate(String illustrate) {
+        this.illustrate = illustrate;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public String getCollectionLength() {
+        return collectionLength;
+    }
+
+    public void setCollectionLength(String collectionLength) {
+        this.collectionLength = collectionLength;
+    }
+
+    public String getCollectionSort() {
+        return collectionSort;
+    }
+
+    public void setCollectionSort(String collectionSort) {
+        this.collectionSort = collectionSort;
+    }
+}

+ 60 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/DeviceParameterView.java

@@ -0,0 +1,60 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class DeviceParameterView {
+
+    private long id;
+
+    private long typeId;
+
+    private String typeName;
+
+    /**
+     * 运行参数
+     */
+    private String runParameter;
+
+    /**
+     * 设备参数
+     */
+    private String deviceParameter;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public String getRunParameter() {
+        return runParameter;
+    }
+
+    public void setRunParameter(String runParameter) {
+        this.runParameter = runParameter;
+    }
+
+    public String getDeviceParameter() {
+        return deviceParameter;
+    }
+
+    public void setDeviceParameter(String deviceParameter) {
+        this.deviceParameter = deviceParameter;
+    }
+}

+ 40 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/HardwareParameterView.java

@@ -0,0 +1,40 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class HardwareParameterView {
+
+    private long id;
+
+    /**
+     * 设备id
+     */
+    private String hardwareId;
+
+    /**
+     * 设备参数
+     */
+    private String parameter;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getHardwareId() {
+        return hardwareId;
+    }
+
+    public void setHardwareId(String hardwareId) {
+        this.hardwareId = hardwareId;
+    }
+
+    public String getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(String parameter) {
+        this.parameter = parameter;
+    }
+}

+ 131 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/MeterReadingSettingsView.java

@@ -0,0 +1,131 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class MeterReadingSettingsView {
+
+    private long id;
+
+    /**
+     * 用水,用电,用气,供暖
+     */
+    private int type;
+
+    /**
+     * 日自动抄表
+     */
+    private Integer dailyAutomaticMeterReading;
+
+    /**
+     * 日默认抄表规则
+     */
+    private Integer dailyDefaultMeterReadingRules;
+
+    /**
+     * 日自定义规则
+     */
+    private Integer dailyCustomRules;
+
+    /**
+     * 日抄表时间
+     */
+    private String dailyMeterReadingTime;
+
+    /**
+     * 月自动抄表
+     */
+    private Integer monthAutomaticMeterReading;
+
+    /**
+     * 月默认抄表规则
+     */
+    private Integer monthDefaultMeterReadingRules;
+
+    /**
+     * 月自定义规则
+     */
+    private Integer monthCustomRules;
+
+    /**
+     * 月抄表时间
+     */
+    private String monthMeterReadingTime;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public Integer getDailyAutomaticMeterReading() {
+        return dailyAutomaticMeterReading;
+    }
+
+    public void setDailyAutomaticMeterReading(Integer dailyAutomaticMeterReading) {
+        this.dailyAutomaticMeterReading = dailyAutomaticMeterReading;
+    }
+
+    public Integer getDailyDefaultMeterReadingRules() {
+        return dailyDefaultMeterReadingRules;
+    }
+
+    public void setDailyDefaultMeterReadingRules(Integer dailyDefaultMeterReadingRules) {
+        this.dailyDefaultMeterReadingRules = dailyDefaultMeterReadingRules;
+    }
+
+    public Integer getDailyCustomRules() {
+        return dailyCustomRules;
+    }
+
+    public void setDailyCustomRules(Integer dailyCustomRules) {
+        this.dailyCustomRules = dailyCustomRules;
+    }
+
+    public String getDailyMeterReadingTime() {
+        return dailyMeterReadingTime;
+    }
+
+    public void setDailyMeterReadingTime(String dailyMeterReadingTime) {
+        this.dailyMeterReadingTime = dailyMeterReadingTime;
+    }
+
+    public Integer getMonthAutomaticMeterReading() {
+        return monthAutomaticMeterReading;
+    }
+
+    public void setMonthAutomaticMeterReading(Integer monthAutomaticMeterReading) {
+        this.monthAutomaticMeterReading = monthAutomaticMeterReading;
+    }
+
+    public Integer getMonthDefaultMeterReadingRules() {
+        return monthDefaultMeterReadingRules;
+    }
+
+    public void setMonthDefaultMeterReadingRules(Integer monthDefaultMeterReadingRules) {
+        this.monthDefaultMeterReadingRules = monthDefaultMeterReadingRules;
+    }
+
+    public Integer getMonthCustomRules() {
+        return monthCustomRules;
+    }
+
+    public void setMonthCustomRules(Integer monthCustomRules) {
+        this.monthCustomRules = monthCustomRules;
+    }
+
+    public String getMonthMeterReadingTime() {
+        return monthMeterReadingTime;
+    }
+
+    public void setMonthMeterReadingTime(String monthMeterReadingTime) {
+        this.monthMeterReadingTime = monthMeterReadingTime;
+    }
+}

+ 34 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/ProtocolView.java

@@ -0,0 +1,34 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class ProtocolView {
+
+    private long id;
+
+    private String name;
+
+    private String comment;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
+}

+ 92 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/QuotaSettingsView.java

@@ -0,0 +1,92 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class QuotaSettingsView {
+
+    private long id;
+
+    /**
+     * 类型 用电,用水,用气
+     */
+    private int type;
+
+    /**
+     * 年
+     */
+    private String year;
+
+    /**
+     * 月
+     */
+    private String month;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 实际值
+     */
+    private String actualValue;
+
+    /**
+     * 定额值
+     */
+    private String quotaValue;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getYear() {
+        return year;
+    }
+
+    public void setYear(String year) {
+        this.year = year;
+    }
+
+    public String getMonth() {
+        return month;
+    }
+
+    public void setMonth(String month) {
+        this.month = month;
+    }
+
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+
+    public String getActualValue() {
+        return actualValue;
+    }
+
+    public void setActualValue(String actualValue) {
+        this.actualValue = actualValue;
+    }
+
+    public String getQuotaValue() {
+        return quotaValue;
+    }
+
+    public void setQuotaValue(String quotaValue) {
+        this.quotaValue = quotaValue;
+    }
+}

+ 103 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/SystemTypeView.java

@@ -0,0 +1,103 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class SystemTypeView {
+    private long id;
+
+    private String name;
+
+    private String comment;
+
+    private String typeNumber;
+
+    private long protocolId;
+
+    private String protocolName;
+
+    private long typeId;
+
+    private String typeName;
+
+    private long deviceId;
+
+    private String deviceName;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
+
+    public String getTypeNumber() {
+        return typeNumber;
+    }
+
+    public void setTypeNumber(String typeNumber) {
+        this.typeNumber = typeNumber;
+    }
+
+    public long getProtocolId() {
+        return protocolId;
+    }
+
+    public void setProtocolId(long protocolId) {
+        this.protocolId = protocolId;
+    }
+
+    public String getProtocolName() {
+        return protocolName;
+    }
+
+    public void setProtocolName(String protocolName) {
+        this.protocolName = protocolName;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public long getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(long deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public String getDeviceName() {
+        return deviceName;
+    }
+
+    public void setDeviceName(String deviceName) {
+        this.deviceName = deviceName;
+    }
+}

+ 131 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/TimedTasksView.java

@@ -0,0 +1,131 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class TimedTasksView {
+
+    private long id;
+
+    /**
+     * cron执行表达式
+     */
+    private String cronExpression;
+
+    /**
+     * 调用的类名
+     */
+    private String className;
+
+    /**
+     *任务组名
+     */
+    private String taskGroupName;
+
+    /**
+     * 任务名
+     */
+    private String taskName;
+
+    /**
+     * 计划执行错误策略
+     */
+    private String planExecutionErrorStrategy;
+
+    /**
+     * 参数
+     */
+    private String parameter;
+
+    /**
+     * 备注
+     */
+    private String content;
+
+    /**
+     * 时间
+     */
+    private String dateTime;
+
+    /**
+     * 状态
+     */
+    private int state;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCronExpression() {
+        return cronExpression;
+    }
+
+    public void setCronExpression(String cronExpression) {
+        this.cronExpression = cronExpression;
+    }
+
+    public String getClassName() {
+        return className;
+    }
+
+    public void setClassName(String className) {
+        this.className = className;
+    }
+
+    public String getTaskGroupName() {
+        return taskGroupName;
+    }
+
+    public void setTaskGroupName(String taskGroupName) {
+        this.taskGroupName = taskGroupName;
+    }
+
+    public String getTaskName() {
+        return taskName;
+    }
+
+    public void setTaskName(String taskName) {
+        this.taskName = taskName;
+    }
+
+    public String getPlanExecutionErrorStrategy() {
+        return planExecutionErrorStrategy;
+    }
+
+    public void setPlanExecutionErrorStrategy(String planExecutionErrorStrategy) {
+        this.planExecutionErrorStrategy = planExecutionErrorStrategy;
+    }
+
+    public String getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(String parameter) {
+        this.parameter = parameter;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public String getDateTime() {
+        return dateTime;
+    }
+
+    public void setDateTime(String dateTime) {
+        this.dateTime = dateTime;
+    }
+
+    public int getState() {
+        return state;
+    }
+
+    public void setState(int state) {
+        this.state = state;
+    }
+}

+ 121 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/controller/view/TotalStartStopView.java

@@ -0,0 +1,121 @@
+package com.bosshand.virgo.api.test.controller.view;
+
+public class TotalStartStopView {
+
+    /**
+     * 序号
+     */
+    private long id;
+
+    /**
+     * 设备类型
+     */
+    private String typeName;
+
+    /**
+     * 设备类型Id
+     */
+    private long typeId;
+
+    /**
+     * 设备名称
+     */
+    private String deviceName;
+
+    /**
+     * 设备Id
+     */
+    private long deviceId;
+
+    /**
+     * 累计开启次数
+     */
+    private int number;
+
+    /**
+     * 累计运行时间(h)
+     */
+    private String runTime;
+
+    /**
+     * 设备状态
+     */
+    private Integer state;
+
+    /**
+     * 是否有效
+     */
+    private Integer available;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getDeviceName() {
+        return deviceName;
+    }
+
+    public void setDeviceName(String deviceName) {
+        this.deviceName = deviceName;
+    }
+
+    public long getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(long deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public int getNumber() {
+        return number;
+    }
+
+    public void setNumber(int number) {
+        this.number = number;
+    }
+
+    public String getRunTime() {
+        return runTime;
+    }
+
+    public void setRunTime(String runTime) {
+        this.runTime = runTime;
+    }
+
+    public Integer getState() {
+        return state;
+    }
+
+    public void setState(Integer state) {
+        this.state = state;
+    }
+
+    public Integer getAvailable() {
+        return available;
+    }
+
+    public void setAvailable(Integer available) {
+        this.available = available;
+    }
+}

+ 17 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AccessControlDao.java

@@ -0,0 +1,17 @@
+package com.bosshand.virgo.api.test.dao;
+
+
+import com.bosshand.virgo.api.test.model.AccessControl;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface AccessControlDao {
+
+    List<AccessControl> get(AccessControl a);
+
+    void save(AccessControl a);
+
+    List<AccessControl> getList();
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AirConditioningUnitsStrategyDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.AirConditioningUnitsStrategy;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface AirConditioningUnitsStrategyDao {
+
+    int save(AirConditioningUnitsStrategy data);
+
+    int update(AirConditioningUnitsStrategy data);
+
+    List<AirConditioningUnitsStrategy> get( @Param(value = "data") AirConditioningUnitsStrategy data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(AirConditioningUnitsStrategy data);
+}

+ 20 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AirDao.java

@@ -0,0 +1,20 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Air;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface AirDao {
+
+    int save(Air a);
+
+    Air get(long id);
+
+    int getTotalCount(Air a);
+
+    List<Air> limit(@Param("od") Air od, @Param("currIndex") int currIndex, @Param("pageSize") int pageSize);
+
+}

+ 21 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/AlarmSettingsDao.java

@@ -0,0 +1,21 @@
+package com.bosshand.virgo.api.test.dao;
+
+
+import com.bosshand.virgo.api.test.model.AlarmSettings;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface AlarmSettingsDao {
+
+    int save(AlarmSettings data);
+
+    int update(AlarmSettings data);
+
+    List<AlarmSettings> get(@Param(value = "data") AlarmSettings data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(AlarmSettings data);
+
+}

+ 16 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CallAlarmDao.java

@@ -0,0 +1,16 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.CallAlarm;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface CallAlarmDao {
+
+    List<CallAlarm> get(CallAlarm e);
+
+    void save(CallAlarm e);
+
+    List<CallAlarm> getProjectId(long projectId);
+}

+ 22 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CameraDao.java

@@ -0,0 +1,22 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Camera;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface CameraDao {
+
+    int save(Camera a);
+
+    int update(Camera a);
+
+    Camera get(long id);
+
+    int getTotalCount(Camera a);
+
+    List<Camera> limit(@Param("od") Camera od, @Param("currIndex") int currIndex, @Param("pageSize") int pageSize);
+
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ChillerRoomStrategyDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.ChillerRoomStrategy;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface ChillerRoomStrategyDao {
+
+    int save(ChillerRoomStrategy data);
+
+    int update(ChillerRoomStrategy data);
+
+    List<ChillerRoomStrategy> get(@Param(value = "data") ChillerRoomStrategy data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(ChillerRoomStrategy data);
+}

+ 21 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ClockInDao.java

@@ -0,0 +1,21 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.ClockIn;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface ClockInDao {
+
+    List<ClockIn> get(ClockIn d);
+
+    void save(ClockIn d);
+
+    int getPointIds(List<Long> pointIds);
+
+    int getTodayPointIds(List<Long> pointIds);
+
+    int getDistinctPointIds(List<Long> pointIds);
+
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ColdStartStopStrategyDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.ColdStartStopStrategy;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface ColdStartStopStrategyDao {
+
+    int save(ColdStartStopStrategy data);
+
+    int update(ColdStartStopStrategy data);
+
+    List<ColdStartStopStrategy> get(@Param(value = "data") ColdStartStopStrategy data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(ColdStartStopStrategy data);
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CollectionAnalysisDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.CollectionAnalysis;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface CollectionAnalysisDao {
+
+    int save(CollectionAnalysis data);
+
+    int update(CollectionAnalysis data);
+
+    List<CollectionAnalysis> get(@Param(value = "data") CollectionAnalysis data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(CollectionAnalysis data);
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/CommandManagementDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.CommandManagement;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface CommandManagementDao {
+
+    int save(CommandManagement data);
+
+    int update(CommandManagement data);
+
+    List<CommandManagement> get(@Param(value = "data") CommandManagement data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(CommandManagement data);
+}

+ 15 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/DangerDao.java

@@ -0,0 +1,15 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Danger;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface DangerDao {
+
+    List<Danger> get(Danger n);
+
+    void save(Danger n);
+
+}

+ 20 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/DeviceParameterDao.java

@@ -0,0 +1,20 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.DeviceParameter;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface DeviceParameterDao {
+
+    int save(DeviceParameter data);
+
+    int update(DeviceParameter data);
+
+    List<DeviceParameter> get(@Param(value = "data") DeviceParameter data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(DeviceParameter data);
+
+}

+ 14 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ElectronicPatrolDao.java

@@ -0,0 +1,14 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.ElectronicPatrol;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface ElectronicPatrolDao {
+
+    List<ElectronicPatrol> get(ElectronicPatrol j);
+
+    void save(ElectronicPatrol j);
+}

+ 15 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/EmergencyDao.java

@@ -0,0 +1,15 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Emergency;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface EmergencyDao {
+
+    List<Emergency> get(Emergency o);
+
+    void save(Emergency o);
+
+}

+ 15 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/EnergyAnalysisDao.java

@@ -0,0 +1,15 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.EnergyAnalysis;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface EnergyAnalysisDao {
+
+    List<EnergyAnalysis> get(EnergyAnalysis i);
+
+    void save(EnergyAnalysis i);
+
+}

+ 15 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/FireFightingDao.java

@@ -0,0 +1,15 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.FireFighting;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface FireFightingDao {
+
+    List<FireFighting> get(FireFighting k);
+
+    void save(FireFighting k);
+
+}

+ 14 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/GiveAlarmDao.java

@@ -0,0 +1,14 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.GiveAlarm;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface GiveAlarmDao {
+
+    List<GiveAlarm> get(GiveAlarm b);
+
+    void save(GiveAlarm b);
+}

+ 18 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/HardwareParameterDao.java

@@ -0,0 +1,18 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.HardwareParameter;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface HardwareParameterDao {
+    int save(HardwareParameter data);
+
+    int update(HardwareParameter data);
+
+    List<HardwareParameter> get(@Param(value = "data") HardwareParameter data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(HardwareParameter data);
+}

+ 20 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/MeterReadingSettingsDao.java

@@ -0,0 +1,20 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.MeterReadingSettings;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface MeterReadingSettingsDao {
+
+    int save(MeterReadingSettings data);
+
+    int update(MeterReadingSettings data);
+
+    List<MeterReadingSettings> get(@Param(value = "data") MeterReadingSettings data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(MeterReadingSettings data);
+
+}

+ 20 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/ProtocolDao.java

@@ -0,0 +1,20 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Protocol;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface ProtocolDao {
+
+    int save(Protocol data);
+
+    int update(Protocol data);
+
+    List<Protocol> get(@Param(value = "data") Protocol data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(Protocol data);
+
+}

+ 20 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/QuotaSettingsDao.java

@@ -0,0 +1,20 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.QuotaSettings;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface QuotaSettingsDao {
+
+    int save(QuotaSettings data);
+
+    int update(QuotaSettings data);
+
+    List<QuotaSettings> get(@Param(value = "data") QuotaSettings data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(QuotaSettings data);
+
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/RegionDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Region;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface RegionDao {
+
+    List<Region> get(Region f);
+
+    Region getId(long id);
+
+    void save(Region f);
+
+    void update(Region f);
+
+}

+ 16 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/RoutesDao.java

@@ -0,0 +1,16 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Routes;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface RoutesDao {
+
+    List<Routes> get(Routes g);
+
+    void save(Routes d);
+
+    List<Routes> getProjectId(long projectId);
+}

+ 14 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/RoutesPointDao.java

@@ -0,0 +1,14 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.RoutesPoint;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface RoutesPointDao {
+
+    List<RoutesPoint> get(RoutesPoint h);
+
+    void save(RoutesPoint h);
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/SystemTypeDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.SystemType;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface SystemTypeDao {
+
+    int save(SystemType data);
+
+    int update(SystemType data);
+
+    List<SystemType> get(@Param(value = "data") SystemType data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(SystemType data);
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/TimedTasksDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.TimedTasks;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface TimedTasksDao {
+
+    int save(TimedTasks data);
+
+    int update(TimedTasks data);
+
+    List<TimedTasks> get(@Param(value = "data") TimedTasks data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(TimedTasks data);
+}

+ 19 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/TotalStartStopDao.java

@@ -0,0 +1,19 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.TotalStartStop;
+import org.apache.ibatis.annotations.Mapper;
+import org.apache.ibatis.annotations.Param;
+
+import java.util.List;
+
+@Mapper
+public interface TotalStartStopDao {
+
+    int save(TotalStartStop data);
+
+    int update(TotalStartStop data);
+
+    List<TotalStartStop> get(@Param(value = "data") TotalStartStop data, @Param(value = "currIndex") int currIndex, @Param(value = "pageSize") int pageSize);
+
+    int count(TotalStartStop data);
+}

+ 14 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/dao/VehicleDao.java

@@ -0,0 +1,14 @@
+package com.bosshand.virgo.api.test.dao;
+
+import com.bosshand.virgo.api.test.model.Vehicle;
+import org.apache.ibatis.annotations.Mapper;
+
+import java.util.List;
+
+@Mapper
+public interface VehicleDao {
+
+    List<Vehicle> get(Vehicle c);
+
+    void save(Vehicle c);
+}

+ 128 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/AccessControl.java

@@ -0,0 +1,128 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+ * 模拟门禁
+ */
+public class AccessControl {
+
+    private long id;
+    private long projectId;
+    private long projectItemId;
+    private long organizationId;
+    private String organizationName;
+    private long userId;
+    private String userName;
+    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
+    private String date;
+    private int type;
+    private int isT;
+    private long gateId;
+    private String gateName;
+    private String gateAvatar;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public String getOrganizationName() {
+        return organizationName;
+    }
+
+    public void setOrganizationName(String organizationName) {
+        this.organizationName = organizationName;
+    }
+
+    public long getUserId() {
+        return userId;
+    }
+
+    public void setUserId(long userId) {
+        this.userId = userId;
+    }
+
+    public String getUserName() {
+        return userName;
+    }
+
+    public void setUserName(String userName) {
+        this.userName = userName;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public void setDate(String date) {
+        this.date = date;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public int getIsT() {
+        return isT;
+    }
+
+    public void setIsT(int isT) {
+        this.isT = isT;
+    }
+
+    public long getGateId() {
+        return gateId;
+    }
+
+    public void setGateId(long gateId) {
+        this.gateId = gateId;
+    }
+
+    public String getGateName() {
+        return gateName;
+    }
+
+    public void setGateName(String gateName) {
+        this.gateName = gateName;
+    }
+
+    public String getGateAvatar() {
+        return gateAvatar;
+    }
+
+    public void setGateAvatar(String gateAvatar) {
+        this.gateAvatar = gateAvatar;
+    }
+}

+ 64 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Air.java

@@ -0,0 +1,64 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.util.Date;
+
+/**
+ * 模拟空气检测
+ */
+public class Air {
+
+    private long id;
+    private long organizationId;
+    private long projectId;
+    private long projectItemId;
+    private long projectItemTargetId;
+    private long projectItemTargetRoomId;
+    /**
+     * 时间
+     */
+    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date date;
+
+    /**
+     * 设备id
+     */
+    private long deviceId;
+
+    //--------------模拟设备数据-----------------
+
+    /**
+     * 温度(°C)
+     */
+    private String temperature;
+
+    /**
+     * 湿度(%)
+     */
+    private String humidity;
+
+    /**
+     * co2(ppm)
+     */
+    private String co2;
+
+    /**
+     * Tvoc(ppm)
+     */
+    private String tVoc;
+
+    /**
+     * PM2.5(ug/m3)
+     */
+    private String pm25;
+
+    /**
+     * PM10(ug/m3)
+     */
+    private String pm10;
+
+
+
+
+}

+ 158 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/AirConditioningUnitsStrategy.java

@@ -0,0 +1,158 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 末端组合式空调机组控制策略  type1
+ * 末端吊顶式空调机组控制策略  type2
+ */
+public class AirConditioningUnitsStrategy {
+
+    private long id;
+
+    /**
+     * 类型
+     */
+    private int type;
+
+    /**
+     * 策略名称
+     */
+    private String name;
+
+    /**
+     * 是否默认策略
+     */
+    private Integer defaultStrategy;
+
+    /**
+     * 回风阀开度
+     */
+    private String returnAirValve;
+
+    /**
+     * 新风阀开度
+     */
+    private String freshAirValve;
+
+    /**
+     * 水阀开度
+     */
+    private String waterValve;
+
+    /**
+     * 回风温度偏差值
+     */
+    private String returnAirDeviation;
+
+    /**
+     * 送风温度设定值
+     */
+    private String supplyAirSetting;
+
+    /**
+     * 送风温度偏差值
+     */
+    private String supplyAirDeviation;
+
+    /**
+     * CO2设定值
+     */
+    private String cO2Setting;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public Integer getDefaultStrategy() {
+        return defaultStrategy;
+    }
+
+    public void setDefaultStrategy(Integer defaultStrategy) {
+        this.defaultStrategy = defaultStrategy;
+    }
+
+    public String getReturnAirValve() {
+        return returnAirValve;
+    }
+
+    public void setReturnAirValve(String returnAirValve) {
+        this.returnAirValve = returnAirValve;
+    }
+
+    public String getFreshAirValve() {
+        return freshAirValve;
+    }
+
+    public void setFreshAirValve(String freshAirValve) {
+        this.freshAirValve = freshAirValve;
+    }
+
+    public String getWaterValve() {
+        return waterValve;
+    }
+
+    public void setWaterValve(String waterValve) {
+        this.waterValve = waterValve;
+    }
+
+    public String getReturnAirDeviation() {
+        return returnAirDeviation;
+    }
+
+    public void setReturnAirDeviation(String returnAirDeviation) {
+        this.returnAirDeviation = returnAirDeviation;
+    }
+
+    public String getSupplyAirSetting() {
+        return supplyAirSetting;
+    }
+
+    public void setSupplyAirSetting(String supplyAirSetting) {
+        this.supplyAirSetting = supplyAirSetting;
+    }
+
+    public String getSupplyAirDeviation() {
+        return supplyAirDeviation;
+    }
+
+    public void setSupplyAirDeviation(String supplyAirDeviation) {
+        this.supplyAirDeviation = supplyAirDeviation;
+    }
+
+    public String getcO2Setting() {
+        return cO2Setting;
+    }
+
+    public void setcO2Setting(String cO2Setting) {
+        this.cO2Setting = cO2Setting;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 67 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/AlarmSettings.java

@@ -0,0 +1,67 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 告警设置
+ */
+public class AlarmSettings {
+
+    private long id;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 参数
+     */
+    private String parameter;
+
+
+    /**
+     * 短信接收人
+     */
+    private String smsRecipient;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(String parameter) {
+        this.parameter = parameter;
+    }
+
+    public String getSmsRecipient() {
+        return smsRecipient;
+    }
+
+    public void setSmsRecipient(String smsRecipient) {
+        this.smsRecipient = smsRecipient;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 228 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/CallAlarm.java

@@ -0,0 +1,228 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+ * 模拟设备告警
+ */
+public class CallAlarm {
+
+    private long id;
+    private long organizationId;
+    private long projectId;
+    private long projectItemId;
+    private long projectItemTargetId;
+    private long projectItemTargetRoomId;
+    private String startDate;
+    private String endDate;
+    /**
+     * 告警名称
+     */
+    private String name;
+    /**
+     * 告警级别 1、一般 2、重大 3、紧急
+     */
+    private int alarmLevel;
+    /**
+     * 累计次数
+     */
+    private int number;
+    /**
+     * 设备id
+     */
+    private long deviceId;
+    /**
+     * 设备名称
+     */
+    private String deviceName;
+    /**
+     * 告警时间
+     */
+    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
+    private String date;
+    /**
+     * 告警内容
+     */
+    private String info;
+    /**
+     * 告警参数
+     */
+    private String alarmParameter;
+    /**
+     * 当前值
+     */
+    private String currentValue;
+    /**
+     * 报警阈值
+     */
+    private String thresholdValue;
+
+    /**
+     *  1、实时故障告警 2、实时参数告警
+     */
+    private int type;
+    /**
+     * 处理状态 0、未处理 1、处理中 2、已处理
+     */
+    private int state;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomId() {
+        return projectItemTargetRoomId;
+    }
+
+    public void setProjectItemTargetRoomId(long projectItemTargetRoomId) {
+        this.projectItemTargetRoomId = projectItemTargetRoomId;
+    }
+
+    public String getStartDate() {
+        return startDate;
+    }
+
+    public void setStartDate(String startDate) {
+        this.startDate = startDate;
+    }
+
+    public String getEndDate() {
+        return endDate;
+    }
+
+    public void setEndDate(String endDate) {
+        this.endDate = endDate;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public int getAlarmLevel() {
+        return alarmLevel;
+    }
+
+    public void setAlarmLevel(int alarmLevel) {
+        this.alarmLevel = alarmLevel;
+    }
+
+    public int getNumber() {
+        return number;
+    }
+
+    public void setNumber(int number) {
+        this.number = number;
+    }
+
+    public long getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(long deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public String getDeviceName() {
+        return deviceName;
+    }
+
+    public void setDeviceName(String deviceName) {
+        this.deviceName = deviceName;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public void setDate(String date) {
+        this.date = date;
+    }
+
+    public String getInfo() {
+        return info;
+    }
+
+    public void setInfo(String info) {
+        this.info = info;
+    }
+
+    public String getAlarmParameter() {
+        return alarmParameter;
+    }
+
+    public void setAlarmParameter(String alarmParameter) {
+        this.alarmParameter = alarmParameter;
+    }
+
+    public String getCurrentValue() {
+        return currentValue;
+    }
+
+    public void setCurrentValue(String currentValue) {
+        this.currentValue = currentValue;
+    }
+
+    public String getThresholdValue() {
+        return thresholdValue;
+    }
+
+    public void setThresholdValue(String thresholdValue) {
+        this.thresholdValue = thresholdValue;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public int getState() {
+        return state;
+    }
+
+    public void setState(int state) {
+        this.state = state;
+    }
+}

+ 115 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Camera.java

@@ -0,0 +1,115 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 摄像头
+ */
+public class Camera {
+
+    private long id;
+    private long organizationId;
+    private long projectId;
+    private long projectItemId;
+    private long projectItemTargetId;
+    private long projectItemTargetRoomId;
+
+    /**
+     * 名称
+     */
+    private String name;
+
+    /**
+     * 设备序列号
+     */
+    private String number;
+
+    /**
+     * appKey
+     */
+    private String appKey;
+
+    /**
+     * secret
+     */
+    private String secret;
+
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomId() {
+        return projectItemTargetRoomId;
+    }
+
+    public void setProjectItemTargetRoomId(long projectItemTargetRoomId) {
+        this.projectItemTargetRoomId = projectItemTargetRoomId;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getNumber() {
+        return number;
+    }
+
+    public void setNumber(String number) {
+        this.number = number;
+    }
+
+    public String getAppKey() {
+        return appKey;
+    }
+
+    public void setAppKey(String appKey) {
+        this.appKey = appKey;
+    }
+
+    public String getSecret() {
+        return secret;
+    }
+
+    public void setSecret(String secret) {
+        this.secret = secret;
+    }
+}

+ 144 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ChillerRoomStrategy.java

@@ -0,0 +1,144 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 冷水机房优化控制策略
+ */
+public class ChillerRoomStrategy {
+
+    private long id;
+
+    /**
+     * 冷却塔温度设定低值
+     */
+    private String coolingTowerLowValue;
+
+    /**
+     * 冷却塔温度设定高值
+     */
+    private String coolingTowerHighValue;
+
+    /**
+     * 冷却塔状态
+     */
+    private int coolingTowerState;
+
+    /**
+     * 冷冻水泵温度设定低值
+     */
+    private String chilledWaterPumpLowValue;
+
+    /**
+     * 冷冻水泵温度设定高值
+     */
+    private String chilledWaterPumpHighValue;
+
+    /**
+     * 冷冻水泵状态
+     */
+    private int chilledWaterPumpState;
+
+    /**
+     * 冷却水泵温度设定低值
+     */
+    private String coolingWaterPumpLowValue;
+
+    /**
+     * 冷却水泵温度设定高值
+     */
+    private String coolingWaterPumpHighValue;
+
+    /**
+     * 冷却水泵状态
+     */
+    private int coolingWaterPumpState;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCoolingTowerLowValue() {
+        return coolingTowerLowValue;
+    }
+
+    public void setCoolingTowerLowValue(String coolingTowerLowValue) {
+        this.coolingTowerLowValue = coolingTowerLowValue;
+    }
+
+    public String getCoolingTowerHighValue() {
+        return coolingTowerHighValue;
+    }
+
+    public void setCoolingTowerHighValue(String coolingTowerHighValue) {
+        this.coolingTowerHighValue = coolingTowerHighValue;
+    }
+
+    public int getCoolingTowerState() {
+        return coolingTowerState;
+    }
+
+    public void setCoolingTowerState(int coolingTowerState) {
+        this.coolingTowerState = coolingTowerState;
+    }
+
+    public String getChilledWaterPumpLowValue() {
+        return chilledWaterPumpLowValue;
+    }
+
+    public void setChilledWaterPumpLowValue(String chilledWaterPumpLowValue) {
+        this.chilledWaterPumpLowValue = chilledWaterPumpLowValue;
+    }
+
+    public String getChilledWaterPumpHighValue() {
+        return chilledWaterPumpHighValue;
+    }
+
+    public void setChilledWaterPumpHighValue(String chilledWaterPumpHighValue) {
+        this.chilledWaterPumpHighValue = chilledWaterPumpHighValue;
+    }
+
+    public int getChilledWaterPumpState() {
+        return chilledWaterPumpState;
+    }
+
+    public void setChilledWaterPumpState(int chilledWaterPumpState) {
+        this.chilledWaterPumpState = chilledWaterPumpState;
+    }
+
+    public String getCoolingWaterPumpLowValue() {
+        return coolingWaterPumpLowValue;
+    }
+
+    public void setCoolingWaterPumpLowValue(String coolingWaterPumpLowValue) {
+        this.coolingWaterPumpLowValue = coolingWaterPumpLowValue;
+    }
+
+    public String getCoolingWaterPumpHighValue() {
+        return coolingWaterPumpHighValue;
+    }
+
+    public void setCoolingWaterPumpHighValue(String coolingWaterPumpHighValue) {
+        this.coolingWaterPumpHighValue = coolingWaterPumpHighValue;
+    }
+
+    public int getCoolingWaterPumpState() {
+        return coolingWaterPumpState;
+    }
+
+    public void setCoolingWaterPumpState(int coolingWaterPumpState) {
+        this.coolingWaterPumpState = coolingWaterPumpState;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 94 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ClockIn.java

@@ -0,0 +1,94 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+ * 模拟打卡
+ */
+public class ClockIn {
+    private long id;
+    private long projectId;
+    private long projectItemId;
+    private String name;
+    private long userId;
+    private String userName;
+    private String content;
+    /**
+     * 打卡点
+     */
+    private long pointId;
+    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
+    private String date;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public long getUserId() {
+        return userId;
+    }
+
+    public void setUserId(long userId) {
+        this.userId = userId;
+    }
+
+    public String getUserName() {
+        return userName;
+    }
+
+    public void setUserName(String userName) {
+        this.userName = userName;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public void setDate(String date) {
+        this.date = date;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public long getPointId() {
+        return pointId;
+    }
+
+    public void setPointId(long pointId) {
+        this.pointId = pointId;
+    }
+}

+ 92 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ColdStartStopStrategy.java

@@ -0,0 +1,92 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 冷站总启停策略
+ */
+public class ColdStartStopStrategy {
+
+    private long  id;
+
+    /**
+     * 冷却水泵数量
+     */
+    private int coolingWaterPumpNumber;
+
+    /**
+     * 冷却水泵(变频)数量
+     */
+    private int coolingWaterPumpChangeNumber;
+
+    /**
+     * 冷却塔数量
+     */
+    private int coolingTowerNumber;
+
+    /**
+     * 冷却机组数量
+     */
+    private int coolingUnitNumber;
+
+    /**
+     * 是否启用自定义设置
+     */
+    private Integer customSettings;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getCoolingWaterPumpNumber() {
+        return coolingWaterPumpNumber;
+    }
+
+    public void setCoolingWaterPumpNumber(int coolingWaterPumpNumber) {
+        this.coolingWaterPumpNumber = coolingWaterPumpNumber;
+    }
+
+    public int getCoolingWaterPumpChangeNumber() {
+        return coolingWaterPumpChangeNumber;
+    }
+
+    public void setCoolingWaterPumpChangeNumber(int coolingWaterPumpChangeNumber) {
+        this.coolingWaterPumpChangeNumber = coolingWaterPumpChangeNumber;
+    }
+
+    public int getCoolingTowerNumber() {
+        return coolingTowerNumber;
+    }
+
+    public void setCoolingTowerNumber(int coolingTowerNumber) {
+        this.coolingTowerNumber = coolingTowerNumber;
+    }
+
+    public int getCoolingUnitNumber() {
+        return coolingUnitNumber;
+    }
+
+    public void setCoolingUnitNumber(int coolingUnitNumber) {
+        this.coolingUnitNumber = coolingUnitNumber;
+    }
+
+    public Integer getCustomSettings() {
+        return customSettings;
+    }
+
+    public void setCustomSettings(Integer customSettings) {
+        this.customSettings = customSettings;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 66 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/CollectionAnalysis.java

@@ -0,0 +1,66 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 采集分析
+ */
+public class CollectionAnalysis {
+
+    private long id;
+
+    /**
+     * 命令名称
+     */
+    private String commandName;
+
+    /**
+     * 定时任务名称
+     */
+    private String timedTaskName;
+
+    /**
+     * 解析名称
+     */
+    private String resolveName;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getCommandName() {
+        return commandName;
+    }
+
+    public void setCommandName(String commandName) {
+        this.commandName = commandName;
+    }
+
+    public String getTimedTaskName() {
+        return timedTaskName;
+    }
+
+    public void setTimedTaskName(String timedTaskName) {
+        this.timedTaskName = timedTaskName;
+    }
+
+    public String getResolveName() {
+        return resolveName;
+    }
+
+    public void setResolveName(String resolveName) {
+        this.resolveName = resolveName;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 105 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/CommandManagement.java

@@ -0,0 +1,105 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 命令管理
+ */
+public class CommandManagement {
+
+    private long id;
+
+    /**
+     * 协议名
+     */
+    private String typeName;
+
+    /**
+     * 命令名称
+     */
+    private String name;
+
+    /**
+     * 命令说明
+     */
+    private String illustrate;
+
+    /**
+     * 命令内容
+     */
+    private String content;
+
+    /**
+     * 采集长度
+     */
+    private String collectionLength;
+
+    /**
+     * 采集分类
+     */
+    private String collectionSort;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getIllustrate() {
+        return illustrate;
+    }
+
+    public void setIllustrate(String illustrate) {
+        this.illustrate = illustrate;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public String getCollectionLength() {
+        return collectionLength;
+    }
+
+    public void setCollectionLength(String collectionLength) {
+        this.collectionLength = collectionLength;
+    }
+
+    public String getCollectionSort() {
+        return collectionSort;
+    }
+
+    public void setCollectionSort(String collectionSort) {
+        this.collectionSort = collectionSort;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 105 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Danger.java

@@ -0,0 +1,105 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.util.Date;
+
+/**
+ * 危险
+ */
+public class Danger {
+
+    private long id;
+    private long organizationId;
+    private long projectId;
+    private long projectItemId;
+    private long projectItemTargetId;
+    private long projectItemTargetRoomId;
+    /**
+     * 时间
+     */
+    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date date;
+
+    /**
+     * 类型 易燃易爆品、化学用品、污染废弃物
+     */
+    private int type;
+
+    /**
+     * 数据
+     */
+    private String data;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomId() {
+        return projectItemTargetRoomId;
+    }
+
+    public void setProjectItemTargetRoomId(long projectItemTargetRoomId) {
+        this.projectItemTargetRoomId = projectItemTargetRoomId;
+    }
+
+    public Date getDate() {
+        return date;
+    }
+
+    public void setDate(Date date) {
+        this.date = date;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getData() {
+        return data;
+    }
+
+    public void setData(String data) {
+        this.data = data;
+    }
+}

+ 73 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/DeviceParameter.java

@@ -0,0 +1,73 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 设备参数
+ */
+public class DeviceParameter {
+
+    private long id;
+
+    private long typeId;
+
+    private String typeName;
+
+    /**
+     * 运行参数
+     */
+    private String runParameter;
+
+    /**
+     * 设备参数
+     */
+    private String deviceParameter;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getTypeId() {
+        return typeId;
+    }
+
+    public void setTypeId(long typeId) {
+        this.typeId = typeId;
+    }
+
+    public String getTypeName() {
+        return typeName;
+    }
+
+    public void setTypeName(String typeName) {
+        this.typeName = typeName;
+    }
+
+    public String getRunParameter() {
+        return runParameter;
+    }
+
+    public void setRunParameter(String runParameter) {
+        this.runParameter = runParameter;
+    }
+
+    public String getDeviceParameter() {
+        return deviceParameter;
+    }
+
+    public void setDeviceParameter(String deviceParameter) {
+        this.deviceParameter = deviceParameter;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 80 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/ElectronicPatrol.java

@@ -0,0 +1,80 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 模拟电子巡更
+ */
+public class ElectronicPatrol {
+
+    private long id;
+    private long projectId;
+    private long projectItemId;
+    private String name;
+    private String date;
+    private long userId;
+    private String userName;
+    private String content;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public void setDate(String date) {
+        this.date = date;
+    }
+
+    public long getUserId() {
+        return userId;
+    }
+
+    public void setUserId(long userId) {
+        this.userId = userId;
+    }
+
+    public String getUserName() {
+        return userName;
+    }
+
+    public void setUserName(String userName) {
+        this.userName = userName;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+}

+ 102 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Emergency.java

@@ -0,0 +1,102 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+import java.util.Date;
+
+public class Emergency {
+
+    private long id;
+    private long organizationId;
+    private long projectId;
+    private long projectItemId;
+    private long projectItemTargetId;
+    private long projectItemTargetRoomId;
+    /**
+     * 时间
+     */
+    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date date;
+
+    /**
+     * 类型 应急预案,应急演练
+     */
+    private int type;
+
+    /**
+     * 数据
+     */
+    private String data;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomId() {
+        return projectItemTargetRoomId;
+    }
+
+    public void setProjectItemTargetRoomId(long projectItemTargetRoomId) {
+        this.projectItemTargetRoomId = projectItemTargetRoomId;
+    }
+
+    public Date getDate() {
+        return date;
+    }
+
+    public void setDate(Date date) {
+        this.date = date;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getData() {
+        return data;
+    }
+
+    public void setData(String data) {
+        this.data = data;
+    }
+}

+ 121 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/EnergyAnalysis.java

@@ -0,0 +1,121 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 用能分析
+ */
+public class EnergyAnalysis {
+
+    private int id;
+
+    /**
+     * 类型 用水,用电,用气
+     */
+    private int type;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 月用量
+     */
+    private String monthValue;
+
+    /**
+     * 月额定用量
+     */
+    private String ratedMonthValue;
+
+    /**
+     * 季用量
+     */
+    private String seasonValue;
+
+    /**
+     * 季额定用量
+     */
+    private String ratedSeasonValue;
+
+    /**
+     * 年用量
+     */
+    private String yearValue;
+
+    /**
+     * 年额定用量
+     */
+    private String ratedYearValue;
+
+    public int getId() {
+        return id;
+    }
+
+    public void setId(int id) {
+        this.id = id;
+    }
+
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getMonthValue() {
+        return monthValue;
+    }
+
+    public void setMonthValue(String monthValue) {
+        this.monthValue = monthValue;
+    }
+
+    public String getRatedMonthValue() {
+        return ratedMonthValue;
+    }
+
+    public void setRatedMonthValue(String ratedMonthValue) {
+        this.ratedMonthValue = ratedMonthValue;
+    }
+
+    public String getSeasonValue() {
+        return seasonValue;
+    }
+
+    public void setSeasonValue(String seasonValue) {
+        this.seasonValue = seasonValue;
+    }
+
+    public String getRatedSeasonValue() {
+        return ratedSeasonValue;
+    }
+
+    public void setRatedSeasonValue(String ratedSeasonValue) {
+        this.ratedSeasonValue = ratedSeasonValue;
+    }
+
+    public String getYearValue() {
+        return yearValue;
+    }
+
+    public void setYearValue(String yearValue) {
+        this.yearValue = yearValue;
+    }
+
+    public String getRatedYearValue() {
+        return ratedYearValue;
+    }
+
+    public void setRatedYearValue(String ratedYearValue) {
+        this.ratedYearValue = ratedYearValue;
+    }
+}

+ 63 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/FireFighting.java

@@ -0,0 +1,63 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ *模拟消防
+ */
+public class FireFighting {
+
+    private long id;
+    private String name;
+    private long projectId;
+    private long projectItemId;
+    private String date;
+    private String content;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public void setDate(String date) {
+        this.date = date;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+}

+ 128 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/GiveAlarm.java

@@ -0,0 +1,128 @@
+package com.bosshand.virgo.api.test.model;
+
+import com.fasterxml.jackson.annotation.JsonFormat;
+
+/**
+ * 模拟设备报警
+ */
+public class GiveAlarm {
+
+    private long id;
+    private long projectId;
+    private long projectItemId;
+    private long projectItemTargetId;
+    private long projectItemTargetRoomId;
+    private long organizationId;
+    private String organizationName;
+    private long deviceId;
+    private String deviceName;
+    @JsonFormat(shape=JsonFormat.Shape.STRING,pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
+    private String date;
+    private String info;
+    private int type;
+    private int state;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getProjectItemId() {
+        return projectItemId;
+    }
+
+    public void setProjectItemId(long projectItemId) {
+        this.projectItemId = projectItemId;
+    }
+
+    public long getProjectItemTargetId() {
+        return projectItemTargetId;
+    }
+
+    public void setProjectItemTargetId(long projectItemTargetId) {
+        this.projectItemTargetId = projectItemTargetId;
+    }
+
+    public long getProjectItemTargetRoomId() {
+        return projectItemTargetRoomId;
+    }
+
+    public void setProjectItemTargetRoomId(long projectItemTargetRoomId) {
+        this.projectItemTargetRoomId = projectItemTargetRoomId;
+    }
+
+    public long getOrganizationId() {
+        return organizationId;
+    }
+
+    public void setOrganizationId(long organizationId) {
+        this.organizationId = organizationId;
+    }
+
+    public String getOrganizationName() {
+        return organizationName;
+    }
+
+    public void setOrganizationName(String organizationName) {
+        this.organizationName = organizationName;
+    }
+
+    public long getDeviceId() {
+        return deviceId;
+    }
+
+    public void setDeviceId(long deviceId) {
+        this.deviceId = deviceId;
+    }
+
+    public String getDeviceName() {
+        return deviceName;
+    }
+
+    public void setDeviceName(String deviceName) {
+        this.deviceName = deviceName;
+    }
+
+    public String getDate() {
+        return date;
+    }
+
+    public void setDate(String date) {
+        this.date = date;
+    }
+
+    public String getInfo() {
+        return info;
+    }
+
+    public void setInfo(String info) {
+        this.info = info;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public int getState() {
+        return state;
+    }
+
+    public void setState(int state) {
+        this.state = state;
+    }
+}

+ 53 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/HardwareParameter.java

@@ -0,0 +1,53 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 硬件参数设置
+ */
+public class HardwareParameter {
+
+    private long id;
+
+    /**
+     * 设备id
+     */
+    private String hardwareId;
+
+    /**
+     * 设备参数
+     */
+    private String parameter;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getHardwareId() {
+        return hardwareId;
+    }
+
+    public void setHardwareId(String hardwareId) {
+        this.hardwareId = hardwareId;
+    }
+
+    public String getParameter() {
+        return parameter;
+    }
+
+    public void setParameter(String parameter) {
+        this.parameter = parameter;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 144 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/MeterReadingSettings.java

@@ -0,0 +1,144 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 抄表设置
+ */
+public class MeterReadingSettings {
+
+    private long id;
+
+    /**
+     * 用水,用电,用气,供暖
+     */
+    private int type;
+
+    /**
+     * 日自动抄表
+     */
+    private Integer dailyAutomaticMeterReading;
+
+    /**
+     * 日默认抄表规则
+     */
+    private Integer dailyDefaultMeterReadingRules;
+
+    /**
+     * 日自定义规则
+     */
+    private Integer dailyCustomRules;
+
+    /**
+     * 日抄表时间
+     */
+    private String dailyMeterReadingTime;
+
+    /**
+     * 月自动抄表
+     */
+    private Integer monthAutomaticMeterReading;
+
+    /**
+     * 月默认抄表规则
+     */
+    private Integer monthDefaultMeterReadingRules;
+
+    /**
+     * 月自定义规则
+     */
+    private Integer monthCustomRules;
+
+    /**
+     * 月抄表时间
+     */
+    private String monthMeterReadingTime;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public Integer getDailyAutomaticMeterReading() {
+        return dailyAutomaticMeterReading;
+    }
+
+    public void setDailyAutomaticMeterReading(Integer dailyAutomaticMeterReading) {
+        this.dailyAutomaticMeterReading = dailyAutomaticMeterReading;
+    }
+
+    public Integer getDailyDefaultMeterReadingRules() {
+        return dailyDefaultMeterReadingRules;
+    }
+
+    public void setDailyDefaultMeterReadingRules(Integer dailyDefaultMeterReadingRules) {
+        this.dailyDefaultMeterReadingRules = dailyDefaultMeterReadingRules;
+    }
+
+    public Integer getDailyCustomRules() {
+        return dailyCustomRules;
+    }
+
+    public void setDailyCustomRules(Integer dailyCustomRules) {
+        this.dailyCustomRules = dailyCustomRules;
+    }
+
+    public String getDailyMeterReadingTime() {
+        return dailyMeterReadingTime;
+    }
+
+    public void setDailyMeterReadingTime(String dailyMeterReadingTime) {
+        this.dailyMeterReadingTime = dailyMeterReadingTime;
+    }
+
+    public Integer getMonthAutomaticMeterReading() {
+        return monthAutomaticMeterReading;
+    }
+
+    public void setMonthAutomaticMeterReading(Integer monthAutomaticMeterReading) {
+        this.monthAutomaticMeterReading = monthAutomaticMeterReading;
+    }
+
+    public Integer getMonthDefaultMeterReadingRules() {
+        return monthDefaultMeterReadingRules;
+    }
+
+    public void setMonthDefaultMeterReadingRules(Integer monthDefaultMeterReadingRules) {
+        this.monthDefaultMeterReadingRules = monthDefaultMeterReadingRules;
+    }
+
+    public Integer getMonthCustomRules() {
+        return monthCustomRules;
+    }
+
+    public void setMonthCustomRules(Integer monthCustomRules) {
+        this.monthCustomRules = monthCustomRules;
+    }
+
+    public String getMonthMeterReadingTime() {
+        return monthMeterReadingTime;
+    }
+
+    public void setMonthMeterReadingTime(String monthMeterReadingTime) {
+        this.monthMeterReadingTime = monthMeterReadingTime;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 47 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Protocol.java

@@ -0,0 +1,47 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 协议
+ */
+public class Protocol {
+
+    private long id;
+
+    private String name;
+
+    private String comment;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public String getComment() {
+        return comment;
+    }
+
+    public void setComment(String comment) {
+        this.comment = comment;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 105 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/QuotaSettings.java

@@ -0,0 +1,105 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 定额设置
+ */
+public class QuotaSettings {
+
+    private long id;
+
+    /**
+     * 类型 用电,用水,用气
+     */
+    private int type;
+
+    /**
+     * 年
+     */
+    private String year;
+
+    /**
+     * 月
+     */
+    private String month;
+
+    /**
+     * 单位
+     */
+    private String unit;
+
+    /**
+     * 实际值
+     */
+    private String actualValue;
+
+    /**
+     * 定额值
+     */
+    private String quotaValue;
+
+    private int delState;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public int getType() {
+        return type;
+    }
+
+    public void setType(int type) {
+        this.type = type;
+    }
+
+    public String getYear() {
+        return year;
+    }
+
+    public void setYear(String year) {
+        this.year = year;
+    }
+
+    public String getMonth() {
+        return month;
+    }
+
+    public void setMonth(String month) {
+        this.month = month;
+    }
+
+    public String getUnit() {
+        return unit;
+    }
+
+    public void setUnit(String unit) {
+        this.unit = unit;
+    }
+
+    public String getActualValue() {
+        return actualValue;
+    }
+
+    public void setActualValue(String actualValue) {
+        this.actualValue = actualValue;
+    }
+
+    public String getQuotaValue() {
+        return quotaValue;
+    }
+
+    public void setQuotaValue(String quotaValue) {
+        this.quotaValue = quotaValue;
+    }
+
+    public int getDelState() {
+        return delState;
+    }
+
+    public void setDelState(int delState) {
+        this.delState = delState;
+    }
+}

+ 75 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Region.java

@@ -0,0 +1,75 @@
+package com.bosshand.virgo.api.test.model;
+
+/**
+ * 模拟车辆区域
+ */
+public class Region {
+
+    private long id;
+
+    private long projectId;
+
+    private String name;
+    /**
+     * 已停
+     */
+    private int stopped;
+
+    /**
+     * 剩余
+     */
+    private int residue;
+
+    /**
+     * 故障
+     */
+    private int fault;
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public int getStopped() {
+        return stopped;
+    }
+
+    public void setStopped(int stopped) {
+        this.stopped = stopped;
+    }
+
+    public int getResidue() {
+        return residue;
+    }
+
+    public void setResidue(int residue) {
+        this.residue = residue;
+    }
+
+    public int getFault() {
+        return fault;
+    }
+
+    public void setFault(int fault) {
+        this.fault = fault;
+    }
+}

+ 64 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/Routes.java

@@ -0,0 +1,64 @@
+package com.bosshand.virgo.api.test.model;
+
+import java.util.List;
+
+/**
+ * 模拟路径
+ */
+public class Routes {
+
+    private long id;
+    private String name;
+    private long projectId;
+    private String bimId;
+    private String content;
+    private List<RoutesPoint> points;
+
+    public long getId() {
+        return id;
+    }
+
+    public void setId(long id) {
+        this.id = id;
+    }
+
+    public String getName() {
+        return name;
+    }
+
+    public void setName(String name) {
+        this.name = name;
+    }
+
+    public long getProjectId() {
+        return projectId;
+    }
+
+    public void setProjectId(long projectId) {
+        this.projectId = projectId;
+    }
+
+    public String getBimId() {
+        return bimId;
+    }
+
+    public void setBimId(String bimId) {
+        this.bimId = bimId;
+    }
+
+    public String getContent() {
+        return content;
+    }
+
+    public void setContent(String content) {
+        this.content = content;
+    }
+
+    public List<RoutesPoint> getPoints() {
+        return points;
+    }
+
+    public void setPoints(List<RoutesPoint> points) {
+        this.points = points;
+    }
+}

+ 0 - 0
virgo.api/src/main/java/com/bosshand/virgo/api/test/model/RoutesPoint.java


Nem az összes módosított fájl került megjelenítésre, mert túl sok fájl változott