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