123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Threading.Tasks;
- namespace WpfTest1.Toolkits
- {
- //各种系统需要使用的常值
- public class Constants
- {
- //软件名称
- public static string softwareName = "劳拉核心体姿评测系统";
- //编译版本
- public static string version = "0.1.1.3";
- //编译日期
- public static string compileDate = "20200411";
- //加密狗验证所使用的pid
- public static string registerPid = "3DE6BA91";
- //加密狗验证所使用的uid
- public static string registerUid = "587E770BB077E785";
- //是否是生产环境
- public static bool productionEnvironment = false;
- //数据库物理地址
- public static string dbPath = System.Environment.CurrentDirectory + "\\Junde.db3";
- //数据库连接直接实用的连接字符串
- public static string Connstr = @"Data Source=" + System.Environment.CurrentDirectory + "\\Junde.db3";
- //报告存放目录
- public static string reportPath = System.Environment.CurrentDirectory + "\\reports";
- //各种静态素材
- public static string imgPath = System.Environment.CurrentDirectory + "\\image";
- //各种模板材料
- public static string template = System.Environment.CurrentDirectory + "\\template";
- //报告页眉的医院图标
- public static string reportHeadPicPath = Constants.imgPath + "\\reportHeadPic.png";
- public static readonly Dictionary<string, int> keyboardToDigit = new Dictionary<string, int>
- {
- { "D1", 1 },
- { "D2", 2 },
- { "D3", 3 },
- { "D4", 4 },
- { "D5", 5 },
- { "D6", 6 },
- { "D7", 7 },
- { "D8", 8 },
- { "D9", 9 },
- { "D0", 10 },
- };
- //厂家管理员的ID
- public static string adminUsername = "superman";
- }
- }
|