萤石云 iOSSDK,移植跨平台相关工程
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
65
//
//  EZDeviceCloudServiceInfo.h
//  EzvizOpenSDK
//
//  Created by JuneCheng on 2022/1/4.
//  Copyright © 2022 Hikvision. All rights reserved.
//
 
#import <Foundation/Foundation.h>
@class EZCloudServicePackageInfo;
 
NS_ASSUME_NONNULL_BEGIN
 
/// 云存储设备通道套餐信息
@interface EZDeviceCloudServiceInfo : NSObject
 
@property (nonatomic, copy) NSString *ownerId;///< 设备所属用户用户名
@property (nonatomic, copy) NSString *serial;///< 设备序列号
@property (nonatomic, assign) NSInteger channelNo;///< 通道号
@property (nonatomic, copy) NSString *devicePicUrl;///< 设备图片url
@property (nonatomic, assign) NSInteger storageTime;///< 存储时长
@property (nonatomic, assign) NSInteger storageTimeUnit;///< 存储时长单位:1-天,2-周,3-月,4-年
@property (nonatomic, copy) NSString *expireTime;///< 云存储服务过期时间
@property (nonatomic, copy) NSString *expireDate;///< 到期时间: yyyy年MM月dd日 格式
@property (nonatomic, copy) NSString *devModel;///< 设备型号
@property (nonatomic, copy) NSString *devName;///< 设备名称
@property (nonatomic, assign) NSInteger onlineStatus;///< 设备在线状态
@property (nonatomic, assign) NSInteger status;///< 云存储状态 -2不支持 -1未开启 0暂停 1开启 2过期 4指定生效云存储待生效状态
@property (nonatomic, assign) NSInteger expireDay;///< 当前距离过期的有效天数
@property (nonatomic, assign) NSInteger validDay;///< 服务可使用的天数
@property (nonatomic, copy) NSString *createTime;///< 创建时间
@property (nonatomic, assign) BOOL designateDevice;///< 是否是指定设备
@property (nonatomic, assign) BOOL subscribe;///< 是否由当前订阅开通
@property (nonatomic, assign) BOOL supportSubscribe;///< 是否支持订阅云存储
@property (nonatomic, assign) BOOL supportCard;///< 是否支持点卡
@property (nonatomic, assign) NSInteger openTryCloudShield;///< 是否屏蔽云存储试用 1为屏蔽,其他为未屏蔽
@property (nonatomic, strong) NSArray<EZCloudServicePackageInfo *> *serviceList;///<
 
@end
 
 
@interface EZCloudServicePackageInfo : NSObject
 
@property (nonatomic, assign) long serviceId;///<
@property (nonatomic, assign) NSInteger productPayType;///< 产品付费类型:1付费 2 试用 3免费
@property (nonatomic, assign) NSInteger storageTimeUnit;///< 存储时长单位:1-天 2-周 3-月 4-年 5-小时
@property (nonatomic, copy) NSString *expireTime;///< 过期时间
@property (nonatomic, assign) NSInteger forceBinding;///< 强制绑定状态 1-强制绑定 2-可转移
@property (nonatomic, assign) NSInteger effectImmediately;///< 服务是否立即生效 1-立即生效 2-延迟生效 3-指定日期生效
@property (nonatomic, assign) NSInteger canFamilyDeviceNum;///< 可加入套餐设备数
@property (nonatomic, assign) long familyServiceId;///< 家庭套餐服务ID
@property (nonatomic, assign) NSInteger serviceTime;///< 云存储使用时长
@property (nonatomic, assign) NSInteger addFamilyDeviceNum;///< 已加入套餐设备数
@property (nonatomic, assign) NSInteger productCode;///< 产品编号
@property (nonatomic, assign) NSInteger buyNum;///< 购买数量
@property (nonatomic, copy) NSString *businessOrderNo;///< 订单号:当前开通服务与订单关联
@property (nonatomic, assign) NSInteger serviceTimeUnit;///< 云存储使用时长单位:1-天 2-周 3-月 4-年
@property (nonatomic, assign) NSInteger storageTime;///< 存储时长
@property (nonatomic, assign) NSInteger serviceType;///< 套餐类型,2、家庭套餐, 1 or null为普通套餐
@property (nonatomic, copy) NSString *effectTime;///< 生效时间
@property (nonatomic, assign) NSInteger status;///< 状态:1 待使用 2使用中 3已使用
 
@end
 
NS_ASSUME_NONNULL_END