You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

35 lines
859 B

//
// TimingSwitchModel.h
// tongxin
//
// Created by Apple on 2020/4/10.
// Copyright © 2020 xTT. All rights reserved.
//
#import "baseModel.h"
NS_ASSUME_NONNULL_BEGIN
@interface TimingSwitchModel : baseModel
/// 开机时间 格式化时间 : 24小时制
@property (nonatomic, strong) NSString *startTime;
/// 关机时间
@property (nonatomic, strong) NSString *endTime;
/// 0 关闭, 1 打开
@property (nonatomic, strong) NSNumber *switchStatus;
#pragma mark ---定时开关机配置接口---
/// 获取数据接口
+ (void)getTimingSwitchDataSuccess:(void (^)(TimingSwitchModel *model))success
failure:(void (^)(NSError *error))failure;
- (void)postTimingSwitchDataSuccess:(void (^)(id responseObject))success
failure:(void (^)(NSError *error))failure;
@end
NS_ASSUME_NONNULL_END