JLChen
2021-11-04 1443556e9ccb1a19ed8e6710c16c8adc4d4f4fb3
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
//
//  Copyright © 2016年 dahua. All rights reserved.
//
 
#import "LCNotificationKey.h"
 
NSString *const LCNotificationUnbindDeviceUpdated = @"LCNotificationUnbindDeviceUpdated";
NSString *const LCNotificationUnbindDeviceNew = @"LCNotificationUnbindDeviceNew";
NSString *const LCNotificationDeviceChange       = @"LCNotificationDeviceChange";
NSString *const LCNotificationDeviceMaskChange   = @"LCNotificationDeviceMaskChange";
NSString *const LCNotificationGetDeviceFail       = @"LCNotificationGetDeviceFail";
NSString *const LCNotificationUpdateDeviceList   = @"LCNotificationUpdateDeviceList";
NSString *const LCNotificationUpdateAddFriendMsg = @"LCNotificationUpdateAddFriendMsg";
NSString *const LCNotificationAddFriendRequst    = @"LCNotificationAddFriendRequst";
NSString *const LCNotificationChangeFriendRemarkName    = @"LCNotificationChangeFriendRemarkName";
NSString *const LCNotificationNewFriendMsg    = @"LCNotificationNewFriendMsg";
NSString *const LCNotificationNewFriendMsgReadStateChanged = @"LCNotificationNewFriendMsgReadStateChanged";
NSString *const LCNotificationCouponReadStateChanged = @"LCNotificationCouponReadStateChanged";
NSString *const LCNotificationMyFriendListChanged = @"LCNotificationMyFriendListChanged";
NSString *const LCNotificationPasswordChange     = @"LCNotificationPasswordChange";                          //设备处于休眠
NSString *const LCNotificationDeviceSleep     = @"LCNotificationDeviceSleep";                              //todo WEIKIT中还存在这个  需要一起修改
NSString *const LCNotificationUserAccountLock = @"LCNotificationUserAccountLock";
NSString *const LCNotificationSDCardStatusChange = @"LCNotificationSDCardStatusChange";
NSString *const LCNotificationUpgradeDevice      = @"LCNotificationUpgradeDevice";
NSString *const LCNotificationUpgradeAp          = @"LCNotificationUpgradeAp";
NSString *const LCNotificationPlugInPlanChanged  = @"LCNotificationPlugInPlanChanged";
NSString *const LCNotificationSystemAlarmFired   = @"LCNotificationSystemAlarmFired";
NSString *const LCNotificationWifiNetWorkChange  = @"LCNotificationWifiNetWorkChange";
NSString *const LCNotificationWifiNetWorkDidSwitch  = @"LCNotificationWifiNetWorkDidSwitch";//Wi-Fi之间的切换:如wifi1切换到wifi2
NSString *const LCNotificationCountDownEnd       = @"LCNotificationCountDownEnd";
NSString *const LCNotificationFriendListChanged  = @"LCNotificationFriendListChanged";
NSString *const LCNotificationRemarkNameChanged  = @"LCNotificationRemarkNameChanged";
NSString *const LCNotificationCTCallState        = @"LCNotificationCTCallState";
NSString *const LCNotificationMessageAlarmFired  = @"MESSAGEALARMFIRED";                            //todo LCManager 中也有这个宏 需要一起修改
NSString *const LCNotificationNewAlarmMsg        = @"LCNotificationNewAlarmMsg";
NSString *const LCNotificationNewAlarmMsgFromHome = @"LCNotificationNewAlarmMsgFromHome";    //从首页消息跳转消息详情通知
NSString *const LCNotificationSelectedHomePage        = @"LCNotificationSelectedHomePage";
NSString *const LCNotificationNoMsgDetailFromHome = @"LCNotificationNoMsgDetailFromHome"; //点击首页消息跳转详情,但无消息详情通知
NSString *const LCNotificationNewAlarmMsgNeedUpdateMsgList        = @"LCNotificationNewAlarmMsgNeedUpdateMsgList"; //APP内打开推送的通知,更新消息一级列表
NSString *const LCNotificationNewAlarmMsgRead        = @"LCNotificationNewAlarmMsgRead"; //推送的新消息跳转时,标记已读
NSString *const LCNotificationAlarmMsgListChanged        = @"LCNotificationAlarmMsgListChanged"; //报警消息列表数据源变化
 
NSString *const LCNotificationNewAlarmMsgUpdateMsgList        = @"LCNotificationNewAlarmMsgUpdateMsgList";   //收到报警消息,刷新消息一级页面
 
