features:4月新绚多设备适配 & 修复一些已知bug
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ReadTimerModel.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by Alex on 2019/5/3.
|
||||
// Copyright © 2019 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "baseModel.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface ReadTimerModel : baseModel
|
||||
|
||||
/// 灯编号
|
||||
@property(nonatomic,copy)NSString*selectorNumber;
|
||||
@property(nonatomic,copy)NSString*crc16str;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,21 @@
|
||||
//
|
||||
// ReadTimerModel.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by Alex on 2019/5/3.
|
||||
// Copyright © 2019 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "ReadTimerModel.h"
|
||||
|
||||
@implementation ReadTimerModel
|
||||
- (NSString *)description
|
||||
{
|
||||
self.messagetype=@"00";
|
||||
self.massagelegth=@"12";
|
||||
self.functionCode=@"16";
|
||||
return [NSString stringWithFormat:@"%@%@%@%@%@",self.messagetype,self.functionCode,self.sendmacId,self.resavemacId,self.massagelegth];
|
||||
|
||||
}
|
||||
|
||||
@end
|
||||
@@ -0,0 +1,22 @@
|
||||
//
|
||||
// SetTimerModel.h
|
||||
// Ifish
|
||||
//
|
||||
// Created by Alex on 2019/5/2.
|
||||
// Copyright © 2019 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "baseModel.h"
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SetTimerModel : baseModel
|
||||
@property(nonatomic,copy)NSString*selectorNumber;
|
||||
@property(nonatomic,copy)NSString*selectorTime;
|
||||
/// 控制组编号
|
||||
@property(nonatomic,copy)NSString*groupNumber;
|
||||
@property(nonatomic,copy)NSString*isOn;//时间定时器开关状态
|
||||
@property(nonatomic,copy)NSString*crc16str;
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// SetTimerModel.m
|
||||
// Ifish
|
||||
//
|
||||
// Created by Alex on 2019/5/2.
|
||||
// Copyright © 2019 lianlian. All rights reserved.
|
||||
//
|
||||
|
||||
#import "SetTimerModel.h"
|
||||
|
||||
@implementation SetTimerModel
|
||||
- (NSString *)description
|
||||
{
|
||||
self.messagetype=@"00";
|
||||
self.massagelegth=@"18";
|
||||
self.functionCode=@"15";
|
||||
return [NSString stringWithFormat:@"%@%@%@%@%@",self.messagetype,self.functionCode,self.sendmacId,self.resavemacId,self.massagelegth];
|
||||
|
||||
}
|
||||
@end
|
||||
Reference in New Issue
Block a user