| 123456789101112131415161718192021222324252627282930313233343536373839404142434445 |
- //
- // SocketMsgModel.h
- // OneCable
- //
- // Created by KaRam Kim on 2017. 4. 20..
- // Copyright © 2017년 ntels. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "JDJSONModel.h"
- #define MSG_TYPE_LOGIN @"auth"
- #define MSG_TYPE_DEVICE_ALIVE @"device.alive"
- #define MSG_TYPE_AUTO_LOGIN @"auth.auto"
- #define MSG_TYPE_DEVICE_COMMAND @"device.command"
- #define MSG_TYPE_DEVICE_COMMAND_RES @"device.command.result"
- #define CMD_TYPE_PAIRING_START @"pairing_start"
- #define CMD_TYPE_PAIRING_STOP @"pairing_stop"
- #define CMD_TYPE_UNPAIRING_START @"unpairing_start"
- @interface SocketRequestModel : SocketModel
- @property (copy, nonatomic) NSDictionary *requestMsg;
- //-(void)setRequestId:(int)requestId;
- -(NSString *)getSendMessage;
- -(id)initWithMsgType:(NSString *)msgType;
- @end
- @interface SocketReponseModel : SocketModel
- @property (copy, nonatomic) NSDictionary *commandId;
- @property (copy, nonatomic) NSDictionary *commandStatus;
- @property (copy, nonatomic) NSDictionary *commandType;
- @end
|