ifish/Ifish/controllers/HotBar/models/IfishPackageHeaderVo.h

27 lines
688 B
Objective-C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//
// IfishPackageHeaderVo.h
// Ifish
//
// Created by 罗艺 on 2018/9/23.
// Copyright © 2018年 lianlian. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface IfishPackageHeaderVo : NSObject
//数据包头(15字节)
//1 "发送消息类型填充00回复类型填充01
//"
//1 功能码
//6 发送方MAC地址
//6 接收方MAC地址
//1 消息长度,包长度(15+*的长度)
@property(nonatomic,copy)NSString*msgType;
@property(nonatomic,copy)NSString*funcCode;
@property(nonatomic,copy)NSString*sendAdr;
@property(nonatomic,copy)NSString*reciceAdr;
@property(nonatomic,copy)NSString*lenth;
-(NSString*)getHeader;
-(NSString*)getPackege;
@end