Additional files and methods for doorlock functionalities
[iot2.git] / iotjava / iotruntime / zigbee / IoTZigbeeMessageZclChangeSwitchResponse.java
1 package iotruntime.zigbee;
2
3 /** Zigbee Message Zcl Change Switch Response
4  *
5  * @author      Yuting Tan <ytan5 @ uci.edu>
6  * @version     1.0
7  * @since       2017-2-28
8  */
9 public class IoTZigbeeMessageZclChangeSwitchResponse extends IoTZigbeeMessage {
10
11         private boolean SuccessOrFail=false;
12         private int clusterId;
13         private int profileId;
14         private int status;
15
16         public IoTZigbeeMessageZclChangeSwitchResponse(int _packetId, int _clusterId, int _profileId, int _status, boolean _SuccessOrFail){
17                 super(_packetId);
18
19                 clusterId = _clusterId;
20                 profileId = _profileId;
21                 status = _status;
22                 SuccessOrFail = _SuccessOrFail;
23         }
24         public boolean getSuccessOrFail(){
25                 return SuccessOrFail;
26         }
27
28         public int getClusterId() {
29                 return clusterId;
30         }
31
32         public int getProfileId() {
33                 return profileId;
34         }
35
36         public int getStatus(){
37                 return status;
38         }
39 }