Completing ZigbeeTest with doorlock test
[iot2.git] / benchmarks / other / ZigbeeTest / IoTZigbeeMessageZclZoneStatusChangeNotification.java
1 /** Zigbee Message Zcl Zone Status Change Notification.
2  *
3  * @author      changwoo Lee <changwl2 @ uci.edu>
4  * @version     1.0
5  * @since       2016-10-28
6  */
7 public class IoTZigbeeMessageZclZoneStatusChangeNotification extends IoTZigbeeMessage {
8
9         private boolean SuccessOrFail=false;
10         private int clusterId;
11         private int profileId;
12         private int status;
13
14         public IoTZigbeeMessageZclZoneStatusChangeNotification(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 }