| | |
| | | public class ControlCommonResourse
|
| | | {
|
| | | /// <summary>
|
| | | /// 消息管理按键(此变量交由底层处理,各界面不需要处理)
|
| | | /// </summary>
|
| | | public static List<MessageManagementControl> listMessageManaContr = new List<MessageManagementControl>();
|
| | | /// <summary>
|
| | | /// 消息管理是否来了新消息(此变量交由底层处理,各界面不需要处理)
|
| | | /// </summary>
|
| | | public static bool HadNewMessage = false;
|
| | | /// <summary>
|
| | | /// 是否重新读取消息记录(此变量交由底层处理,各界面不需要处理)
|
| | | /// </summary>
|
| | | public static bool ReadMessageAgain = true;
|
| | | /// <summary>
|
| | | /// 画面TopFrameLayout最上面菜单的高度(高度:74)
|
| | | /// </summary>
|
| | | public static int TopMenuFrameHeight = Application.GetRealHeight(74);
|
| | |
| | | /// </summary>
|
| | | public static int TopFrameHeight = Application.GetRealHeight(110);
|
| | | /// <summary>
|
| | | /// 画面BodyFrameLayout的高度(高度:1736)
|
| | | /// 画面BodyFrameLayout的高度(不能直接指定数值,不然有可能会出现误差,导致无法铺满)
|
| | | /// </summary>
|
| | | public static int BodyFrameHeight = Application.GetRealHeight(1920 - 184);
|
| | | public static int BodyFrameHeight
|
| | | {
|
| | | get { return UserView.HomePage.Instance.Height - TopMenuFrameHeight - TopFrameHeight; }
|
| | | }
|
| | | /// <summary>
|
| | | /// 画面BottomFrameLayout的高度(高度:141 注:此变量在个人中心不使用)
|
| | | /// </summary>
|
| | |
| | | /// 底线高度(直接指定不需要再次计算的真实值)
|
| | | /// </summary>
|
| | | public static int BottomLineHeight = 1;
|
| | | /// <summary>
|
| | | /// 门锁界面是否是更新状态
|
| | | /// </summary>
|
| | | public static Action<bool> UpdateDoorLockStatusAction = null;
|
| | | /// <summary>
|
| | | /// 是否是界面正在加载中(底层专用,不需要理)
|
| | | /// </summary>
|
| | | public static bool IsFormAdding = false;
|
| | | #if Android
|
| | | /// <summary>
|
| | | /// 两个文本拼接时,为了看起来是正常的,需要减去它们之间的间隔误差
|
| | | /// </summary>
|
| | | public static int TwoTextSpace = Application.GetRealWidth(20);
|
| | | #endif
|
| | | #if iOS
|
| | | /// <summary>
|
| | | /// 两个文本拼接时,为了看起来是正常的,需要减去它们之间的间隔误差
|
| | | /// </summary>
|
| | | public static int TwoTextSpace = Application.GetRealWidth(10);
|
| | | #endif
|
| | | }
|
| | | }
|