#ifndef KK_OPCODE_H_
#define KK_OPCODE_H_

#define SYNC_MSG_TYPE                   "/thing/service/syncinfo"
#define SYNC_MSG_TYPE_REPLY             "/thing/service/syncinfo_reply"
#define SYNCPUSH_MSG_TYPE                   "/thing/service/syncinfopush"
#define SYNCPUSH_MSG_TYPE_REPLY             "/thing/service/syncinfopush_reply"

#define DATA_STRING                     "data"
#define VALUE_STRING                    "value"
#define OPCODEMAP_STRING                "opcodemap"
#define CHANNEL_STRING                  "channel"
#define NODEID_STRING                   "nodeid"
#define DEVICES_STRING                  "devices"
#define DATATYPE_STRING                 "dataType"
#define OPCODE_STRING                   "opcode"
#define ARG_STRING                      "arg"
#define ZKID_STRING                     "zkid"
#define OPEARTETYPE_STRING              "operateType"
#define NEWCCU_STRING                   "newccu"
#define OLDCCU_STRING                   "oldccu"

#define FINDCCU_OPCODE                  "FIND_CCU"
#define LOGIN_OPCODE                    "LOGIN"
#define HEARTBEAT_OPCODE                "CCU_HB"
#define SYNC_OPCODE                     "SYNC_INFO"
#define GET_ZB_DEVS_HW_INFO_OPCODE  	"GET_ZIGBEE_DEVS_HW_INFO"
#define ZIGBEE_DEV_HW_INFO_PUSH  	    "ZIGBEE_DEV_HW_INFO_PUSH"
#define GET_HISTORY_ALARM_LOG  	        "GET_HISTORY_ALARM_LOG"
#define DEL_HISTORY_ALARM_LOG  	        "DEL_HISTORY_ALARM_LOG"
#define SWITCH_OPCODE					"SWITCH"
#define GET_HISTORY_MSG_TYPE            "/thing/service/historyAlarm"
#define DEL_HISTORY_MSG_TYPE            "/thing/service/delAlarm"





#define VALUERANGE_STRING               "valueRange"
#define DEVICE_FIELD_STRING                    "device_field"
#define DEVICE_FIELD_IDNDEX_STRING             "device_field_index"
#define DEVICE_ICON_STRING                     "device_icon"
#define DEVICE_POS_STRING                      "device_pos"
#define GW_MAC_STRING                          "gw_mac"
#define MAC_STRING                             "mac"
#define NAME_STRING                            "name"
#define OPERATE_TYPE_STRING                    "operate_type"
#define ROOM_ID_STRING                    "room_id"
#define DEVICE_STATUS_STRING                    "device_status"
#endif
