From 83de5ad48e86873b698c904f8954576e8b31dfb5 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期二, 20 六月 2023 11:35:36 +0800 Subject: [PATCH] feature 门锁全屏 && 设置页面UI --- EZSDK/EZSDK/EZ/Global/HDLEZConstants.h | 19 +++++++++++++++++-- 1 files changed, 17 insertions(+), 2 deletions(-) diff --git a/EZSDK/EZSDK/EZ/Global/HDLEZConstants.h b/EZSDK/EZSDK/EZ/Global/HDLEZConstants.h index 9d25246..9ab6308 100755 --- a/EZSDK/EZSDK/EZ/Global/HDLEZConstants.h +++ b/EZSDK/EZSDK/EZ/Global/HDLEZConstants.h @@ -44,8 +44,8 @@ // Design Width&Height #define HDLEZDesignWidth 375 #define HDLEZDesignHeight 667 -#define HDLEZGetRealWidth(W) W / (HDLEZDesignWidth * 1.0f / APP_SCREEN_WIDTH) -#define HDLEZGetRealHeight(H) H / (HDLEZDesignHeight * 1.0f / APP_SCREEN_HEIGHT) +#define HDLEZGetRealWidth(W) W / (HDLEZDesignWidth * 1.0f / HDLEZ_APP_SCREEN_WIDTH) +#define HDLEZGetRealHeight(H) H / (HDLEZDesignHeight * 1.0f / HDLEZ_APP_SCREEN_HEIGHT) // 瀛椾綋棰滆壊* @@ -119,6 +119,17 @@ //// 閫氳瘽绫诲瀷 //#define HDLF_FV_CALL_TYPE_KEY @"HDLEZCallTypeKey" +//钀ょ煶闂ㄩ攣spk +#define HDLEZ_DOOR_SPK @"security.door.ezviz" + + +//璁惧绫诲瀷 +typedef enum { + HDLEZDeviceType_Default=0, //榛樿绫诲瀷 + HDLEZDeviceType_Door=1,//闂ㄩ攣 +}HDLEZDeviceType; + + @interface HDLEZConstants : NSObject /*鑾峰彇褰撳墠controller */ @@ -185,4 +196,8 @@ @param number 鍐呭 */ +(BOOL)validateNumber:(NSString*)number; + +/* 灏唍il杞负"" + */ ++(NSString*)turnNil:(NSString *)str; @end -- Gitblit v1.8.0