NSString *const LCNotificationAutomaticLogin     = @"LCNotificationAutomaticLogin";
NSString *const LCNotificationSettingLinkage     = @"LCNotificationSettingLinkage";
 
 
NSString *const LCNotificationUpdateLiveShareState = @"LCNotificationUpdateLiveShareState";
NSString *const LCNotificationNewPushCenterMsg   = @"LCNotificationNewPushCenterMsg"; //v2.3 推送中心通知
NSString *const LCNotificationPersonalPushFired   = @"LCNotificationPersonalPushFired"; //v2.3 个人推送通知
NSString *const LCNotificationPushSoundFuncTipsChanged = @"LCNotificationPushSoundFuncTipsChanged"; //2.5新功能提醒通知
NSString *const LCNotificationDeviceExceptionChanged = @"@LCNotificationDeviceExceptionChanged";
NSString *const LCNotificationSwitchoverVideoIsReadMessage = @"@LCNotificationSwitchoverVideoIsReadMessage";/**< 切换录像已读消息标记 */
NSString *const LCNotificationNewMsgUpdateRedDot = @"LCNotificationNewMsgUpdateRedDot";//更新红点
NSString *const LCNotificationTransferDeviceSuccess = @"LCNotificationTransferDeviceSuccess";//刷新首页数据
 
NSString *const LCNotificationAlipayResult = @"LCNotificationAlipayResult";
NSString *const LCNotificationWeixinPayResult = @"LCNotificationWeixinPayResult";
 
NSString *const LCNotificationLoginSuccessed = @"LCNotificationLoginSuccessed";/**< 登录成功*/
NSString *const LCNotificationLoginFailed = @"LCNotificationLoginFailed";/**< 登录失败*/
NSString *const LCNotificationLogout = @"LCNotificationLogout";/**< 登出操作*/
NSString *const LCNotificationPresentLoginVC = @"LCNotificationPresentLoginVC";/**< 弹出登录页面*/
NSString *const LCNotificationShowTouchIDAlertView = @"LCNotificationShowTouchIDAlertView";/**< 弹出TouchID提醒*/
NSString *const LCNotificationGoToOpenTouchID = @"LCNotificationGoToOpenTouchID";/**< 前往TouchID开启界面*/
NSString *const LCNotificationTouchIDLoginBegin = @"LCNotificationTouchIDLoginBegin";/**< 开始TouchID登录*/
NSString *const LCNotificationTouchIDLoginEnd = @"LCNotificationTouchIDLoginEnd";/**< 结束TouchID登录*/
NSString *const LCNotificationTouchLoginClose = @"LCNotificationTouchLoginClose";/**< 点击登录页面的关闭按钮*/
 
NSString *const LCNotificationQueryTimePhoto = @"LCNotificationQueryTimePhoto";/**< 查询每日影集权限*/
 
NSString *const LCNotificationDeviceDecryptionUpdated = @"LCNotificationDeviceDecryptionUpdated";
NSString *const LCNotificationCustomVideoDecryptionUpdated = @"LCNotificationCustomVideoDecryptionUpdated"; ///设备自定义加密需要更新状态
 
//定向广告通知
NSString *const LCNotificationCustomAd = @"@LCNotificationCustomAd";
 
NSString *const LCNotificationSkipLaunchAd = @"@LCNotificationSkipLaunchAd";
 
NSString *const LCNotificationKeyRename = @"LCNotificationKeyRename";//钥匙重命名
 
/// 更新DHChannel属性
NSString *const DHNotificationUpdateDHChannelProperty = @"DHNotificationUpdateDHChannelProperty";
 
NSString *const LCNotificationBuyPassengerSuccess = @"LCNotificationBuyPassengerSuccess";   //购买客流统计套餐成功
NSString *const LCNotificationBuyShareSuccess = @"LCNotificationBuyShareSuccess";     //购买分享套餐成功
NSString *const LCNotificationBuyCloudSuccess = @"LCNotificationBuyCloudSuccess";     //购买云套餐成功
 
NSString *const LCNotificationModifyLoginPasword = @"LCNotificationModifyLoginPasword";
NSString *const LCNotificationGetPushStatusSuccess = @"LCNotificationGetPushStatusSuccess";
NSString *const kLCShowHomePageChannelAndApMessage = @"kLCShowHomePageChannelAndApMessage";
 
NSString *const LCNotificationWXPay = @"LCNotificationWXPay";
 
NSString *const LCNotificationNeedUpdateP2PService = @"LCNotificationNeedUpdateP2PService";
//帐号操作成功通知
NSString *const LCNotificationThirdBindAccountSuccess = @"LCNotificationThirdBindAccountSuccess";
NSString *const LCNotificationChangeAccountSuccess = @"LCNotificationChangeAccountSuccess";
NSString *const LCNotificationEmailBindPhoneSuccess = @"LCNotificationEmailBindPhoneSuccess";
NSString *const LCNotificationEmailUnbindSuccess = @"LCNotificationEmailUnbindSuccess";
//查询白光相机警笛与白光灯状态
NSString *const LCNotificationDeviceWhiteLightChanged =    @"LCNotificationDeviceWhiteLightChanged";
NSString *const LCNotificationDeviceSirenChanged =    @"LCNotificationDeviceSirenChanged";
NSString *const LCNotificationDeviceSearchLightChanged =    @"LCNotificationDeviceSearchLightChanged";
NSString *const LCNotificationDeviceSearchLightModeChanged =    @"LCNotificationDeviceSearchLightModeChanged";
 
