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.
77 lines
0 B
77 lines
0 B
1 year ago
|
//
|
||
|
// BaseViewController.h
|
||
|
// ChineseAgri-businesses
|
||
|
//
|
||
|
// Created by ecell on 2022/6/27.
|
||
|
//
|
||
|
|
||
|
#import "ZXNavigationBarController.h"
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
NS_ASSUME_NONNULL_BEGIN
|
||
|
|
||
|
typedef NS_ENUM(NSInteger,BgImageType){
|
||
|
/// 电子围栏
|
||
|
Dianziweilan,
|
||
|
/// 上课禁用
|
||
|
Shangkejinyong,
|
||
|
/// 闹钟
|
||
|
Naozhong,
|
||
|
/// 历史记录
|
||
|
Lishijilu,
|
||
|
/// 消息
|
||
|
Xiaoxi,
|
||
|
/// 无网络
|
||
|
Wuwang,
|
||
|
/// 电话本
|
||
|
Dianhuaben,
|
||
|
/// 聊天
|
||
|
Liaotian,
|
||
|
/// 照片
|
||
|
Zhaopian,
|
||
|
/// 首页无绑定设备
|
||
|
HomeNoWhat
|
||
|
};
|
||
|
|
||
|
@interface BaseViewController : ZXNavigationBarController
|
||
|
|
||
|
/// 获取最新设备列表信息
|
||
|
- (void)updateAllMessage;
|
||
|
|
||
|
/// 空白页显示图片种类
|
||
|
@property (nonatomic ,assign) BgImageType ImgType;
|
||
|
|
||
|
/// 提示标题
|
||
|
@property (nonatomic ,strong) NSString *emptyTitle;
|
||
|
|
||
|
/// 提示内容
|
||
|
@property (nonatomic ,strong) NSString *emptyText;
|
||
|
|
||
|
/// 按钮指定标题
|
||
|
@property (nonatomic ,strong) NSString *buttonTitle;
|
||
|
|
||
|
/// 按钮指定图片
|
||
|
@property (nonatomic ,strong) UIImage *buttonImg;
|
||
|
|
||
|
/// 按钮字体颜色
|
||
|
@property (nonatomic ,strong) UIColor *buttonTitleColor;
|
||
|
|
||
|
/// 返回按钮图片(默认为白色图片,随便传值,长度大于0为黑色图片)
|
||
|
@property (nonatomic ,strong) NSString *backImgName;
|
||
|
|
||
|
/// 数据模型数组
|
||
|
@property (nonatomic ,strong) NSMutableArray *modelListArr;
|
||
|
|
||
|
/// 更新数据通知
|
||
|
- (void)updataNotificat;
|
||
|
|
||
|
/// 微聊消息推送
|
||
|
- (void)pusChatMessage:(NSDictionary *)chatModel;
|
||
|
|
||
|
/// 推送通知,获取最新设备电量格位置信息;
|
||
|
- (void)updateBatteryAndLocation;
|
||
|
|
||
|
@end
|
||
|
|
||
|
NS_ASSUME_NONNULL_END
|