1
wei
2021-01-21 62d098cb78296feaa6f786a20748921338db838c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//
// TuyaFirmwareUpgradeInfo.h
// TuyaSmartDeviceCoreKit
//
// Copyright (c) 2014-2021 Tuya Inc. (https://developer.tuya.com)
 
#ifndef TuyaSmart_TuyaSmartFirmwareUpgradeModel
#define TuyaSmart_TuyaSmartFirmwareUpgradeModel
 
#import <Foundation/Foundation.h>
 
@interface TuyaSmartFirmwareUpgradeModel : NSObject
 
/// Upgrade copywriting.
@property (nonatomic, strong) NSString  *desc;
 
/// Equipment Type Copywriting.
@property (nonatomic, strong) NSString *typeDesc;
 
/// 0:No new version 1:There is a new version. 2:In the process of upgrading. 5:Waiting for the device to wake up.
@property (nonatomic, assign) NSInteger upgradeStatus;
 
/// Firmware version used in the new version.
@property (nonatomic, strong) NSString  *version;
 
/// Current firmware version in use.
@property (nonatomic, strong) NSString  *currentVersion;
 
/// Upgrade timeout (seconds)
@property (nonatomic, assign) NSInteger timeout;
 
/// 0:app remind upgrade. 2:app force upgrade. 3:detect upgrade.
@property (nonatomic, assign) NSInteger upgradeType;
 
/// Equipment Type.
@property (nonatomic, assign) NSInteger type;
 
/// Download URL of the upgrade firmware for Bluetooth devices.
@property (nonatomic, strong) NSString *url;
 
/// Firmware md5.
@property (nonatomic, strong) NSString *md5;
 
/// Size of the firmware package (byte).
@property (nonatomic, strong) NSString *fileSize;
 
/// Last upgrade time
@property (nonatomic, assign) long long lastUpgradeTime;
 
/// Firmware Release Date.
@property (nonatomic, assign) long long firmwareDeployTime;
 
/// Whether the upgrade device is controllable.  0 : controllable; 1 : not controllable.
@property (nonatomic, assign) BOOL controlType;
 
/// Tip text in firmware upgrade.
@property (nonatomic, strong) NSString *upgradingDesc;
 
/// The prompt text in the device download firmware, currently only nb devices have.
@property (nonatomic, strong) NSString *downloadingDesc;
 
@end
 
#endif