/// 修改了增值服务套餐刷新预览页增值服务数据
NSString *const LCNotificationDeviceAddedServicesChanged = @"LCNotificationDeviceAddedServicesChanged";
 
NSString *const LCNotificationDeviceWebNoticeNative = @"LCNotificationDeviceWebNoticeNative";
NSString *const LCNotificationCloudStoragePaySuccess = @"paySuccess";
NSString *const LCNotificationCloudStorageUpdated = @"LCNotificationCloudStorageUpdated";
 
/// 设备添加融合OMS
NSString *const LCNotificationOMSIntrodutionUpdated = @"LCNotificationOMSIntrodutionUpdated";
NSString *const LCNotificationOMSIModelsUpdated = @"LCNotificationOMSIModelsUpdated";
 
 
NSString *const LCNotificationADDDeviceSuccess = @"LCNotificationADDDeviceSuccess";
 
/// 更新单个设备通知(添加添加完成、收到设备共享时发送)
NSString *const DHNotificationUpdateDeviceToListById = @"DHNotificationUpdateDeviceToListById";
 
/// 更新下载tabbar图片通知
NSString *const DHNotificationUpdateTabListGet = @"DHNotificationUpdateTabListGet";
 
/// 退出账户重置 商城、发现 webView
NSString *const DHNotificationResetShopAndDiscovery = @"DHNotificationResetShopAndDiscovery";
 
/// 重置蓝牙连接所有数据状态
NSString *const DHNotificationResetBLEConnectDataKey = @"DHNotificationResetBLEConnectDataKey";
 
/// 网关情景模式推送
NSString *const LCNotificationGatewayDeviceSceneModeChange = @"LCNotificationGatewayDeviceSceneModeChange";
 
/// 更新SOS 消息的处理状态
NSString *const LCNotificationMessageAPSOSAlarmIsStopSosAlarm = @"LCNotificationMessageAPSOSAlarmIsStopSosAlarm";
 
/// 网关SOS消息被人处理了
NSString *const LCNotificationMessageAPSOSAlarmIsStopSosAlarmByOther = @"LCNotificationMessageAPSOSAlarmIsStopSosAlarmByOther";
 
/// 局域网断开通知
NSString *const LCNotificationLocalNetworkDisconnect = @"LCNotificationLocalNetworkDisconnect";
 
/// 设备体验计划开关变化
NSString *const LCNotificationDeviceLogStateChange = @"LCNotificationDeviceLogStateChange";
 
/// 人形摘要
NSString *const LCNotificationCondensedAlarm = @"LCNotificationCondensedAlarm";
 
///呼叫挂断
NSString *const LCNotificationInterruptCallEvent = @"LCNotificationInterruptCallEvent";
 
 
//MARK: - SMB Methods
///通知客户端选择部门结果,用于视频预览选择部门
NSString *const SMBNotificationSelectDepartment = @"SMBNotificationSelectDepartment";
///通知客户端选择部门结果,用于设备切换部门
NSString *const SMBNotificationSelectDepartmentList = @"SMBNotificationSelectDepartmentList";
///通知客户端选择成员结果(单选),用于企业过户
NSString *const SMBNotificationSelectEmployee = @"SMBNotificationSelectEmployee";
///通知客户端选择成员结果(多选),用于设置应用可见范围
NSString *const SMBNotificationSelectEmployees = @"SMBNotificationSelectEmployees";
///通知客户端首次创建部门后,去邀请员工
NSString *const SMBNotificationInviteEmployee = @"SMBNotificationInviteEmployee";
 
///存在未读消息
NSString *const SMBNotificationHaveUnReadApplyMessage = @"SMBNotificationHaveUnReadApplyMessage";
///无未读消息
NSString *const SMBNotificationNoneUnReadApplyMessage = @"SMBNotificationNoneUnReadApplyMessage";
///企业数据存在更改,需要刷新数据
NSString *const SMBNotificationCorpDataDidChange = @"SMBNotificationCorpDataDidChange";
 
///有新消息,需要刷新当前列表
NSString *const SMBNotificationHaveNewMessageRecieve = @"SMBNotificationHaveNewMessageRecieve";
///需要刷新工作台右上角红色角标
NSString *const SMBNotificationWorkpaltRetDotDidChange = @"SMBNotificationWorkpaltRetDotDidChange";
 
// MARK: - 视频监控
///重命名成功
NSString *const SMBNotificationDeviceRenameSuccess = @"SMBNotificationDeviceRenameSuccess";
/// 升级成功
NSString *const SMBNotificationDeviceUpgradeSuccess = @"SMBNotificationDeviceUpgradeSuccess";
/// WIFI刷新完成
NSString *const SMBNotificationDeviceWiFiUpdateSuccess = @"SMBNotificationDeviceWiFiUpdateSuccess";
/// 动检更改完成
NSString *const SMBNotificationDeviceMotionDetectUpdate = @"SMBNotificationDeviceMotionDetectUpdate";