old mode 100755
new mode 100644
| | |
| | | using System;
|
| | | using System.Collections.Generic;
|
| | | using System.Text;
|
| | |
|
| | | namespace Shared.Phone.UserCenter
|
| | | {
|
| | | /// <summary>
|
| | | /// 控件类的Resourse
|
| | | /// </summary>
|
| | | 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>
|
| | | /// 画面TopFrameLayout的高度(高度:110)
|
| | | /// </summary>
|
| | | public static int TopFrameHeight = Application.GetRealHeight(110);
|
| | | /// <summary>
|
| | | /// 画面BodyFrameLayout的高度(不能直接指定数值,不然有可能会出现误差,导致无法铺满)
|
| | | /// </summary>
|
| | | public static int BodyFrameHeight
|
| | | {
|
| | | get { return UserView.HomePage.Instance.Height - TopMenuFrameHeight - TopFrameHeight; }
|
| | | }
|
| | | /// <summary>
|
| | | /// 画面BottomFrameLayout的高度(高度:141 注:此变量在个人中心不使用)
|
| | | /// </summary>
|
| | | public static int BottomFrameHeight = Application.GetRealHeight(141);
|
| | | /// <summary>
|
| | | /// X轴左边的偏移量
|
| | | /// </summary>
|
| | | public static int XXLeft = Application.GetRealWidth(58);
|
| | | /// <summary>
|
| | | /// VerticalScrolViewLayout控件一行的高度(只针对标准型列表式画面)
|
| | | /// </summary>
|
| | | public static int ListViewRowHeight = Application.GetRealHeight(127);
|
| | | /// <summary>
|
| | | /// 一般显示文字的控件的高度
|
| | | /// </summary>
|
| | | public static int NormalControlHeight = Application.GetRealHeight(70);
|
| | | /// <summary>
|
| | | /// 点亮状态变更的等待时间
|
| | | /// </summary>
|
| | | public static int StatuChangedWaitTime = 200;
|
| | | /// <summary>
|
| | | /// 底部按钮与VerticalScrolViewLayout控件底部的间距
|
| | | /// </summary>
|
| | | public static int BottomButtonAndListViewSpace = Application.GetRealHeight(10);
|
| | | /// <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
|
| | | }
|
| | | }
|
| | | using System; |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Shared.Phone.UserCenter |
| | | { |
| | | /// <summary> |
| | | /// 控件类的Resourse |
| | | /// </summary> |
| | | 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> |
| | | /// 画面TopFrameLayout的高度(高度:110) |
| | | /// </summary> |
| | | public static int TopFrameHeight = Application.GetRealHeight(110); |
| | | /// <summary> |
| | | /// 画面BodyFrameLayout的高度(不能直接指定数值,不然有可能会出现误差,导致无法铺满) |
| | | /// </summary> |
| | | public static int BodyFrameHeight |
| | | { |
| | | get { return UserView.HomePage.Instance.Height - TopMenuFrameHeight - TopFrameHeight; } |
| | | } |
| | | /// <summary> |
| | | /// 画面BottomFrameLayout的高度(高度:141 注:此变量在个人中心不使用) |
| | | /// </summary> |
| | | public static int BottomFrameHeight = Application.GetRealHeight(141); |
| | | /// <summary> |
| | | /// X轴左边的偏移量 |
| | | /// </summary> |
| | | public static int XXLeft = Application.GetRealWidth(58); |
| | | /// <summary> |
| | | /// VerticalScrolViewLayout控件一行的高度(只针对标准型列表式画面) |
| | | /// </summary> |
| | | public static int ListViewRowHeight = Application.GetRealHeight(127); |
| | | /// <summary> |
| | | /// 一般显示文字的控件的高度 |
| | | /// </summary> |
| | | public static int NormalControlHeight = Application.GetRealHeight(70); |
| | | /// <summary> |
| | | /// 点亮状态变更的等待时间 |
| | | /// </summary> |
| | | public static int StatuChangedWaitTime = 200; |
| | | /// <summary> |
| | | /// 底部按钮与VerticalScrolViewLayout控件底部的间距 |
| | | /// </summary> |
| | | public static int BottomButtonAndListViewSpace = Application.GetRealHeight(10); |
| | | /// <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 |
| | | } |
| | | } |