85 lines
2.1 KiB
Objective-C
85 lines
2.1 KiB
Objective-C
//
|
||
// Xuanduo2Model.h
|
||
// Ifish
|
||
//
|
||
// Created by Alex on 2019/4/20.
|
||
// Copyright © 2019 lianlian. All rights reserved.
|
||
//
|
||
|
||
#import <Foundation/Foundation.h>
|
||
|
||
NS_ASSUME_NONNULL_BEGIN
|
||
|
||
#if 0
|
||
01
|
||
08
|
||
807d3a42a200
|
||
807d3a42a200
|
||
2c — 44字节
|
||
0101 增氧
|
||
0201 灯1
|
||
0301 灯2
|
||
0401 循环泵
|
||
0501 杀菌
|
||
0601 造浪
|
||
0701 加热制冷
|
||
01 加热控制状态
|
||
00e1 水温
|
||
00fa 加热温度
|
||
00 护理灯开关
|
||
007d 电量
|
||
00 报警开关
|
||
00c8 最低报警温度
|
||
012c 最高报警温度
|
||
bfec crc16校验码
|
||
#endif
|
||
|
||
@interface Xuanduo2Model : NSObject
|
||
|
||
/// 增氧泵 -- 气泵
|
||
@property (nonatomic, strong) NSString *gasPump;
|
||
/// 灯1
|
||
@property (nonatomic, strong) NSString *light1;
|
||
/// 灯2
|
||
@property (nonatomic, strong) NSString *light2;
|
||
/// 循环泵 -- 水泵
|
||
@property (nonatomic, strong) NSString *waterPump;
|
||
/// 杀菌灯
|
||
@property (nonatomic, strong) NSString *uvLamp;
|
||
/// 造浪泵
|
||
@property (nonatomic, strong) NSString *waveMakingPump;
|
||
/// 加热制冷状态
|
||
@property (nonatomic, strong) NSString *status;
|
||
/// 加热状态
|
||
@property (nonatomic, strong) NSString *heatStatus;
|
||
/// 水温
|
||
@property (nonatomic, strong) NSString *waterTemperature;
|
||
/// 加热温度
|
||
@property (nonatomic, strong) NSString *heatingTemperature;
|
||
/// 护理灯开关
|
||
@property (nonatomic, strong) NSString *huliLight;
|
||
/// 电量
|
||
@property (nonatomic, strong) NSString *electricity;
|
||
/// 报警开关
|
||
@property (nonatomic, strong) NSString *alarmSwitch;
|
||
/// 最低温
|
||
@property (nonatomic, strong) NSString *miniTemp;
|
||
/// 最高温
|
||
@property (nonatomic, strong) NSString *maxTemp;
|
||
@property (nonatomic, strong) NSString *waterLevel;//水位报警开关
|
||
/// 一键喂鱼 4 5 f有 一键喂鱼0 关,1开(背光)手机到设备
|
||
/// 设置值 发送指令 打开或者关闭 注意发送指定和接受状态不是一个字段
|
||
@property (nonatomic, strong) NSString *fishFeedOrder;
|
||
/// 4 5 f有 一键喂鱼0 关,1开(湿度)设备到手机
|
||
/// 接受值 这个值会变化,喂鱼结束则为0 开启1 只接受状态
|
||
@property (nonatomic, strong) NSString *fishFeedStatus;
|
||
/// 功率 4 5 f有
|
||
@property (nonatomic, strong) NSString *powerRating;
|
||
|
||
|
||
|
||
|
||
@end
|
||
|
||
NS_ASSUME_NONNULL_END
|