java110
2021-01-05 aab1f5ca1f7d48d42c0dea5034c5809f3a00fd9c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
/*
 * Copyright 2017-2020 吴学文 and java110 team.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.java110.job.adapt.hcIot.asyn;
 
import com.alibaba.fastjson.JSONObject;
 
import java.util.List;
 
/**
 * IOT信息异步同步处理接口类
 * <p>
 * add by wuxw 2020-12-19
 * <p>
 * 接口协议地址: https://gitee.com/java110/MicroCommunityThings/blob/master/back/docs/api.md
 */
public interface IIotSendAsyn {
 
    /**
     * 添加小区信息
     *
     * @param postParameters
     */
    public void addCommunity(JSONObject postParameters);
 
    /**
     * 编辑小区信息
     *
     * @param postParameters
     */
    public void editCommunity(JSONObject postParameters);
 
    /**
     * 删除小区信息
     *
     * @param postParameters
     */
    public void deleteCommunity(JSONObject postParameters);
 
    /**
     * 添加 设备 至 HC IOT
     *
     * @param postParameters
     * @param ownerDtos
     */
    public void addMachine(JSONObject postParameters, List<JSONObject> ownerDtos);
 
    /**
     * 修改 设备 至 HC IOT
     *
     * @param postParameters
     */
    void updateMachine(JSONObject postParameters);
 
    void deleteMachine(JSONObject postParameters);
 
    public void addOwner(JSONObject postParameters);
 
    /**
     * 修改业主
     *
     * @param postParameters
     */
    void sendUpdateOwner(JSONObject postParameters);
 
    /**
     * 删除业主
     *
     * @param postParameters
     */
    void sendDeleteOwner(JSONObject postParameters);
 
    /**
     * 重新同步
     *
     * @param reqJson
     */
    void reSendIot(JSONObject reqJson);
 
    /**
     * 添加 停车场
     *
     * @param postParameters
     */
    void addParkingArea(JSONObject postParameters);
 
    void updateParkingArea(JSONObject postParameters);
 
    void deleteParkingArea(JSONObject postParameters);
}