| | |
| | | using DevExpress.LookAndFeel; |
| | | using Mapster; |
| | | using System.IO; |
| | | using System.Reflection; |
| | | using Yw; |
| | | |
| | | namespace HStation.Desktop |
| | | { |
| | |
| | | |
| | | //皮肤 |
| | | //DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact); |
| | | DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.Bezier); |
| | | DevExpress.LookAndFeel.UserLookAndFeel.Default.SetSkinStyle(SkinStyle.WXICompact); |
| | | |
| | | // To customize application configuration such as set high DPI settings or default font, |
| | | // see https://aka.ms/applicationconfiguration. |
| | | ApplicationConfiguration.Initialize(); |
| | | |
| | | if (!LoginHelper.Login()) |
| | | { |
| | | return; |
| | | } |
| | | //if (!LoginHelper.Login()) |
| | | //{ |
| | | // return; |
| | | //} |
| | | |
| | | //Yw.FileFolderZipHelper.Zip(@"C:\Users\admin\Desktop\居家办公工作\RevitTest", @"C:\Users\admin\Desktop\居家办公工作\RevitTest.ywrvt"); |
| | | Yw.FileFolderZipHelper.Zip(@"C:\Users\admin\Desktop\居家办公工作\简单用例", @"C:\Users\admin\Desktop\居家办公工作\简单用例.ywrvt"); |
| | | |
| | | //var json = RevitTestHelper.GenerateJson(); |
| | | |
| | | //var jsonFileName = @"C:\Users\admin\Desktop\居家办公工作\二开压缩文件\hydro.json"; |
| | | //var jsonContent = File.ReadAllText(jsonFileName); |
| | | //var jsonModel = JsonHelper.Json2Object<HStation.Model.RevitModel>(jsonContent); |
| | | |
| | | //扫描全局DTO映射 |
| | | TypeAdapterConfig.GlobalSettings.Scan |