From b4e1288a9b63eb820e9c9489c56aac4bf6b31067 Mon Sep 17 00:00:00 2001 From: Davin <591807572@qq.com> Date: 星期三, 18 十二月 2024 14:34:16 +0800 Subject: [PATCH] feature 图片资源更新 --- 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