diff --git a/.gitignore b/.gitignore index 024e8a8e..73db3b25 100644 --- a/.gitignore +++ b/.gitignore @@ -961,3 +961,125 @@ bin/release/ /Learun.Application.Web/obj/Release/Package/PackageTmp/bin/Learun.Application.Web.dll /Learun.Application.Web/obj/Release/Package/PackageTmp/bin/Learun.Application.Web.pdb /Learun.Framework.Module/Learun.Application.Module/Learun.Application.TwoDevelopment/obj/Debug/DesignTimeResolveAssemblyReferencesInput.cache +/.vs/009/v17 +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF.dll +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF.pdb +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF_MarkupCompile.cache +/newFront/c#前端/SWS.WPF/obj/Debug/SWS.WPF_MarkupCompile.lref +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.dll +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.pdb +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.CustomControl.dll +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.CustomControl.pdb +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Event.dll +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Event.pdb +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.dll +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.pdb +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.dll +/newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.pdb +/newFront/c#前端/SWS.WPF/.vs +/newFront/c#前端/SWS.Service/obj/Debug/SWS.Service.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.Service/obj/Debug/SWS.Service.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.Service/obj/Debug/SWS.Service.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.Service/obj/Debug/SWS.Service.dll +/newFront/c#前端/SWS.Service/obj/Debug/SWS.Service.pdb +/newFront/c#前端/SWS.Service/bin/Debug/SWS.Commons.dll +/newFront/c#前端/SWS.Service/bin/Debug/SWS.Commons.pdb +/newFront/c#前端/SWS.Service/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.Service/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.Service/bin/Debug/SWS.Service.dll +/newFront/c#前端/SWS.Service/bin/Debug/SWS.Service.pdb +/newFront/c#前端/SWS.Service/.vs/SWS.Service.csproj.dtbcache.json +/newFront/c#前端/SWS.Model/obj/Debug/SWS.Model.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.Model/obj/Debug/SWS.Model.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.Model/obj/Debug/SWS.Model.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.Model/obj/Debug/SWS.Model.dll +/newFront/c#前端/SWS.Model/obj/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.Event/obj/Debug/SWS.Event.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.Event/obj/Debug/SWS.Event.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.Event/obj/Debug/SWS.Event.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.Event/obj/Debug/SWS.Event.dll +/newFront/c#前端/SWS.Event/obj/Debug/SWS.Event.pdb +/newFront/c#前端/SWS.Model/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.Model/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.Model/.vs/SWS.Model.csproj.dtbcache.json +/newFront/c#前端/SWS.Event/bin/Debug/SWS.Event.dll +/newFront/c#前端/SWS.Event/bin/Debug/SWS.Event.pdb +/newFront/c#前端/SWS.Event/.vs/SWS.Event.csproj.dtbcache.json +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical.dll +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical.g.resources +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical.pdb +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical_MarkupCompile.cache +/newFront/c#前端/SWS.Electrical/obj/Debug/SWS.Electrical_MarkupCompile.lref +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.CAD.Base.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.CAD.Base.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Commons.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Commons.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.CustomControl.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.CustomControl.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Electrical.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Electrical.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Event.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Event.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Service.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.Service.pdb +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.WPF.dll +/newFront/c#前端/SWS.Electrical/bin/Debug/SWS.WPF.pdb +/newFront/c#前端/SWS.Electrical/.vs/SWS.Electrical.csproj.dtbcache.json +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl.dll +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl.pdb +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl_MarkupCompile.cache +/newFront/c#前端/SWS.CustomControl/obj/Debug/SWS.CustomControl_MarkupCompile.lref +/newFront/c#前端/SWS.CustomControl/bin/Debug/SWS.CustomControl.dll +/newFront/c#前端/SWS.CustomControl/bin/Debug/SWS.CustomControl.pdb +/newFront/c#前端/SWS.CustomControl/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.CustomControl/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.CustomControl/.vs/SWS.CustomControl.csproj.dtbcache.json +/newFront/c#前端/SWS.Commons/obj/Debug/SWS.Commons.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.Commons/obj/Debug/SWS.Commons.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.Commons/obj/Debug/SWS.Commons.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.Commons/obj/Debug/SWS.Commons.dll +/newFront/c#前端/SWS.Commons/obj/Debug/SWS.Commons.pdb +/newFront/c#前端/SWS.Commons/bin/Debug/SWS.Commons.dll +/newFront/c#前端/SWS.Commons/bin/Debug/SWS.Commons.pdb +/newFront/c#前端/SWS.Commons/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.Commons/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.Commons/.vs/SWS.Commons.csproj.dtbcache.json +/newFront/c#前端/SWS.CAD.Base/obj/Debug/SWS.CAD.Base.csproj.AssemblyReference.cache +/newFront/c#前端/SWS.CAD.Base/obj/Debug/SWS.CAD.Base.csproj.CoreCompileInputs.cache +/newFront/c#前端/SWS.CAD.Base/obj/Debug/SWS.CAD.Base.csproj.FileListAbsolute.txt +/newFront/c#前端/SWS.CAD.Base/obj/Debug/SWS.CAD.Base.dll +/newFront/c#前端/SWS.CAD.Base/obj/Debug/SWS.CAD.Base.pdb +/newFront/c#前端/SWS.CAD.Base/bin/Debug/SWS.CAD.Base.dll +/newFront/c#前端/SWS.CAD.Base/bin/Debug/SWS.CAD.Base.pdb +/newFront/c#前端/SWS.CAD.Base/bin/Debug/SWS.Commons.dll +/newFront/c#前端/SWS.CAD.Base/bin/Debug/SWS.Commons.pdb +/newFront/c#前端/SWS.CAD.Base/bin/Debug/SWS.Model.dll +/newFront/c#前端/SWS.CAD.Base/bin/Debug/SWS.Model.pdb +/newFront/c#前端/SWS.CAD.Base/.vs/SWS.CAD.Base.csproj.dtbcache.json +/newFront/c#前端/SWS.CAD/.vs/SWS.CAD.csproj.dtbcache.json +/newFront/c#前端/DI-Electrical/.vs/DI-Electrical.csproj.dtbcache.json +/newFront/c#前端/CAD.Extend/.vs/CAD.Extend.csproj.dtbcache.json +/newFront/c#前端/.vs/SWS.CAD/v17/.suo +/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.backup.json +/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.json +/newFront/c#前端/.vs/SWS.CAD/v17/fileList.bin +/.vs/VSWorkspaceState.json +/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/3ad7c96f-983b-4ac1-9f92-f5a7901a6021.vsidx +/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/815c1f12-618a-42f1-9f48-530a4fe7066c.vsidx +/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/cfdccd18-8f13-4a54-aace-917e664fe014.vsidx +/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/da4d986e-a00f-4854-84e3-051892159db9.vsidx +/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/f3f7e679-645b-4fe3-a724-f2e55e8cd4fe.vsidx +/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/f843a722-ec3e-425b-a704-f3537ea54b49.vsidx diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json deleted file mode 100644 index 6b611411..00000000 --- a/.vs/VSWorkspaceState.json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "ExpandedNodes": [ - "" - ], - "PreviewInSolutionExplorer": false -} \ No newline at end of file diff --git a/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/cfdccd18-8f13-4a54-aace-917e664fe014.vsidx b/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/cfdccd18-8f13-4a54-aace-917e664fe014.vsidx deleted file mode 100644 index db5c76af..00000000 Binary files a/newFront/c#前端/.vs/SWS.CAD/FileContentIndex/cfdccd18-8f13-4a54-aace-917e664fe014.vsidx and /dev/null differ diff --git a/newFront/c#前端/.vs/SWS.CAD/v17/.suo b/newFront/c#前端/.vs/SWS.CAD/v17/.suo deleted file mode 100644 index 9f97253c..00000000 Binary files a/newFront/c#前端/.vs/SWS.CAD/v17/.suo and /dev/null differ diff --git a/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.backup.json b/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.backup.json deleted file mode 100644 index b689acee..00000000 --- a/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.backup.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "E:\\Di-Elec\\009_DI-Elec\\newFront\\c#\u524D\u7AEF\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{7AFF9117-78E7-4395-9F23-6DCFE09F9299}|SWS.WPF\\SWS.WPF.csproj|e:\\di-elec\\009_di-elec\\newfront\\c#\u524D\u7AEF\\sws.wpf\\viewmodels\\dialogsignalmanagementvm\\dialogsignalmanagementviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{7AFF9117-78E7-4395-9F23-6DCFE09F9299}|SWS.WPF\\SWS.WPF.csproj|solutionrelative:sws.wpf\\viewmodels\\dialogsignalmanagementvm\\dialogsignalmanagementviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 2, - "Children": [ - { - "$type": "Bookmark", - "Name": "ST:0:0:{f2e84780-2af1-11d1-a7fa-00a0c9110051}" - }, - { - "$type": "Bookmark", - "Name": "ST:1787071360:0:{81164725-9a96-4ece-a4cb-440d8fd285e5}" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "DialogSignalManagementViewModel.cs", - "DocumentMoniker": "E:\\Di-Elec\\009_DI-Elec\\newFront\\c#\u524D\u7AEF\\SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "RelativeDocumentMoniker": "SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "ToolTip": "E:\\Di-Elec\\009_DI-Elec\\newFront\\c#\u524D\u7AEF\\SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "RelativeToolTip": "SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "ViewState": "AgIAAIgBAAAAAAAAAAAgwMkDAABLAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-08-15T09:22:56.821Z", - "EditorCaption": "" - } - ] - }, - { - "DockedWidth": 184, - "SelectedChildIndex": -1, - "Children": [ - { - "$type": "Bookmark", - "Name": "ST:1:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" - }, - { - "$type": "Bookmark", - "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.json b/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.json deleted file mode 100644 index 7bc46f92..00000000 --- a/newFront/c#前端/.vs/SWS.CAD/v17/DocumentLayout.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "Version": 1, - "WorkspaceRootPath": "E:\\Di-Elec\\009_DI-Elec\\newFront\\c#\u524D\u7AEF\\", - "Documents": [ - { - "AbsoluteMoniker": "D:0:0:{7AFF9117-78E7-4395-9F23-6DCFE09F9299}|SWS.WPF\\SWS.WPF.csproj|e:\\di-elec\\009_di-elec\\newfront\\c#\u524D\u7AEF\\sws.wpf\\viewmodels\\dialogsignalmanagementvm\\dialogsignalmanagementviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{7AFF9117-78E7-4395-9F23-6DCFE09F9299}|SWS.WPF\\SWS.WPF.csproj|solutionrelative:sws.wpf\\viewmodels\\dialogsignalmanagementvm\\dialogsignalmanagementviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" - } - ], - "DocumentGroupContainers": [ - { - "Orientation": 0, - "VerticalTabListWidth": 256, - "DocumentGroups": [ - { - "DockedWidth": 200, - "SelectedChildIndex": 2, - "Children": [ - { - "$type": "Bookmark", - "Name": "ST:0:0:{f2e84780-2af1-11d1-a7fa-00a0c9110051}" - }, - { - "$type": "Bookmark", - "Name": "ST:1787071360:0:{81164725-9a96-4ece-a4cb-440d8fd285e5}" - }, - { - "$type": "Document", - "DocumentIndex": 0, - "Title": "DialogSignalManagementViewModel.cs", - "DocumentMoniker": "E:\\Di-Elec\\009_DI-Elec\\newFront\\c#\u524D\u7AEF\\SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "RelativeDocumentMoniker": "SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "ToolTip": "E:\\Di-Elec\\009_DI-Elec\\newFront\\c#\u524D\u7AEF\\SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "RelativeToolTip": "SWS.WPF\\ViewModels\\DialogSignalManagementVM\\DialogSignalManagementViewModel.cs", - "ViewState": "AgIAAJsBAAAAAAAAAAAowMkDAABLAAAAAAAAAA==", - "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", - "WhenOpened": "2025-08-15T09:22:56.821Z", - "EditorCaption": "" - } - ] - }, - { - "DockedWidth": 184, - "SelectedChildIndex": -1, - "Children": [ - { - "$type": "Bookmark", - "Name": "ST:1:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" - }, - { - "$type": "Bookmark", - "Name": "ST:0:0:{3ae79031-e1bc-11d0-8f78-00a0c9110057}" - } - ] - } - ] - } - ] -} \ No newline at end of file diff --git a/newFront/c#前端/.vs/SWS.CAD/v17/fileList.bin b/newFront/c#前端/.vs/SWS.CAD/v17/fileList.bin deleted file mode 100644 index 65b17308..00000000 Binary files a/newFront/c#前端/.vs/SWS.CAD/v17/fileList.bin and /dev/null differ diff --git a/newFront/c#前端/CAD.Extend/.vs/CAD.Extend.csproj.dtbcache.json b/newFront/c#前端/CAD.Extend/.vs/CAD.Extend.csproj.dtbcache.json deleted file mode 100644 index 2f4a7bd4..00000000 --- a/newFront/c#前端/CAD.Extend/.vs/CAD.Extend.csproj.dtbcache.json +++ /dev/null @@ -1 +0,0 @@ -{"RootPath":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\CAD.Extend","ProjectFileName":"CAD.Extend.csproj","Configuration":"Debug|AnyCPU","FrameworkPath":"","Sources":[{"SourceFile":"Commands.cs"},{"SourceFile":"GlobalObject.cs"},{"SourceFile":"Model\\KeyValueModel.cs"},{"SourceFile":"Properties\\AssemblyInfo.cs"},{"SourceFile":"ViewModels\\DialogConvertBaseMapViewModel.cs"},{"SourceFile":"ViewModels\\myViewModelBase\\DialogBase.cs"},{"SourceFile":"Views\\CustomControl\\customWindowTitleBar.xaml.cs"},{"SourceFile":"Views\\CustomDialogWindow.xaml.cs"},{"SourceFile":"Views\\DialogConvertBaseMap.xaml.cs"},{"SourceFile":"obj\\Debug\\.NETFramework,Version=v4.8.AssemblyAttributes.cs"}],"References":[{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\DryIoc.dll.5.4.3\\lib\\net45\\DryIoc.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Microsoft.Bcl.AsyncInterfaces.8.0.0\\lib\\net462\\Microsoft.Bcl.AsyncInterfaces.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\Microsoft.CSharp.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Microsoft.Extensions.DependencyInjection.Abstractions.8.0.1\\lib\\net462\\Microsoft.Extensions.DependencyInjection.Abstractions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Microsoft.Xaml.Behaviors.Wpf.1.1.122\\lib\\net462\\Microsoft.Xaml.Behaviors.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\mscorlib.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\PresentationCore.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\PresentationFramework.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Container.Abstractions.9.0.106\\lib\\net47\\Prism.Container.Abstractions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Container.DryIoc.9.0.106\\lib\\net47\\Prism.Container.DryIoc.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Container.Unity.9.0.106\\lib\\net462\\Prism.Container.Unity.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Core.9.0.537\\lib\\net47\\Prism.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.DryIoc.9.0.537\\lib\\net47\\Prism.DryIoc.Wpf.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Events.9.0.537\\lib\\net47\\Prism.Events.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Unity.9.0.537\\lib\\net47\\Prism.Unity.Wpf.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Prism.Wpf.9.0.537\\lib\\net47\\Prism.Wpf.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD.Base\\bin\\Debug\\SWS.CAD.Base.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":true,"ProjectPath":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD.Base\\bin\\Debug\\SWS.CAD.Base.dll"},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Configuration.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Core.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.DataSetExtensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Drawing.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Net.Http.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\System.Runtime.CompilerServices.Unsafe.4.5.3\\lib\\net461\\System.Runtime.CompilerServices.Unsafe.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\System.Threading.Tasks.Extensions.4.5.4\\lib\\net461\\System.Threading.Tasks.Extensions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\System.ValueTuple.4.5.0\\lib\\net47\\System.ValueTuple.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Web.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Windows.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Windows.Forms.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xaml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\System.Xml.Linq.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Controls.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Controls.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Controls.FileDialogs.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Controls.GridView.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Controls.Input.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Controls.Navigation.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\SWS.CAD\\RefDLL\\WPF45\\Telerik.Windows.Data.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Unity.Abstractions.5.11.7\\lib\\net48\\Unity.Abstractions.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\packages\\Unity.Container.5.11.11\\lib\\net48\\Unity.Container.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""},{"Reference":"C:\\Program Files (x86)\\Reference Assemblies\\Microsoft\\Framework\\.NETFramework\\v4.8\\WindowsBase.dll","ResolvedFrom":"","OriginalItemSpec":"","Name":"","EmbedInteropTypes":false,"CopyLocal":false,"IsProjectReference":false,"ProjectPath":""}],"Analyzers":[],"Outputs":[{"OutputItemFullPath":"E:\\Di-Elec\\009_DI-Elec\\newFront\\c#前端\\CAD.Extend\\bin\\Debug\\CAD.Extend.dll","OutputItemRelativePath":"CAD.Extend.dll"},{"OutputItemFullPath":"","OutputItemRelativePath":""}],"CopyToOutputEntries":[]} \ No newline at end of file diff --git a/newFront/c#前端/CAD.Extend/Images/pic1.png b/newFront/c#前端/CAD.Extend/Images/pic1.png new file mode 100644 index 00000000..ca04b926 Binary files /dev/null and b/newFront/c#前端/CAD.Extend/Images/pic1.png differ diff --git a/newFront/c#前端/CAD.Extend/Model/KeyValueModel.cs b/newFront/c#前端/CAD.Extend/Model/KeyValueModel.cs new file mode 100644 index 00000000..5e73d672 --- /dev/null +++ b/newFront/c#前端/CAD.Extend/Model/KeyValueModel.cs @@ -0,0 +1,42 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace CAD.Extend.Model +{ + public class KeyValueModel + { + private string _Key; + /// + /// Key + /// + public string Key + { + get + { + return _Key; + } + set + { + _Key = value; + } + } + private string _Value; + /// + /// Key + /// + public string Value + { + get + { + return _Value; + } + set + { + _Value = value; + } + } + } +} diff --git a/newFront/c#前端/CAD.Extend/ViewModels/myViewModelBase/DialogBase.cs b/newFront/c#前端/CAD.Extend/ViewModels/myViewModelBase/DialogBase.cs new file mode 100644 index 00000000..36196a16 --- /dev/null +++ b/newFront/c#前端/CAD.Extend/ViewModels/myViewModelBase/DialogBase.cs @@ -0,0 +1,88 @@ +using Bricscad.ApplicationServices; +using Bricscad.Windows; +using Prism.Dialogs; +using Prism.Ioc; +using System; +using System.Collections.Generic; +using System.ComponentModel; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using System.Windows.Input; +using Telerik.Windows.Controls; +using Unity; + +namespace CAD.Extend.ViewModels +{ + /// + /// abstract 不同于接口,可以实现具体的代码 + /// + public abstract class DialogBase : ViewModelBase + { + public DialogBase() + { + _dialogService = GlobalObject._prismContainer.Resolve(); + window_loaded = new DelegateCommand(onWindow_loaded); + CloseCommand = new DelegateCommand(ExecuteCloseCommand); + OKCommand = new DelegateCommand(ExecuteOKCommandAsync); + + } + #region binding + private bool _isbusy; + + public bool IsBusy + { + get { return _isbusy; } + set { _isbusy = value; RaisePropertyChanged(nameof(IsBusy)); } + } + private string _BusyContent; + + public string BusyContent + { + get { return _BusyContent; } + set { _BusyContent = value; RaisePropertyChanged(nameof(BusyContent)); } + } + + /// + /// 加载后 + /// + public ICommand window_loaded { get; } + public ICommand CloseCommand { get; } + + public ICommand OKCommand { get; } + private string _title; + + public string title + { + get { return _title; } + set { _title = value; RaisePropertyChanged(nameof(title)); } + } + #endregion + IUnityContainer _unityContainer; + public readonly IDialogService _dialogService; + /// + /// CODE-BEHAND里设置为this.close以关闭。调用时,.invoke即可 + /// + public Action CloseWindowAction { get; set; } + /// + /// virtual 可以重写 + /// + /// + public virtual void ExecuteCloseCommand(object parameter) + { + // 关闭窗口 (需要通过 CommandParameter 传入窗口实例) + if (parameter is System.Windows.Window window) + { + window.Close(); + } + } + public virtual void onWindow_loaded(object para) + { + + } + public virtual void ExecuteOKCommandAsync(object para) + { + + } + } +} diff --git a/newFront/c#前端/CAD.Extend/Views/CustomControl/customWindowTitleBar.xaml b/newFront/c#前端/CAD.Extend/Views/CustomControl/customWindowTitleBar.xaml new file mode 100644 index 00000000..d186402d --- /dev/null +++ b/newFront/c#前端/CAD.Extend/Views/CustomControl/customWindowTitleBar.xaml @@ -0,0 +1,45 @@ + + + + + + + + + + +