using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace WeighBusiness
{
partial class ConfigUtil
{
///
/// 终端用户。与系统中的存货、客户配置表中的终端用户相对应。
///
public static string TerminalUser { get; private set; }//终端用户
///
/// 登陆系统的用户名
///
public static string UserName { get; private set; }//登陆系统的用户名
///
/// 登陆系统的密码
///
public static string UserPassword { get; private set; }//登陆系统的密码
///
/// 系统IP。
/// 如:http://localhost 或 http://192.168.1.1
///
public static string HostAddress { get; private set; }//系统IP。如:http://localhost 或 http://192.168.1.1
///
/// 背景图片名
///
public static string BackgroundImageName { get; private set; }//背景图片名
///
/// 登陆信息
///
public static string Ticket { get; set; }//登陆信息
#region 打印设置
///
/// 标题
///
public static string Title { get; private set; }//标题
///
/// 标题字号
///
public static double TitleFont { get; private set; }//标题字号
///
/// 标题左边距
///
public static double TitleMarginLeft { get; private set; }//标题左边距
///
/// 页宽
///
public static double PageWidth { get; private set; }//页宽
///
/// 左边距
///
public static double MarginLeft { get; private set; }//左边距
///
/// 顶边距
///
public static double MarginTop { get; private set; }//顶边距
///
/// 字号
///
public static int FontSize { get; private set; }//字号
///
/// 页脚字号
///
public static int FontSize_Footer { get; private set; }//页脚字号
///
/// 列。多个列之间以英文逗号隔开
///
public static IList ColumnNames { get; private set; }//列。多个列之间以英文逗号隔开
///
/// 列宽。多个列宽之间以英文逗号隔开
///
public static IList ColumnWidths { get; private set; }//列宽。多个列宽之间以英文逗号隔开
///
/// 表前信息。多行文字之间以英文逗号隔开
///
public static IList InforsBeforeHead { get; private set; }//表前信息。多行文字之间以英文逗号隔开
///
/// 表前信息字号
///
public static int FontSize_InforsBeforeHead { get; private set; }//表前信息字号
///
/// 页脚前信息。多行文字之间以英文逗号隔开
///
public static IList InforsBeforeFooter { get; private set; }//页脚前信息。多行文字之间以英文逗号隔开
///
/// 页脚后信息。多行文字之间以英文逗号隔开
///
public static IList InforsAfterFooter { get; private set; }//页脚后信息。多行文字之间以英文逗号隔开
///
/// 页脚前信息字号
///
public static int FontSize_InforsBeforeFooter { get; private set; }//页脚前信息字号
///
/// 页脚后信息字号
///
public static int FontSize_InforsAfterFooter { get; private set; }//页脚后信息字号
///
/// 是否使用默认打印机打印
///
public static bool IsUsingDefualtPrinter { get; private set; }//是否使用默认打印机打印
///
/// 行距
///
public static double LineDistance { get; private set; }//行距
///
/// 表头列数
///
public static int HeaderColumnsCount { get; private set; }//表头列数
///
/// 表头名称字数(指“仓库”、“购货客户”等)
///
public static int HeaderCharCount { get; private set; }//表头名称字数(指“仓库”、“购货客户”等)
///
/// 清单最大行数
///
public static int DetailMaxRows { get; private set; }//清单最大行数
#endregion
#region 默认设置//默认设置分两部分,以逗号隔开:第一部分为ID;第二部分为Name
///
/// 客户ID
///
public static long? DefaultBuyerID { get; private set; }//默认客户ID
///
/// 客户Name
///
public static string DefaultBuyerName { get; private set; }//默认客户Name
///
/// 仓库ID
///
public static long? DefaultStoreID { get; private set; }//默认仓库ID
///
/// 仓库Name
///
public static string DefaultStoreName { get; private set; }//默认仓库Name
#endregion
///
/// 打印前执行的操作
///
public static IList OperatonsBeforePrint { get; private set; }// 打印前执行的操作
///
/// 数据库路径(包括名称,后缀不限)(只给出名称,则在程序所在文件夹下)
///
public static string DatabasePath { get; set; }
///
/// 客户端登陆密码
///
public static string LoginPassword { get; set; }
///
/// 使用存货分类
///
public static bool IsUseGoodsClass { get; set; }//使用存货分类
#region 按钮设置
public static bool GoodsButtonShowType { get; set; }//存货按钮上显示规格
public static bool GoodsButtonShowStock { get; set; }//存货按钮上显示库存
public static int StoreButtonHeight { get; set; }//仓库按钮高度。默认40
public static int StoreButtonDistance { get; set; }//仓库按钮间距。默认4
public static int StoreButtonWidth { get; set; }//仓库按钮宽度。默认140
public static int StoreButtonColumnsCount { get; set; }//仓库按钮列数。默认3
public static int StoreButtonRowsCount { get; set; }//仓库按钮行数。默认13
public static int GoodsButtonHeight { get; set; }//存货按钮高度。默认40
public static int GoodsButtonDistance { get; set; }//存货按钮间距。默认4
public static int GoodsButtonWidth { get; set; }//存货按钮宽度。默认140
public static int GoodsButtonColumnsCount { get; set; }//存货按钮列数。默认3
public static int GoodsButtonRowsCount { get; set; }//存货按钮行数。默认13
public static int GoodsClassButtonHeight { get; set; }//存货分类按钮高度。默认40
public static int GoodsClassButtonDistance { get; set; }//存货分类按钮间距。默认4
public static int GoodsClassButtonWidth { get; set; }//存货分类按钮宽度。默认140
public static int GoodsClassButtonColumnsCount { get; set; }//存货分类按钮列数。默认3
public static int GoodsClassButtonRowsCount { get; set; }//存货分类按钮行数。默认13
public static int CarButtonHeight { get; set; }//车辆按钮高度。默认40
public static int CarButtonDistance { get; set; }//车辆按钮间距。默认4
public static int CarButtonWidth { get; set; }//车辆按钮宽度。默认140
public static int CarButtonColumnsCount { get; set; }//车辆按钮列数。默认3
public static int CarButtonRowsCount { get; set; }//车辆按钮行数。默认13
#endregion
#region 键盘区、键盘上方
public static int KeyButtonWidth { get; set; }//键盘按键宽度
public static int KeyButtonHeight { get; set; }//键盘按键高度
public static int KeyButtonDistance { get; set; }//键盘按键间距
public static int KeyButtonWordSize { get; set; }//键盘文字大小
public static int KeyButtonAreaHeight { get; set; }//键盘区高度
public static int KeyButtonAreaWidth { get; set; }//键盘区宽度
public static int ButtonsNearKeyButtonWidth { get; set; }//键盘旁边按钮宽度
public static int ButtonsNearKeyButtonHeight { get; set; }//键盘旁边按钮高度
public static int ButtonsNearKeyButtonDistance { get; set; }//键盘旁边按钮间距
public static int ButtonsNearKeyButtonOffset { get; set; }//键盘旁边按钮偏移
public static int ButtonsUpKeyButtonWidth { get; set; }//键盘上方按钮宽度
public static int ButtonsUpKeyButtonHeight { get; set; }//键盘上方按钮高度
public static int ButtonsUpKeyButtonDistance { get; set; }//键盘上方按钮间距
public static int ButtonsAreaUpKeyButtonHeight { get; set; }//键盘上方区域高度
public static bool IsShowAuxiliaryLine { get; set; }//显示辅助线
#endregion
#region 表格配置
public static int BillDetailMaxRows { get; set; }//单据清单最大行数
public static int ListMaxRows { get; set; }//查询列表最大行数
public static int GoodsNameColumnWidth { get; set; }//清单存货列列宽
#endregion
public static string ConfigFilePathAndName { get; private set; }
public static string ApplicationPath { get; private set; }
}
}