萤石云 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
//
//  HDLAlarmInfo.m
//  EZOpenSDKDemo
//
//  Created by 陈嘉乐 on 2021/7/9.
//  Copyright © 2021 hikvision. All rights reserved.
//
 
#import "HDLAlarmInfo.h"
 
@implementation HDLAlarmInfo
 
-(NSDate *)getAlarmStartTime{
    NSTimeInterval time = [_createTime doubleValue];
//    return [NSDate dateWithTimeIntervalSince1970:time];;
    return [NSDate dateWithTimeIntervalSince1970:time/1000];
}
 
@end
 
@implementation HDLAlarmInfoData
+ (NSDictionary *)modelContainerPropertyGenericClass {
    return @{@"list" : [HDLAlarmInfo class]};
}
@end