File was renamed from ZigbeeApp/Shared/Phone/UserCenter/CommonBase/Resourse/DirectoryFileNameResourse.cs |
| | |
| | | using System.Collections.Generic; |
| | | using System.Text; |
| | | |
| | | namespace Shared.Phone.UserCenter |
| | | namespace Shared.Phone |
| | | { |
| | | /// <summary> |
| | | /// <para>文件夹,文件的名字的定义Resourse(为了防止别人一目了然破解,加密一下这个东西)</para> |
| | | /// <para>暂定密匙:4^Olh_3f</para> |
| | | /// </summary> |
| | | public class DirNameResourse |
| | | public class HdlFileNameResourse |
| | | { |
| | | #region ■ 程序目录文件夹相关_____________________________ |
| | | |
| | | /// <summary> |
| | | /// 检测引导的【文件】 |
| | | /// </summary> |
| | | public static string GuideFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "cad1afb384fb482de753fc37ebe84f9e"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 存放升级固件的【文件夹】 |
| | | /// </summary> |
| | | public static string FirmwareUpdateDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "5b78084db39091e2f9144bc6209e3001e0328e968d16adbc"); } |
| | | } |
| | | /// <summary> |
| | | /// 存放升级固件列表名字的【文件】 |
| | | /// </summary> |
| | | public static string FirmwareUpdateList |
| | | { |
| | | get { return System.IO.Path.Combine(FirmwareUpdateDirectory, "5b78084db39091e2ee87891aa45d2c1ffc005ce4b9d67f51"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 调试极光发送ID的【文件】 |
| | | /// </summary> |
| | | public static string JiguangFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "e509ddd21100cb994f509fb28c2e4dd6"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存Log的【文件夹】 |
| | | /// </summary> |
| | | public static string LogDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "820c65b54b6f3f2a"); } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 账号文件夹相关_________________________________ |
| | | |
| | | /// <summary> |
| | | /// 存放与账号信息关联的【文件夹】 |
| | | /// </summary> |
| | | public static string AccountDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, Common.Config.Instance.Guid); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存用户个人信息的【文件】 |
| | | /// </summary> |
| | | public static string UserInfoFile |
| | | { |
| | | get { return System.IO.Path.Combine(AccountDirectory, "c24d43aab01bbe521535c9fae517ffab"); } |
| | | } |
| | | /// <summary> |
| | | /// 存放用户图片的【文件夹】 |
| | | /// </summary> |
| | | public static string UserPictrueDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(AccountDirectory, "e3263f227598072fef2a204fb1656cd2"); } |
| | | } |
| | | /// <summary> |
| | | /// 账号头像的地址【文件】 |
| | | /// </summary> |
| | | public static string UserHeadIconFile |
| | | { |
| | | get { return System.IO.Path.Combine(UserPictrueDirectory, "Admin.png"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存账号配置的【文件】 |
| | | /// </summary> |
| | | public static string AccountOptionFile |
| | | { |
| | | get { return System.IO.Path.Combine(AccountDirectory, "d33690329dfdf2e5dcce0280893b95a0db47b5be13b46aa0"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 所有住宅的模板缓存存放的【文件夹】 |
| | | /// </summary> |
| | | public static string AllResidenceTemplateDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(AccountDirectory, "f8e712a42227d8f6a8208b076c7e132fe9869f7f0aff3d37"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存意见反馈次数的【文件】 |
| | | /// </summary> |
| | | public static string SuggestionFile |
| | | { |
| | | get { return System.IO.Path.Combine(AccountDirectory, "f782709778b751ef2b3840f17e407ead"); } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 住宅文件夹相关_________________________________ |
| | | |
| | | /// <summary> |
| | | /// 干接点私有属性的保存文件 |
| | | /// </summary> |
| | | public static string DryContactFunctionFile |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "10afbada0199511de13edc60259ed03e6ebc817d8a53adce"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 临时保存当前本地全部文件的【文件夹】 |
| | | /// </summary> |
| | | public static string TemporaryBackupLocalFileDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "eaa527389defe69899beb6df9a83228b281b4e57a63a654de1ad6d01ab956907"); } |
| | | } |
| | | /// <summary> |
| | | /// 临时保存本地当前全部模板文件的【文件夹】 |
| | | /// </summary> |
| | | public static string TemporaryBackupTemplateFileDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(TemporaryBackupLocalFileDirectory, "f8e712a42227d8f6df0aa223fe0a1eda"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 存放生成发送给网关的各种模板数据的【文件夹】 |
| | | /// </summary> |
| | | public static string CreatSendToGwTemplateDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "96048b35f1d3d43725b1b2d7240878f804c003969e26330cd5afe42f509b63c7"); } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 住宅缓存文件夹相关_____________________________ |
| | | |
| | | /// <summary> |
| | | /// 本地缓存的根目录【文件夹】,不需要备份,也不需要上传,只用于当前手机的缓存 |
| | | /// </summary> |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "43ae770b6035427b21bddd7e6a1eeb88"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 自动备份【文件夹】(编辑,追加) |
| | | /// </summary> |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "b4137733cb527d033a3f63d2b32cd6e0f886eef3cee19601"); } |
| | | } |
| | | /// <summary> |
| | | /// 保存用户个人信息的【文件】 |
| | | /// </summary> |
| | | public static string UserInfoFile |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "c24d43aab01bbe521535c9fae517ffab"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存断网时候,备份网关id用的【文件】 |
| | | /// </summary> |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "9479e724666d970fb9ae5dff2b739cf1bc8c1a95d63bf182dc8f290cac98592f"); } |
| | | } |
| | | /// <summary> |
| | | /// 干接点私有属性的保存文件 |
| | | /// </summary> |
| | | public static string DryContactFunctionFile |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "10afbada0199511de13edc60259ed03e6ebc817d8a53adce"); } |
| | | } |
| | | /// <summary> |
| | | /// 存放用户图片的【文件夹】 |
| | | /// </summary> |
| | | public static string UserPictrueDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, Common.Config.Instance.Guid, "e3263f227598072fef2a204fb1656cd2"); } |
| | | } |
| | | /// <summary> |
| | | /// 保存账号配置的【文件】 |
| | | /// </summary> |
| | | public static string AccountOptionFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, Common.Config.Instance.Guid, "d33690329dfdf2e5dcce0280893b95a0db47b5be13b46aa0"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 保存住宅配置的【文件】 |
| | | /// </summary> |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "b79583bed6909a52849eaea268449aee15f29d3bdf8b5ca3"); } |
| | | } |
| | | /// <summary> |
| | | /// 保存Log的【文件夹】 |
| | | /// </summary> |
| | | public static string LogDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "820c65b54b6f3f2a"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 是否自动下载云端的备份数据的【判断文件】 |
| | | /// </summary> |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "93ee2d7241c3d19d7d94317f51a94d7fab1400f8f4f37a5a"); } |
| | | } |
| | | /// <summary> |
| | | /// 物理设备属于哪个房间的【文件】 |
| | | /// </summary> |
| | | public static string DeviceRoomIdFile |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "020945dd7966a7550090d3c04a04d93cd2278eb4e6aebcf6"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 本地模板缓存存放的【文件夹】 |
| | | /// </summary> |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "1180648b252f370b18565d54115f2bece19fcc9985dd1f70"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 所有住宅的模板缓存存放的【文件夹】 |
| | | /// </summary> |
| | | public static string AllResidenceTemplateDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(IO.FileUtils.RootPath, Common.Config.Instance.Guid, "f8e712a42227d8f6a8208b076c7e132fe9869f7f0aff3d37"); } |
| | | } |
| | | /// <summary> |
| | | /// 保存设备选择的模板的【文件】 |
| | | /// </summary> |
| | | public static string DeviceTemplateSelectFile |
| | |
| | | { |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "fdac0d1dd857d946a524feb8ae4e69ecb048333261cb41f5fcc9932b35b09c2f"); } |
| | | } |
| | | /// <summary> |
| | | /// 临时保存当前本地全部文件的【文件夹】 |
| | | /// </summary> |
| | | public static string TemporaryBackupLocalFileDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "eaa527389defe69899beb6df9a83228b281b4e57a63a654de1ad6d01ab956907"); } |
| | | } |
| | | /// <summary> |
| | | /// 临时保存本地当前全部模板文件的【文件夹】 |
| | | /// </summary> |
| | | public static string TemporaryBackupTemplateFileDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(TemporaryBackupLocalFileDirectory, "f8e712a42227d8f6df0aa223fe0a1eda"); } |
| | | } |
| | | /// <summary> |
| | | /// 保存意见反馈次数的【文件】 |
| | | /// </summary> |
| | | public static string SuggestionFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, Common.Config.Instance.Guid, "f782709778b751ef2b3840f17e407ead"); } |
| | | } |
| | | /// <summary> |
| | | /// 检测引导的【文件】 |
| | | /// </summary> |
| | | public static string GuideFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "cad1afb384fb482de753fc37ebe84f9e"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 记录发送和接收的数据Log |
| | | /// </summary> |
| | | public static string SendAndReceveDataLog |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, LocalMemoryDirectory, "SendAndReceveLog.log"); } |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "SendAndReceveLog.log"); } |
| | | } |
| | | /// <summary> |
| | | /// 记录SocketReceive数据Log |
| | | /// </summary> |
| | | public static string SocketReceiveDataLog |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, LocalMemoryDirectory, "SocketReceiveDataLog.log"); } |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "SocketReceiveDataLog.log"); } |
| | | } |
| | | /// <summary> |
| | | /// 存放升级固件的【文件夹】 |
| | | /// </summary> |
| | | public static string FirmwareUpdateDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "5b78084db39091e2f9144bc6209e3001e0328e968d16adbc"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 存放升级固件列表名字的【文件】 |
| | | /// 保存处理模板数据所需要的时间的【文件】 |
| | | /// </summary> |
| | | public static string FirmwareUpdateList |
| | | public static string AdjustTemplateTimeFile |
| | | { |
| | | get { return System.IO.Path.Combine(FirmwareUpdateDirectory, "5b78084db39091e2ee87891aa45d2c1ffc005ce4b9d67f51"); } |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "AdjustTemplateTimeFile"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 调试极光发送ID的【文件】 |
| | | /// 保存模板导入网关的数量信息的【文件】 |
| | | /// </summary> |
| | | public static string JiguangFile |
| | | public static string ImportCommonInfoFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "e509ddd21100cb994f509fb28c2e4dd6"); } |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "ImportCommonInfoFile"); } |
| | | } |
| | | |
| | | /// <summary> |
| | | /// 系统出现异常的debugLog【文件】 |
| | | /// 保存模板导入网关的S文件总信息的【文件】 |
| | | /// </summary> |
| | | public static string SystemLogFile |
| | | public static string SFileDataFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "31c39877f9e6a6f2950d571a7ad20400"); } |
| | | get { return System.IO.Path.Combine(LocalMemoryDirectory, "SFileDataFile"); } |
| | | } |
| | | /// <summary> |
| | | /// 存放生成发送给网关的各种模板数据的【文件夹】 |
| | | /// </summary> |
| | | public static string CreatSendToGwTemplateDirectory |
| | | { |
| | | get { return System.IO.Path.Combine(Common.Config.Instance.FullPath, "96048b35f1d3d43725b1b2d7240878f804c003969e26330cd5afe42f509b63c7"); } |
| | | } |
| | | |
| | | #endregion |
| | | |
| | | #region ■ 其他文件文件___________________________________ |
| | | |
| | | /// <summary> |
| | | /// 分享楼层的【文件名】 |
| | | /// </summary> |
| | | public const string ShardFloorFile = "5f05f7a6f26c51d1b096dc777f6c02f2"; |
| | | /// <summary> |
| | | /// 打开Gbs的判断【文件】(临时) |
| | | /// </summary> |
| | | public static string OpenGbsFile |
| | | { |
| | | get { return System.IO.Path.Combine(Shared.IO.FileUtils.RootPath, "cd8f75492cb65ef0951442460336db62"); } |
| | | } |
| | | |
| | | //------------------------以下为辅助文件------------------------ |
| | | #endregion |
| | | |
| | | #region ■ 辅助文件_______________________________________ |
| | | |
| | | /// <summary> |
| | | /// 显示功能菜单的【标识文件】,不加密 |
| | | /// </summary> |
| | |
| | | /// 功能备份的名字 这个东西不加密 |
| | | /// </summary> |
| | | public const string OptionBackupName = "##Option##"; |
| | | |
| | | #endregion |
| | | } |
| | | } |