电气前端提交
This commit is contained in:
parent
a846532224
commit
770ab0e034
231
newFront/c#前端/SWS.CAD.sln
Normal file
231
newFront/c#前端/SWS.CAD.sln
Normal file
@ -0,0 +1,231 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.7.34221.43
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.CAD", "SWS.CAD\SWS.CAD.csproj", "{6BD9B3FC-7D55-4762-AF68-A50183342537}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CAD.Extend", "CAD.Extend\CAD.Extend.csproj", "{8740B023-B585-4E69-8521-4F62FA754A1B}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.Model", "SWS.Model\SWS.Model.csproj", "{1995385B-D1B0-4C55-835E-D3E769972A6A}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.Service", "SWS.Service\SWS.Service.csproj", "{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.CAD.Base", "SWS.CAD.Base\SWS.CAD.Base.csproj", "{D4A15774-1469-45A0-9EFF-771271764A00}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.Commons", "SWS.Commons\SWS.Commons.csproj", "{9AC724F6-883D-4357-9422-602748F25B69}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.Event", "SWS.Event\SWS.Event.csproj", "{2C965C14-FE5C-4DC6-91E4-CDD333E38436}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.CustomControl", "SWS.CustomControl\SWS.CustomControl.csproj", "{2DCF996E-063B-4B95-8530-28F6DF0DA58A}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.Electrical", "SWS.Electrical\SWS.Electrical.csproj", "{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}"
|
||||||
|
EndProject
|
||||||
|
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "启动项目", "启动项目", "{00C64D96-E9F1-4525-A542-C7D23206B2E4}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "DI-Electrical", "DI-Electrical\DI-Electrical.csproj", "{924A2824-BE62-42A7-81A8-49BEFCB3801F}"
|
||||||
|
EndProject
|
||||||
|
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "SWS.WPF", "SWS.WPF\SWS.WPF.csproj", "{7AFF9117-78E7-4395-9F23-6DCFE09F9299}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Debug|ARM64 = Debug|ARM64
|
||||||
|
Debug|x64 = Debug|x64
|
||||||
|
Debug|x86 = Debug|x86
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
Release|ARM64 = Release|ARM64
|
||||||
|
Release|x64 = Release|x64
|
||||||
|
Release|x86 = Release|x86
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|x64.ActiveCfg = Debug|x64
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|x64.Build.0 = Debug|x64
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|x86.ActiveCfg = Debug|x86
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Debug|x86.Build.0 = Debug|x86
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|ARM64.ActiveCfg = Release|ARM64
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|ARM64.Build.0 = Release|ARM64
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|x64.ActiveCfg = Release|x64
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|x64.Build.0 = Release|x64
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|x86.ActiveCfg = Release|x86
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537}.Release|x86.Build.0 = Release|x86
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{1995385B-D1B0-4C55-835E-D3E769972A6A}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{51CB6F5B-16E9-4EE0-BAA4-144DD1EC8580}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{D4A15774-1469-45A0-9EFF-771271764A00}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{9AC724F6-883D-4357-9422-602748F25B69}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{2C965C14-FE5C-4DC6-91E4-CDD333E38436}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{2DCF996E-063B-4B95-8530-28F6DF0DA58A}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|ARM64.ActiveCfg = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|ARM64.Build.0 = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|x64.Build.0 = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Debug|x86.Build.0 = Debug|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|ARM64.ActiveCfg = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|ARM64.Build.0 = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|x64.ActiveCfg = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|x64.Build.0 = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|x86.ActiveCfg = Release|Any CPU
|
||||||
|
{7AFF9117-78E7-4395-9F23-6DCFE09F9299}.Release|x86.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(NestedProjects) = preSolution
|
||||||
|
{6BD9B3FC-7D55-4762-AF68-A50183342537} = {00C64D96-E9F1-4525-A542-C7D23206B2E4}
|
||||||
|
{8740B023-B585-4E69-8521-4F62FA754A1B} = {00C64D96-E9F1-4525-A542-C7D23206B2E4}
|
||||||
|
{A399B5A6-0E27-417B-BF2A-6B1FF89EB6A0} = {00C64D96-E9F1-4525-A542-C7D23206B2E4}
|
||||||
|
{924A2824-BE62-42A7-81A8-49BEFCB3801F} = {00C64D96-E9F1-4525-A542-C7D23206B2E4}
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {819AA00B-0A09-49DD-AC3A-2AC6041E0524}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
33
newFront/c#前端/SWS.WPF/Properties/AssemblyInfo.cs
Normal file
33
newFront/c#前端/SWS.WPF/Properties/AssemblyInfo.cs
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
using System.Reflection;
|
||||||
|
using System.Runtime.CompilerServices;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
// 有关程序集的一般信息由以下
|
||||||
|
// 控制。更改这些特性值可修改
|
||||||
|
// 与程序集关联的信息。
|
||||||
|
[assembly: AssemblyTitle("SWS.WPF")]
|
||||||
|
[assembly: AssemblyDescription("")]
|
||||||
|
[assembly: AssemblyConfiguration("")]
|
||||||
|
[assembly: AssemblyCompany("")]
|
||||||
|
[assembly: AssemblyProduct("SWS.WPF")]
|
||||||
|
[assembly: AssemblyCopyright("Copyright © 2025")]
|
||||||
|
[assembly: AssemblyTrademark("")]
|
||||||
|
[assembly: AssemblyCulture("")]
|
||||||
|
|
||||||
|
// 将 ComVisible 设置为 false 会使此程序集中的类型
|
||||||
|
//对 COM 组件不可见。如果需要从 COM 访问此程序集中的类型
|
||||||
|
//请将此类型的 ComVisible 特性设置为 true。
|
||||||
|
[assembly: ComVisible(false)]
|
||||||
|
|
||||||
|
// 如果此项目向 COM 公开,则下列 GUID 用于类型库的 ID
|
||||||
|
[assembly: Guid("7aff9117-78e7-4395-9f23-6dcfe09f9299")]
|
||||||
|
|
||||||
|
// 程序集的版本信息由下列四个值组成:
|
||||||
|
//
|
||||||
|
// 主版本
|
||||||
|
// 次版本
|
||||||
|
// 生成号
|
||||||
|
// 修订号
|
||||||
|
//
|
||||||
|
[assembly: AssemblyVersion("1.0.0.0")]
|
||||||
|
[assembly: AssemblyFileVersion("1.0.0.0")]
|
229
newFront/c#前端/SWS.WPF/SWS.WPF.csproj
Normal file
229
newFront/c#前端/SWS.WPF/SWS.WPF.csproj
Normal file
@ -0,0 +1,229 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
||||||
|
<PropertyGroup>
|
||||||
|
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
|
||||||
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
||||||
|
<ProjectGuid>{7AFF9117-78E7-4395-9F23-6DCFE09F9299}</ProjectGuid>
|
||||||
|
<OutputType>Library</OutputType>
|
||||||
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
||||||
|
<RootNamespace>SWS.WPF</RootNamespace>
|
||||||
|
<AssemblyName>SWS.WPF</AssemblyName>
|
||||||
|
<TargetFrameworkVersion>v4.8</TargetFrameworkVersion>
|
||||||
|
<FileAlignment>512</FileAlignment>
|
||||||
|
<Deterministic>true</Deterministic>
|
||||||
|
<ProjectTypeGuids>{60dc8134-eba5-43b8-bcc9-bb4bc16c2548};{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}</ProjectTypeGuids>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
||||||
|
<DebugSymbols>true</DebugSymbols>
|
||||||
|
<DebugType>full</DebugType>
|
||||||
|
<Optimize>false</Optimize>
|
||||||
|
<OutputPath>bin\Debug\</OutputPath>
|
||||||
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
<PlatformTarget>x64</PlatformTarget>
|
||||||
|
</PropertyGroup>
|
||||||
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
||||||
|
<DebugType>pdbonly</DebugType>
|
||||||
|
<Optimize>true</Optimize>
|
||||||
|
<OutputPath>bin\Release\</OutputPath>
|
||||||
|
<DefineConstants>TRACE</DefineConstants>
|
||||||
|
<ErrorReport>prompt</ErrorReport>
|
||||||
|
<WarningLevel>4</WarningLevel>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Reference Include="DryIoc, Version=4.7.7.0, Culture=neutral, PublicKeyToken=dfbf2bd50fcf7768, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\DryIoc.dll.4.7.7\lib\net45\DryIoc.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Bcl.AsyncInterfaces, Version=8.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Bcl.AsyncInterfaces.8.0.0\lib\net462\Microsoft.Bcl.AsyncInterfaces.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Extensions.DependencyInjection.Abstractions, Version=8.0.0.1, Culture=neutral, PublicKeyToken=adb9793829ddae60, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Extensions.DependencyInjection.Abstractions.8.0.1\lib\net462\Microsoft.Extensions.DependencyInjection.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Microsoft.Xaml.Behaviors, Version=1.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Microsoft.Xaml.Behaviors.Wpf.1.1.122\lib\net462\Microsoft.Xaml.Behaviors.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Newtonsoft.Json, Version=13.0.1.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\packages\Newtonsoft.Json.13.0.3\lib\net45\Newtonsoft.Json.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="PresentationCore" />
|
||||||
|
<Reference Include="PresentationFramework" />
|
||||||
|
<Reference Include="Prism, Version=8.1.97.5141, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Prism.Core.8.1.97\lib\net47\Prism.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Prism.DryIoc.Wpf, Version=8.1.97.5141, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Prism.DryIoc.8.1.97\lib\net47\Prism.DryIoc.Wpf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Prism.Unity.Wpf, Version=8.1.97.5141, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Prism.Unity.8.1.97\lib\net47\Prism.Unity.Wpf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Prism.Wpf, Version=8.1.97.5141, Culture=neutral, PublicKeyToken=40ee6c3a2184dc59, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Prism.Wpf.8.1.97\lib\net47\Prism.Wpf.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System" />
|
||||||
|
<Reference Include="System.Configuration" />
|
||||||
|
<Reference Include="System.Core" />
|
||||||
|
<Reference Include="System.Drawing" />
|
||||||
|
<Reference Include="System.IO.Compression" />
|
||||||
|
<Reference Include="System.Runtime.CompilerServices.Unsafe, Version=4.0.4.1, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Runtime.CompilerServices.Unsafe.4.5.3\lib\net461\System.Runtime.CompilerServices.Unsafe.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Threading.Tasks.Extensions, Version=4.2.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.Threading.Tasks.Extensions.4.5.4\lib\net461\System.Threading.Tasks.Extensions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.ValueTuple, Version=4.0.3.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\System.ValueTuple.4.5.0\lib\net47\System.ValueTuple.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="System.Web" />
|
||||||
|
<Reference Include="System.Windows" />
|
||||||
|
<Reference Include="System.Windows.Forms" />
|
||||||
|
<Reference Include="System.Xaml" />
|
||||||
|
<Reference Include="System.Xml.Linq" />
|
||||||
|
<Reference Include="System.Data.DataSetExtensions" />
|
||||||
|
<Reference Include="Microsoft.CSharp" />
|
||||||
|
<Reference Include="System.Data" />
|
||||||
|
<Reference Include="System.Net.Http" />
|
||||||
|
<Reference Include="System.Xml" />
|
||||||
|
<Reference Include="Telerik.Windows.Controls, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Controls.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Telerik.Windows.Controls.Data, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Controls.Data.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Telerik.Windows.Controls.FileDialogs, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Controls.FileDialogs.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Telerik.Windows.Controls.GridView, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Controls.GridView.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Telerik.Windows.Controls.Input, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Controls.Input.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Telerik.Windows.Controls.Navigation, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Controls.Navigation.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Telerik.Windows.Data, Version=2024.1.130.45, Culture=neutral, PublicKeyToken=5803cfa389c90ce7, processorArchitecture=MSIL">
|
||||||
|
<SpecificVersion>False</SpecificVersion>
|
||||||
|
<HintPath>..\SWS.CAD\RefDLL\WPF45\Telerik.Windows.Data.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Unity.Abstractions, Version=5.11.7.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Unity.Abstractions.5.11.7\lib\net48\Unity.Abstractions.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="Unity.Container, Version=5.11.11.0, Culture=neutral, PublicKeyToken=489b6accfaf20ef0, processorArchitecture=MSIL">
|
||||||
|
<HintPath>..\packages\Unity.Container.5.11.11\lib\net48\Unity.Container.dll</HintPath>
|
||||||
|
</Reference>
|
||||||
|
<Reference Include="WindowsBase" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
||||||
|
<Compile Include="ViewModels\DialogInputViewModel.cs" />
|
||||||
|
<Compile Include="ViewModels\DialogSignalManagementVM\DialogSignalManagementViewModel.cs" />
|
||||||
|
<Compile Include="ViewModels\DialogSignalManagementVM\DialogSignalNoticeViewModel.cs" />
|
||||||
|
<Compile Include="ViewModels\DialogSignalManagementVM\DialogSignalPropertyhisAndLogsViewModel.cs" />
|
||||||
|
<Compile Include="ViewModels\DialogSignalManagementVM\DialogSignalSelectViewModel.cs" />
|
||||||
|
<Compile Include="ViewModels\DialogTestViewModel.cs" />
|
||||||
|
<Compile Include="ViewModels\myViewModelBase\DialogBase.cs" />
|
||||||
|
<Compile Include="ViewModels\ProjectViewModel.cs" />
|
||||||
|
<Compile Include="Views\CustomDialogWindow.xaml.cs">
|
||||||
|
<DependentUpon>CustomDialogWindow.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\DialogInput.xaml.cs">
|
||||||
|
<DependentUpon>DialogInput.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\DialogSignalManagements\DialogSignalNotice.xaml.cs">
|
||||||
|
<DependentUpon>DialogSignalNotice.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\DialogSignalManagements\DialogSignalPropertyhisAndLogs.xaml.cs">
|
||||||
|
<DependentUpon>DialogSignalPropertyhisAndLogs.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\DialogSignalManagements\DialogSignalSelect.xaml.cs">
|
||||||
|
<DependentUpon>DialogSignalSelect.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\DialogSignalManagements\DialogSignalManagement.xaml.cs">
|
||||||
|
<DependentUpon>DialogSignalManagement.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\DialogTest.xaml.cs">
|
||||||
|
<DependentUpon>DialogTest.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
<Compile Include="Views\Project.xaml.cs">
|
||||||
|
<DependentUpon>Project.xaml</DependentUpon>
|
||||||
|
</Compile>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<None Include="app.config" />
|
||||||
|
<None Include="packages.config" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<ProjectReference Include="..\SWS.Commons\SWS.Commons.csproj">
|
||||||
|
<Project>{9ac724f6-883d-4357-9422-602748f25b69}</Project>
|
||||||
|
<Name>SWS.Commons</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\SWS.CustomControl\SWS.CustomControl.csproj">
|
||||||
|
<Project>{2dcf996e-063b-4b95-8530-28f6df0da58a}</Project>
|
||||||
|
<Name>SWS.CustomControl</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\SWS.Event\SWS.Event.csproj">
|
||||||
|
<Project>{2c965c14-fe5c-4dc6-91e4-cdd333e38436}</Project>
|
||||||
|
<Name>SWS.Event</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\SWS.Model\SWS.Model.csproj">
|
||||||
|
<Project>{1995385b-d1b0-4c55-835e-d3e769972a6a}</Project>
|
||||||
|
<Name>SWS.Model</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
<ProjectReference Include="..\SWS.Service\SWS.Service.csproj">
|
||||||
|
<Project>{51cb6f5b-16e9-4ee0-baa4-144dd1ec8580}</Project>
|
||||||
|
<Name>SWS.Service</Name>
|
||||||
|
</ProjectReference>
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="Style\StyleSelectors\" />
|
||||||
|
</ItemGroup>
|
||||||
|
<ItemGroup>
|
||||||
|
<Page Include="Style\CustomStyles.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\CustomDialogWindow.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\DialogInput.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\DialogSignalManagements\DialogSignalNotice.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>XamlIntelliSenseFileGenerator</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\DialogSignalManagements\DialogSignalPropertyhisAndLogs.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>XamlIntelliSenseFileGenerator</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\DialogSignalManagements\DialogSignalSelect.xaml">
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
<Generator>XamlIntelliSenseFileGenerator</Generator>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\DialogSignalManagements\DialogSignalManagement.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\DialogTest.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
<Page Include="Views\Project.xaml">
|
||||||
|
<Generator>MSBuild:Compile</Generator>
|
||||||
|
<SubType>Designer</SubType>
|
||||||
|
</Page>
|
||||||
|
</ItemGroup>
|
||||||
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
||||||
|
</Project>
|
6
newFront/c#前端/SWS.WPF/SWS.WPF.csproj.user
Normal file
6
newFront/c#前端/SWS.WPF/SWS.WPF.csproj.user
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup>
|
||||||
|
<ProjectView>ProjectFiles</ProjectView>
|
||||||
|
</PropertyGroup>
|
||||||
|
</Project>
|
552
newFront/c#前端/SWS.WPF/Style/CustomStyles.xaml
Normal file
552
newFront/c#前端/SWS.WPF/Style/CustomStyles.xaml
Normal file
@ -0,0 +1,552 @@
|
|||||||
|
<ResourceDictionary
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:local="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:po="http://schemas.microsoft.com/winfx/2006/xaml/presentation/options"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
|
||||||
|
<!-- 系统颜色 -->
|
||||||
|
<SolidColorBrush x:Key="ColorPrimary" Color="#026BE3" />
|
||||||
|
<SolidColorBrush x:Key="ColorSecond" Color="#02ADFF" />
|
||||||
|
<SolidColorBrush x:Key="ColorOther" Color="#DBE0E4" />
|
||||||
|
|
||||||
|
<!-- style放后面,单纯的属性放前面,否则解析顺序不对 -->
|
||||||
|
<!-- modalwindow -->
|
||||||
|
<Style x:Key="CustomWindowStyle" TargetType="Window">
|
||||||
|
<Setter Property="AllowsTransparency" Value="True" />
|
||||||
|
<Setter Property="Background" Value="White" />
|
||||||
|
<Setter Property="ResizeMode" Value="NoResize" />
|
||||||
|
<Setter Property="WindowStyle" Value="None" />
|
||||||
|
</Style>
|
||||||
|
<!-- 系统按钮风格 -->
|
||||||
|
<Style x:Key="sysBtn" TargetType="Button">
|
||||||
|
<Setter Property="Width" Value="65" />
|
||||||
|
<Setter Property="Height" Value="26" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="FontSize" Value="12" />
|
||||||
|
<Setter Property="Foreground" Value="White" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
<Setter Property="Background" Value="{StaticResource ColorSecond}" />
|
||||||
|
<Style.Triggers>
|
||||||
|
<!-- 鼠标滑过时的背景颜色和前景颜色 -->
|
||||||
|
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="True">
|
||||||
|
<Setter Property="Background" Value="Red" />
|
||||||
|
<!-- 高亮背景色 -->
|
||||||
|
|
||||||
|
<Setter Property="Foreground" Value="Black" />
|
||||||
|
</DataTrigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="sysBtn2" TargetType="Button">
|
||||||
|
<Setter Property="Width" Value="65" />
|
||||||
|
<Setter Property="Height" Value="26" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="FontSize" Value="12" />
|
||||||
|
<Setter Property="Foreground" Value="Black" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
<Setter Property="Background" Value="{StaticResource ColorOther}" />
|
||||||
|
<Style.Triggers>
|
||||||
|
<!-- 鼠标滑过时的背景颜色和前景颜色 -->
|
||||||
|
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="True">
|
||||||
|
<Setter Property="Background" Value="Red" />
|
||||||
|
<!-- 高亮背景色 -->
|
||||||
|
</DataTrigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="sysBtn3" TargetType="Button">
|
||||||
|
<Setter Property="Width" Value="120" />
|
||||||
|
<Setter Property="Height" Value="40" />
|
||||||
|
<Setter Property="Margin" Value="5,2,5,2" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="FontSize" Value="13" />
|
||||||
|
<Setter Property="Foreground" Value="Black" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
<Setter Property="Background" Value="{StaticResource ColorOther}" />
|
||||||
|
<Style.Triggers>
|
||||||
|
<!-- 鼠标滑过时的背景颜色和前景颜色 -->
|
||||||
|
<DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource Self}}" Value="True">
|
||||||
|
<Setter Property="Background" Value="{StaticResource ColorOther}" />
|
||||||
|
<!-- 高亮背景色 -->
|
||||||
|
</DataTrigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
<!-- 系统textblock -->
|
||||||
|
<Style x:Key="sysLabel" TargetType="TextBlock">
|
||||||
|
<Setter Property="Height" Value="20" />
|
||||||
|
<Setter Property="Margin" Value="0,5,0,0" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<!-- 系统textbox -->
|
||||||
|
<Style x:Key="sysTextBox" TargetType="TextBox">
|
||||||
|
<Setter Property="Height" Value="24" />
|
||||||
|
<Setter Property="Margin" Value="5,5,5,0" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="sysTextAreaInfo" TargetType="TextBox">
|
||||||
|
<Setter Property="Height" Value="100" />
|
||||||
|
<Setter Property="Width" Value="300" />
|
||||||
|
<Setter Property="TextWrapping" Value="Wrap" />
|
||||||
|
<Setter Property="AcceptsReturn" Value="True" />
|
||||||
|
<Setter Property="Margin" Value="10,5,10,5" />
|
||||||
|
<Setter Property="Padding" Value="0" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Top" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Left" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Top" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||||
|
</Style>
|
||||||
|
<!-- 全局 RadFilePathPicker 样式 -->
|
||||||
|
<Style x:Key="sysFilePathPicker" TargetType="telerik:RadFilePathPicker">
|
||||||
|
<Setter Property="Height" Value="24" />
|
||||||
|
<Setter Property="Margin" Value="5,0,5,0" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<!-- 图标按钮 -->
|
||||||
|
<Style TargetType="{x:Type local:IconButton}">
|
||||||
|
<Setter Property="Padding" Value="5" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="{x:Type local:IconButton}">
|
||||||
|
<Grid>
|
||||||
|
<!-- 背景层 -->
|
||||||
|
<Border
|
||||||
|
x:Name="border"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
|
CornerRadius="3" />
|
||||||
|
|
||||||
|
<DockPanel>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- 图标层 -->
|
||||||
|
<Path
|
||||||
|
x:Name="PART_Icon"
|
||||||
|
Width="{TemplateBinding IconSize}"
|
||||||
|
Height="{TemplateBinding IconSize}"
|
||||||
|
Margin="{TemplateBinding IconMargin}"
|
||||||
|
Data="{TemplateBinding IconData}"
|
||||||
|
DockPanel.Dock="{TemplateBinding IconPlacement}"
|
||||||
|
Fill="{TemplateBinding Foreground}"
|
||||||
|
Stretch="Uniform" />
|
||||||
|
<!-- 内容层 -->
|
||||||
|
<ContentPresenter
|
||||||
|
x:Name="PART_Content"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
RecognizesAccessKey="True" />
|
||||||
|
|
||||||
|
</DockPanel>
|
||||||
|
</Grid>
|
||||||
|
|
||||||
|
<ControlTemplate.Triggers>
|
||||||
|
<!-- 鼠标悬停效果 -->
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter TargetName="border" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlLightBrushKey}}" />
|
||||||
|
</Trigger>
|
||||||
|
|
||||||
|
<!-- 按下效果 -->
|
||||||
|
<Trigger Property="IsPressed" Value="True">
|
||||||
|
<Setter TargetName="border" Property="Background" Value="{DynamicResource {x:Static SystemColors.ControlDarkBrushKey}}" />
|
||||||
|
</Trigger>
|
||||||
|
</ControlTemplate.Triggers>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
<!-- 多选搜索 Combox Start -->
|
||||||
|
<ExponentialEase x:Key="ExponentialEaseOut" EasingMode="EaseOut" />
|
||||||
|
<DropShadowEffect
|
||||||
|
x:Key="PopupShadowDepth"
|
||||||
|
BlurRadius="12"
|
||||||
|
Opacity="0.1"
|
||||||
|
ShadowDepth="2"
|
||||||
|
Color="Transparent" />
|
||||||
|
<ControlTemplate x:Key="ComboBoxTextBox" TargetType="{x:Type TextBox}">
|
||||||
|
<Border Background="{TemplateBinding Background}" Focusable="False">
|
||||||
|
<ScrollViewer
|
||||||
|
x:Name="PART_ContentHost"
|
||||||
|
Background="Transparent"
|
||||||
|
Focusable="False"
|
||||||
|
HorizontalScrollBarVisibility="Hidden"
|
||||||
|
VerticalScrollBarVisibility="Hidden" />
|
||||||
|
</Border>
|
||||||
|
</ControlTemplate>
|
||||||
|
<Color x:Key="PlaceholderTextColor" po:Freeze="True">#C0C4CC</Color>
|
||||||
|
<Geometry x:Key="ChevronDownGeometry" po:Freeze="True">M998 352c0 -8 -4 -17 -10 -23l-50 -50c-6 -6 -14 -10 -23 -10c-8 0 -17 4 -23 10l-393 393l-393 -393c-6 -6 -15 -10 -23 -10s-17 4 -23 10l-50 50c-6 6 -10 15 -10 23s4 17 10 23l466 466c6 6 15 10 23 10s17 -4 23 -10l466 -466c6 -6 10 -15 10 -23z</Geometry>
|
||||||
|
|
||||||
|
<ControlTemplate x:Key="ComboBoxToggleButton1" TargetType="{x:Type ToggleButton}">
|
||||||
|
<Border
|
||||||
|
x:Name="PART_Border"
|
||||||
|
Padding="6,1.2"
|
||||||
|
BorderThickness="0"
|
||||||
|
SnapsToDevicePixels="true">
|
||||||
|
<Grid Background="Transparent">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition />
|
||||||
|
<ColumnDefinition Width="30" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<Rectangle
|
||||||
|
Grid.Column="1"
|
||||||
|
Width="30"
|
||||||
|
Height="Auto"
|
||||||
|
Margin="0,1"
|
||||||
|
Fill="{TemplateBinding Background}" />
|
||||||
|
<Path
|
||||||
|
x:Name="PART_Arrow"
|
||||||
|
Grid.Column="1"
|
||||||
|
Width="10"
|
||||||
|
Height="6"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Data="{StaticResource ChevronDownGeometry}"
|
||||||
|
RenderTransformOrigin=".5,.5"
|
||||||
|
Stretch="Fill">
|
||||||
|
<Path.Fill>
|
||||||
|
<SolidColorBrush Color="{DynamicResource PlaceholderTextColor}" />
|
||||||
|
</Path.Fill>
|
||||||
|
<Path.RenderTransform>
|
||||||
|
<RotateTransform Angle="0" />
|
||||||
|
</Path.RenderTransform>
|
||||||
|
</Path>
|
||||||
|
</Grid>
|
||||||
|
<VisualStateManager.VisualStateGroups>
|
||||||
|
<VisualStateGroup x:Name="CommonStates">
|
||||||
|
<VisualState x:Name="Normal" />
|
||||||
|
<VisualState x:Name="MouseOver" />
|
||||||
|
<VisualState x:Name="Pressed" />
|
||||||
|
<VisualState x:Name="Disabled" />
|
||||||
|
</VisualStateGroup>
|
||||||
|
<VisualStateGroup x:Name="CheckStates">
|
||||||
|
<VisualState x:Name="Checked">
|
||||||
|
<Storyboard>
|
||||||
|
<DoubleAnimation
|
||||||
|
EasingFunction="{StaticResource ExponentialEaseOut}"
|
||||||
|
Storyboard.TargetName="PART_Arrow"
|
||||||
|
Storyboard.TargetProperty="(Path.RenderTransform).(RotateTransform.Angle)"
|
||||||
|
To="-180"
|
||||||
|
Duration="00:00:.3" />
|
||||||
|
</Storyboard>
|
||||||
|
</VisualState>
|
||||||
|
<VisualState x:Name="Unchecked">
|
||||||
|
<Storyboard>
|
||||||
|
<DoubleAnimation
|
||||||
|
EasingFunction="{StaticResource ExponentialEaseOut}"
|
||||||
|
Storyboard.TargetName="PART_Arrow"
|
||||||
|
Storyboard.TargetProperty="(Path.RenderTransform).(RotateTransform.Angle)"
|
||||||
|
To="0"
|
||||||
|
Duration="00:00:.3" />
|
||||||
|
</Storyboard>
|
||||||
|
</VisualState>
|
||||||
|
<VisualState x:Name="Indeterminate" />
|
||||||
|
</VisualStateGroup>
|
||||||
|
</VisualStateManager.VisualStateGroups>
|
||||||
|
</Border>
|
||||||
|
</ControlTemplate>
|
||||||
|
<Style x:Key="DefaultListBox" TargetType="{x:Type ListBox}">
|
||||||
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
|
||||||
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
|
||||||
|
<Setter Property="ScrollViewer.CanContentScroll" Value="True" />
|
||||||
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="{x:Type ListBox}">
|
||||||
|
<Border
|
||||||
|
x:Name="Border"
|
||||||
|
Margin="{TemplateBinding Margin}"
|
||||||
|
Padding="0,0,0,.1"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
|
CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
SnapsToDevicePixels="True">
|
||||||
|
<ScrollViewer Clip="{Binding RelativeSource={RelativeSource AncestorType=local:WDBorder}, Path=ContentClip}" Focusable="False">
|
||||||
|
<VirtualizingStackPanel IsItemsHost="True" />
|
||||||
|
</ScrollViewer>
|
||||||
|
</Border>
|
||||||
|
<ControlTemplate.Triggers>
|
||||||
|
<Trigger Property="IsGrouping" Value="True">
|
||||||
|
<Setter Property="ScrollViewer.CanContentScroll" Value="False" />
|
||||||
|
</Trigger>
|
||||||
|
</ControlTemplate.Triggers>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="DefaultMultiSelectComboBoxItem" TargetType="{x:Type local:MultiSelectComboBoxItem}">
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="{Binding HorizontalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="{Binding VerticalContentAlignment, RelativeSource={RelativeSource AncestorType={x:Type ItemsControl}}}" />
|
||||||
|
<Setter Property="SnapsToDevicePixels" Value="True" />
|
||||||
|
<Setter Property="Background" Value="Transparent" />
|
||||||
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
|
<Setter Property="Foreground" Value="{DynamicResource RegularTextSolidColorBrush}" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
<Setter Property="Height" Value="34" />
|
||||||
|
<Setter Property="Margin" Value="1,0" />
|
||||||
|
<Setter Property="Padding" Value="6,0" />
|
||||||
|
<Setter Property="Cursor" Value="Hand" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="{x:Type local:MultiSelectComboBoxItem}">
|
||||||
|
|
||||||
|
<Border
|
||||||
|
x:Name="PART_Border"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
|
SnapsToDevicePixels="true">
|
||||||
|
<CheckBox
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
HorizontalAlignment="Stretch"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
Foreground="{TemplateBinding Foreground}"
|
||||||
|
IsChecked="{Binding IsSelected, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}">
|
||||||
|
|
||||||
|
<ContentPresenter
|
||||||
|
x:Name="PART_ContentPresenter"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
SnapsToDevicePixels="{TemplateBinding SnapsToDevicePixels}"
|
||||||
|
TextElement.Foreground="{TemplateBinding Foreground}" />
|
||||||
|
</CheckBox>
|
||||||
|
</Border>
|
||||||
|
<ControlTemplate.Triggers>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter Property="Background" Value="{DynamicResource DefaultBackgroundSolidColorBrush}" />
|
||||||
|
</Trigger>
|
||||||
|
</ControlTemplate.Triggers>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
|
||||||
|
|
||||||
|
<Style TargetType="{x:Type local:MultiSelectSearchComboBox}">
|
||||||
|
<Setter Property="ScrollViewer.HorizontalScrollBarVisibility" Value="Auto" />
|
||||||
|
<Setter Property="ScrollViewer.VerticalScrollBarVisibility" Value="Auto" />
|
||||||
|
<Setter Property="ScrollViewer.CanContentScroll" Value="True" />
|
||||||
|
<Setter Property="HorizontalContentAlignment" Value="Left" />
|
||||||
|
<Setter Property="VerticalContentAlignment" Value="Center" />
|
||||||
|
<Setter Property="HorizontalAlignment" Value="Stretch" />
|
||||||
|
<Setter Property="VerticalAlignment" Value="Center" />
|
||||||
|
<Setter Property="BorderBrush" Value="{DynamicResource BaseSolidColorBrush}" />
|
||||||
|
<Setter Property="BorderThickness" Value="1" />
|
||||||
|
<Setter Property="Background" Value="{DynamicResource BackgroundSolidColorBrush}" />
|
||||||
|
<Setter Property="Padding" Value="14.5,3,30,3" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="{x:Type local:MultiSelectSearchComboBox}">
|
||||||
|
<ControlTemplate.Resources>
|
||||||
|
<Storyboard x:Key="OpenStoryboard">
|
||||||
|
<DoubleAnimation
|
||||||
|
EasingFunction="{StaticResource ExponentialEaseOut}"
|
||||||
|
Storyboard.TargetName="PART_DropDown"
|
||||||
|
Storyboard.TargetProperty="(Grid.RenderTransform).(ScaleTransform.ScaleY)"
|
||||||
|
To="1"
|
||||||
|
Duration="00:00:.2" />
|
||||||
|
</Storyboard>
|
||||||
|
<Storyboard x:Key="CloseStoryboard">
|
||||||
|
<DoubleAnimation
|
||||||
|
EasingFunction="{StaticResource ExponentialEaseOut}"
|
||||||
|
Storyboard.TargetName="PART_DropDown"
|
||||||
|
Storyboard.TargetProperty="(Grid.RenderTransform).(ScaleTransform.ScaleY)"
|
||||||
|
To="0"
|
||||||
|
Duration="00:00:.2" />
|
||||||
|
</Storyboard>
|
||||||
|
</ControlTemplate.Resources>
|
||||||
|
<Border
|
||||||
|
Name="PART_Border"
|
||||||
|
Width="{TemplateBinding Width}"
|
||||||
|
Height="{TemplateBinding Height}"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalAlignment}"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
|
CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
SnapsToDevicePixels="True">
|
||||||
|
<Grid Grid.IsSharedSizeScope="true">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="*" />
|
||||||
|
<ColumnDefinition Width="Auto" SharedSizeGroup="ComboBoxButton" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<TextBox
|
||||||
|
Name="PART_EditableTextBox"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
Panel.ZIndex="1"
|
||||||
|
Background="Transparent"
|
||||||
|
Focusable="True"
|
||||||
|
Foreground="{DynamicResource PrimaryTextSolidColorBrush}"
|
||||||
|
IsReadOnly="True"
|
||||||
|
SelectionBrush="{DynamicResource WindowBorderBrushSolidColorBrush}"
|
||||||
|
Style="{x:Null}"
|
||||||
|
Template="{StaticResource ComboBoxTextBox}"
|
||||||
|
Text="{Binding Text, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}" />
|
||||||
|
<TextBlock
|
||||||
|
x:Name="PART_Watermark"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
Background="Transparent"
|
||||||
|
FontSize="{TemplateBinding FontSize}"
|
||||||
|
Foreground="{DynamicResource RegularTextSolidColorBrush}"
|
||||||
|
IsHitTestVisible="False"
|
||||||
|
Text="{Binding Path=(local:ElementHelper.Watermark), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
TextTrimming="CharacterEllipsis"
|
||||||
|
Visibility="Collapsed" />
|
||||||
|
<ToggleButton
|
||||||
|
x:Name="PART_ToggleButton"
|
||||||
|
Grid.ColumnSpan="2"
|
||||||
|
Panel.ZIndex="2"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
ClickMode="Release"
|
||||||
|
Focusable="False"
|
||||||
|
IsChecked="{Binding IsDropDownOpen, Mode=TwoWay, RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
Style="{x:Null}"
|
||||||
|
Template="{StaticResource ComboBoxToggleButton1}" />
|
||||||
|
<Popup
|
||||||
|
x:Name="PART_Popup"
|
||||||
|
AllowsTransparency="True"
|
||||||
|
IsOpen="{Binding IsDropDownOpen, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
|
||||||
|
Placement="Bottom"
|
||||||
|
PlacementTarget="{Binding ElementName=PART_Border}"
|
||||||
|
StaysOpen="False">
|
||||||
|
<local:SmallPanel
|
||||||
|
x:Name="PART_DropDown"
|
||||||
|
MinWidth="{TemplateBinding FrameworkElement.ActualWidth}"
|
||||||
|
MaxHeight="{TemplateBinding MaxDropDownHeight}"
|
||||||
|
Margin="24,2,24,24"
|
||||||
|
RenderTransformOrigin=".5,0"
|
||||||
|
SnapsToDevicePixels="True">
|
||||||
|
<local:SmallPanel.RenderTransform>
|
||||||
|
<ScaleTransform ScaleY="0" />
|
||||||
|
</local:SmallPanel.RenderTransform>
|
||||||
|
<Border
|
||||||
|
Name="PART_DropDownBorder"
|
||||||
|
Background="White"
|
||||||
|
BorderBrush="Blue"
|
||||||
|
BorderThickness="{TemplateBinding BorderThickness}"
|
||||||
|
CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
Effect="{StaticResource PopupShadowDepth}"
|
||||||
|
SnapsToDevicePixels="True"
|
||||||
|
UseLayoutRounding="True" />
|
||||||
|
<Grid Margin="0,8" ClipToBounds="False">
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
|
<RowDefinition Height="Auto" />
|
||||||
|
<RowDefinition />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<TextBox
|
||||||
|
x:Name="PART_TextBox"
|
||||||
|
Height="{Binding ElementName=PART_EditableTextBox, Path=Height}"
|
||||||
|
Margin="6,0"
|
||||||
|
local:ElementHelper.CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
local:ElementHelper.IsClear="True"
|
||||||
|
local:ElementHelper.Watermark="{Binding SearchWatermark, RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay}"
|
||||||
|
FontSize="{Binding ElementName=PART_EditableTextBox, Path=FontSize}" />
|
||||||
|
<CheckBox
|
||||||
|
x:Name="PART_SelectAll"
|
||||||
|
Grid.Row="1"
|
||||||
|
Margin="4"
|
||||||
|
local:ElementHelper.CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
Content="{TemplateBinding SelectAllContent}"
|
||||||
|
Visibility="{TemplateBinding IsSelectAllActive}" />
|
||||||
|
<local:MultiSelectListBox
|
||||||
|
x:Name="PART_Selector"
|
||||||
|
Grid.Row="2"
|
||||||
|
Margin="1,0"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
local:ElementHelper.CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="0"
|
||||||
|
DisplayMemberPath="{TemplateBinding DisplayMemberPath}"
|
||||||
|
ItemContainerStyle="{StaticResource DefaultMultiSelectComboBoxItem}"
|
||||||
|
ItemsSource="{TemplateBinding ItemsSource}"
|
||||||
|
ScrollViewer.CanContentScroll="{Binding ScrollViewer.CanContentScroll, RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
ScrollViewer.HorizontalScrollBarVisibility="{Binding ScrollViewer.HorizontalScrollBarVisibility, RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
SelectedValuePath="{TemplateBinding SelectedValuePath}"
|
||||||
|
SelectionMode="Multiple"
|
||||||
|
Style="{StaticResource DefaultListBox}" />
|
||||||
|
<local:MultiSelectListBox
|
||||||
|
x:Name="PART_SearchSelector"
|
||||||
|
Grid.Row="2"
|
||||||
|
Margin="1,0"
|
||||||
|
Padding="{TemplateBinding Padding}"
|
||||||
|
HorizontalContentAlignment="{TemplateBinding HorizontalContentAlignment}"
|
||||||
|
VerticalContentAlignment="{TemplateBinding VerticalContentAlignment}"
|
||||||
|
local:ElementHelper.CornerRadius="{Binding Path=(local:ElementHelper.CornerRadius), RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
BorderBrush="{TemplateBinding BorderBrush}"
|
||||||
|
BorderThickness="0"
|
||||||
|
DisplayMemberPath="{TemplateBinding DisplayMemberPath}"
|
||||||
|
ItemContainerStyle="{StaticResource DefaultMultiSelectComboBoxItem}"
|
||||||
|
ItemsSource="{TemplateBinding ItemsSourceSearch}"
|
||||||
|
ScrollViewer.CanContentScroll="{Binding ScrollViewer.CanContentScroll, RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
ScrollViewer.HorizontalScrollBarVisibility="{Binding ScrollViewer.HorizontalScrollBarVisibility, RelativeSource={RelativeSource TemplatedParent}}"
|
||||||
|
SelectedValuePath="{TemplateBinding SelectedValuePath}"
|
||||||
|
SelectionMode="Multiple"
|
||||||
|
Style="{StaticResource DefaultListBox}"
|
||||||
|
Visibility="Collapsed" />
|
||||||
|
</Grid>
|
||||||
|
</local:SmallPanel>
|
||||||
|
</Popup>
|
||||||
|
</Grid>
|
||||||
|
</Border>
|
||||||
|
<ControlTemplate.Triggers>
|
||||||
|
<Trigger SourceName="PART_ToggleButton" Property="IsChecked" Value="True">
|
||||||
|
<Trigger.EnterActions>
|
||||||
|
<BeginStoryboard x:Name="BeginStoryboardOpenStoryboard" Storyboard="{StaticResource OpenStoryboard}" />
|
||||||
|
</Trigger.EnterActions>
|
||||||
|
<Trigger.ExitActions>
|
||||||
|
<StopStoryboard BeginStoryboardName="BeginStoryboardOpenStoryboard" />
|
||||||
|
</Trigger.ExitActions>
|
||||||
|
</Trigger>
|
||||||
|
<Trigger SourceName="PART_ToggleButton" Property="IsChecked" Value="False">
|
||||||
|
<Trigger.EnterActions>
|
||||||
|
<BeginStoryboard x:Name="BeginStoryboardCloseStoryboard" Storyboard="{StaticResource CloseStoryboard}" />
|
||||||
|
</Trigger.EnterActions>
|
||||||
|
<Trigger.ExitActions>
|
||||||
|
<StopStoryboard BeginStoryboardName="BeginStoryboardCloseStoryboard" />
|
||||||
|
</Trigger.ExitActions>
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter TargetName="PART_Border" Property="BorderBrush" Value="{DynamicResource PrimaryNormalSolidColorBrush}" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger SourceName="PART_Popup" Property="AllowsTransparency" Value="True">
|
||||||
|
<Setter TargetName="PART_DropDownBorder" Property="Margin" Value="0,2,0,0" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="Text" Value="">
|
||||||
|
<Setter TargetName="PART_Watermark" Property="Visibility" Value="Visible" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="Text" Value="{x:Null}">
|
||||||
|
<Setter TargetName="PART_Watermark" Property="Visibility" Value="Visible" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="IsSelectAllActive" Value="False">
|
||||||
|
<Setter TargetName="PART_TextBox" Property="Margin" Value="6,2" />
|
||||||
|
</Trigger>
|
||||||
|
</ControlTemplate.Triggers>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
<!-- 多选搜索 Combox End -->
|
||||||
|
</ResourceDictionary>
|
74
newFront/c#前端/SWS.WPF/ViewModels/DialogInputViewModel.cs
Normal file
74
newFront/c#前端/SWS.WPF/ViewModels/DialogInputViewModel.cs
Normal file
@ -0,0 +1,74 @@
|
|||||||
|
using System;
|
||||||
|
using Prism.Services.Dialogs;
|
||||||
|
using SWS.Commons;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
using DialogParameters = Prism.Services.Dialogs.DialogParameters;
|
||||||
|
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
public class DialogInputViewModel : DialogBase, IDialogAware
|
||||||
|
{
|
||||||
|
|
||||||
|
public DialogInputViewModel()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Title => "";
|
||||||
|
|
||||||
|
public event Action<IDialogResult> RequestClose;
|
||||||
|
|
||||||
|
public bool CanCloseDialog()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnDialogClosed()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _TextInfo;
|
||||||
|
/// <summary>
|
||||||
|
/// 文本内容
|
||||||
|
/// </summary>
|
||||||
|
public string TextInfo
|
||||||
|
{
|
||||||
|
get { return _TextInfo; }
|
||||||
|
set { _TextInfo = value; RaisePropertyChanged(nameof(TextInfo)); }
|
||||||
|
}
|
||||||
|
private string _TextRemark;
|
||||||
|
/// <summary>
|
||||||
|
/// 注释
|
||||||
|
/// </summary>
|
||||||
|
public string TextRemark
|
||||||
|
{
|
||||||
|
get { return _TextRemark; }
|
||||||
|
set { _TextRemark = value; RaisePropertyChanged(nameof(TextRemark)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void OnDialogOpened(IDialogParameters parameters)
|
||||||
|
{
|
||||||
|
title = parameters.GetValue<string>(GlobalObject.dialogPar.title.ToString());
|
||||||
|
TextRemark = parameters.GetValue<string>(GlobalObject.dialogPar.info.ToString());
|
||||||
|
}
|
||||||
|
public override void ExecuteOKCommandAsync(object para)
|
||||||
|
{
|
||||||
|
IDialogParameters res = new DialogParameters();
|
||||||
|
res.Add(GlobalObject.dialogPar.info.ToString(), $"{TextInfo}");
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Yes,res);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
public override void ExecuteCloseCommand(object parameter)
|
||||||
|
{
|
||||||
|
IDialogParameters par = new DialogParameters();
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.No);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
this.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,418 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using Prism.Services.Dialogs;
|
||||||
|
using Prism.Ioc;
|
||||||
|
using SWS.Commons;
|
||||||
|
using SWS.Model;
|
||||||
|
using SWS.Service;
|
||||||
|
using SWS.WPF.Views;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
using Unity;
|
||||||
|
using DialogParameters = Prism.Services.Dialogs.DialogParameters;
|
||||||
|
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
public class DialogSignalNoticeViewModel : DialogBase, IDialogAware
|
||||||
|
{
|
||||||
|
#region 属性
|
||||||
|
private ObservableCollection<SignalNotice> _MySignalNotices = new ObservableCollection<SignalNotice>();
|
||||||
|
/// <summary>
|
||||||
|
/// 表格数据源
|
||||||
|
/// </summary>
|
||||||
|
public ObservableCollection<SignalNotice> MySignalNotices
|
||||||
|
{
|
||||||
|
get { return _MySignalNotices; }
|
||||||
|
set { _MySignalNotices = value; RaisePropertyChanged(nameof(MySignalNotices)); }
|
||||||
|
}
|
||||||
|
private SignalNotice _SelectedSignalNotice;
|
||||||
|
/// <summary>
|
||||||
|
/// 选中行
|
||||||
|
/// </summary>
|
||||||
|
public SignalNotice SelectedSignalNotice
|
||||||
|
{
|
||||||
|
get { return _SelectedSignalNotice; }
|
||||||
|
set { _SelectedSignalNotice = value; RaisePropertyChanged(nameof(SelectedSignalNotice)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 信号接口服务
|
||||||
|
/// </summary>
|
||||||
|
WireGroupService _wireGroupService;
|
||||||
|
|
||||||
|
public DialogSignalNotice SignalNoticeView { get; set; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
public DialogSignalNoticeViewModel()
|
||||||
|
{
|
||||||
|
title = "通知信息";
|
||||||
|
_wireGroupService = GlobalObject.container.Resolve<WireGroupService>();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public string Title => "";
|
||||||
|
|
||||||
|
public event Action<IDialogResult> RequestClose;
|
||||||
|
|
||||||
|
public bool CanCloseDialog()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnDialogClosed()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<ec_wire_group_notice> SignalNotices;
|
||||||
|
public async void OnDialogOpened(IDialogParameters parameters)
|
||||||
|
{
|
||||||
|
SignalNotices = await _wireGroupService.GetNotification();
|
||||||
|
int index = 0;
|
||||||
|
foreach (var item in SignalNotices)
|
||||||
|
{
|
||||||
|
index++;
|
||||||
|
SignalNotice s = new SignalNotice(item);
|
||||||
|
s.ID = index;
|
||||||
|
MySignalNotices.Add(s);
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
public override void ExecuteOKCommandAsync(object para)
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Yes);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
public override void ExecuteCloseCommand(object parameter)
|
||||||
|
{
|
||||||
|
if (parameter as string == "ClickNo")
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.No);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
this.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
#region 状态按钮
|
||||||
|
public ICommand StatusButtonCmd => new DelegateCommand(StatusButton_Click);
|
||||||
|
/// <summary>
|
||||||
|
/// 显示状态按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parameter"></param>
|
||||||
|
public virtual async void StatusButton_Click(object parameter)
|
||||||
|
{
|
||||||
|
MySignalNotices = new ObservableCollection<SignalNotice>();
|
||||||
|
|
||||||
|
SignalNotices = await _wireGroupService.GetNotification();
|
||||||
|
if (!parameter.Equals("All"))
|
||||||
|
{
|
||||||
|
SignalNotices = SignalNotices.Where(s => s.CheckFLG.ToString().Equals(parameter)).ToList();
|
||||||
|
}
|
||||||
|
|
||||||
|
int index = 0;
|
||||||
|
foreach (var item in SignalNotices)
|
||||||
|
{
|
||||||
|
index++;
|
||||||
|
SignalNotice s = new SignalNotice(item);
|
||||||
|
s.ID = index;
|
||||||
|
MySignalNotices.Add(s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 右侧按钮
|
||||||
|
|
||||||
|
public ICommand ButtonCmd => new DelegateCommand(Button_Click);
|
||||||
|
/// <summary>
|
||||||
|
/// 页面右侧按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parameter"></param>
|
||||||
|
public virtual async void Button_Click(object parameter)
|
||||||
|
{
|
||||||
|
#region 确定
|
||||||
|
if (parameter.Equals("确定"))
|
||||||
|
{
|
||||||
|
List<string> noticeIds = new List<string>();
|
||||||
|
foreach (var item in MySignalNotices)
|
||||||
|
{
|
||||||
|
noticeIds = MySignalNotices.Where(e => e.IsModified == true).Select(e => e.WireGroupNoticeID).ToList();
|
||||||
|
}
|
||||||
|
List<ec_wire_group_notice> ReNotices = await _wireGroupService.ReadNotification(noticeIds);
|
||||||
|
foreach (var item in ReNotices)
|
||||||
|
{
|
||||||
|
var ent = MySignalNotices.FirstOrDefault(x => x.WireGroupNoticeID == item.WireGroupNoticeID);
|
||||||
|
if (ent != null)
|
||||||
|
{
|
||||||
|
ent.UpdateTime = item.UpdateTime;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
this.Dispose();
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 取消
|
||||||
|
if (parameter.Equals("取消"))
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
this.Dispose();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 已阅
|
||||||
|
if (parameter.Equals("已阅"))
|
||||||
|
{
|
||||||
|
|
||||||
|
if (SelectedSignalNotice == null)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!SelectedSignalNotice.CheckFLG)
|
||||||
|
{
|
||||||
|
SelectedSignalNotice.CheckFLG = true;
|
||||||
|
SelectedSignalNotice.IsModified = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 全部已阅
|
||||||
|
if (parameter.Equals("全部已阅"))
|
||||||
|
{
|
||||||
|
foreach (var item in MySignalNotices)
|
||||||
|
{
|
||||||
|
if (!item.CheckFLG)
|
||||||
|
{
|
||||||
|
item.CheckFLG = true;
|
||||||
|
item.IsModified = true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
|
||||||
|
//public class SignalNotice: DialogBase
|
||||||
|
//{
|
||||||
|
// #region 属性
|
||||||
|
// private int _ID;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 序号
|
||||||
|
// /// </summary>
|
||||||
|
// public int ID
|
||||||
|
// {
|
||||||
|
// get { return _ID; }
|
||||||
|
// set { _ID = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private string _WireGroupNoticeID;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 信号通知ID
|
||||||
|
// /// </summary>
|
||||||
|
// public string WireGroupNoticeID
|
||||||
|
// {
|
||||||
|
// get { return _WireGroupNoticeID; }
|
||||||
|
// set { _WireGroupNoticeID = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private string _Group_Name;
|
||||||
|
// /// <summary>
|
||||||
|
// /// CH.NO
|
||||||
|
// /// </summary>
|
||||||
|
// public string Group_Name
|
||||||
|
// {
|
||||||
|
// get { return _Group_Name; }
|
||||||
|
// set { _Group_Name = value; }
|
||||||
|
// }
|
||||||
|
// private string _Group_Desc;
|
||||||
|
// /// <summary>
|
||||||
|
// /// z中文描述
|
||||||
|
// /// </summary>
|
||||||
|
// public string Group_Desc
|
||||||
|
// {
|
||||||
|
// get { return _Group_Desc; }
|
||||||
|
// set { _Group_Desc = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// private string _Group_Desc_EN;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 英文描述
|
||||||
|
// /// </summary>
|
||||||
|
// public string Group_Desc_EN
|
||||||
|
// {
|
||||||
|
// get { return _Group_Desc_EN; }
|
||||||
|
// set { _Group_Desc_EN = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private string _IO_Type;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 信号类型
|
||||||
|
// /// </summary>
|
||||||
|
// public string IO_Type
|
||||||
|
// {
|
||||||
|
// get { return _IO_Type; }
|
||||||
|
// set { _IO_Type = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private Model.Action _ActionID;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 操作ID
|
||||||
|
// /// </summary>
|
||||||
|
// public Model.Action ActionID
|
||||||
|
// {
|
||||||
|
// get { return _ActionID; }
|
||||||
|
// set { _ActionID = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private string _Action;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 操作
|
||||||
|
// /// </summary>
|
||||||
|
// public string Action
|
||||||
|
// {
|
||||||
|
// get { return _Action; }
|
||||||
|
// set { _Action = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
// private string _CreateUserName;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 发出者
|
||||||
|
// /// </summary>
|
||||||
|
// public string CreateUserName
|
||||||
|
// {
|
||||||
|
// get { return _CreateUserName; }
|
||||||
|
// set { _CreateUserName = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private DateTime? _CreateTime;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 操作时间
|
||||||
|
// /// </summary>
|
||||||
|
// public DateTime? CreateTime
|
||||||
|
// {
|
||||||
|
// get { return _CreateTime; }
|
||||||
|
// set { _CreateTime = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private string _UpdateUserName;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 已阅人
|
||||||
|
// /// </summary>
|
||||||
|
// public string UpdateUserName
|
||||||
|
// {
|
||||||
|
// get { return _UpdateUserName; }
|
||||||
|
// set { _UpdateUserName = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private DateTime? _UpdateTime;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 已阅时间
|
||||||
|
// /// </summary>
|
||||||
|
// public DateTime? UpdateTime
|
||||||
|
// {
|
||||||
|
// get { return _UpdateTime; }
|
||||||
|
// set { _UpdateTime = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private string _Message;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 操作信息
|
||||||
|
// /// </summary>
|
||||||
|
// public string Message
|
||||||
|
// {
|
||||||
|
// get { return _Message; }
|
||||||
|
// set { _Message = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private bool _CheckFLG;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 是否已读
|
||||||
|
// /// </summary>
|
||||||
|
// public bool CheckFLG
|
||||||
|
// {
|
||||||
|
// get { return _CheckFLG; }
|
||||||
|
// set { _CheckFLG = value; }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private bool _IsModified;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 是否修改
|
||||||
|
// /// </summary>
|
||||||
|
// public bool IsModified
|
||||||
|
// {
|
||||||
|
// get { return _IsModified; }
|
||||||
|
// set { _IsModified = value; RaisePropertyChanged(nameof(IsModified)); }
|
||||||
|
// }
|
||||||
|
|
||||||
|
// private bool _IsReadOnly;
|
||||||
|
// /// <summary>
|
||||||
|
// /// 是否可编辑
|
||||||
|
// /// </summary>
|
||||||
|
// public bool IsReadOnly
|
||||||
|
// {
|
||||||
|
// get { return _IsReadOnly; }
|
||||||
|
// set { _IsReadOnly = value; RaisePropertyChanged(nameof(IsReadOnly)); }
|
||||||
|
// }
|
||||||
|
// #endregion
|
||||||
|
|
||||||
|
// #region 方法
|
||||||
|
// public SignalNotice()
|
||||||
|
// {
|
||||||
|
|
||||||
|
// }
|
||||||
|
// public SignalNotice(ec_wire_group_notice ec_Notice)
|
||||||
|
// {
|
||||||
|
// #region 前端表格对应列
|
||||||
|
// this.Group_Name = ec_Notice.Group_Name;
|
||||||
|
// this.Group_Desc = ec_Notice.Group_Desc;
|
||||||
|
// this.Group_Desc_EN = ec_Notice.Group_Desc_EN;
|
||||||
|
// this.IO_Type = ec_Notice.IO_Type;
|
||||||
|
// this.Action = ec_Notice.Action;
|
||||||
|
// this.CreateUserName = ec_Notice.CreateUserName;
|
||||||
|
// this.CreateTime = ec_Notice.CreateTime;
|
||||||
|
// this.UpdateUserName = ec_Notice.UpdateUserName;
|
||||||
|
// this.UpdateTime = ec_Notice.UpdateTime;
|
||||||
|
// this.Message = ec_Notice.Message;
|
||||||
|
// #endregion
|
||||||
|
|
||||||
|
// this.WireGroupNoticeID = ec_Notice.WireGroupNoticeID;
|
||||||
|
// this.CheckFLG = ec_Notice.CheckFLG;
|
||||||
|
// this.IsReadOnly = ec_Notice.CheckFLG;
|
||||||
|
// }
|
||||||
|
// /// <summary>
|
||||||
|
// /// 设置数据
|
||||||
|
// /// </summary>
|
||||||
|
// public void setData()
|
||||||
|
// {
|
||||||
|
|
||||||
|
// }
|
||||||
|
// #endregion
|
||||||
|
//}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,379 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using Newtonsoft.Json;
|
||||||
|
using Newtonsoft.Json.Converters;
|
||||||
|
using Prism.Services.Dialogs;
|
||||||
|
using Prism.Ioc;
|
||||||
|
using SWS.Commons;
|
||||||
|
using SWS.Model;
|
||||||
|
using SWS.Service;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
using Unity;
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
public class DialogSignalPropertyhisAndLogsViewModel : DialogBase, IDialogAware
|
||||||
|
{
|
||||||
|
#region 属性
|
||||||
|
private SignalManagementInfo _SignalInfo;
|
||||||
|
/// <summary>
|
||||||
|
/// 传入选中的信号对象
|
||||||
|
/// </summary>
|
||||||
|
public SignalManagementInfo SignalInfo
|
||||||
|
{
|
||||||
|
get { return _SignalInfo; }
|
||||||
|
set { _SignalInfo = value; RaisePropertyChanged(nameof(SignalInfo)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private ObservableCollection<SignalLog> _MySignalLogs = new ObservableCollection<SignalLog>();
|
||||||
|
/// <summary>
|
||||||
|
/// 表格数据源
|
||||||
|
/// </summary>
|
||||||
|
public ObservableCollection<SignalLog> MySignalLogs
|
||||||
|
{
|
||||||
|
get { return _MySignalLogs; }
|
||||||
|
set { _MySignalLogs = value; RaisePropertyChanged(nameof(MySignalLogs)); }
|
||||||
|
}
|
||||||
|
private SignalLog _SelectedSignalLog;
|
||||||
|
/// <summary>
|
||||||
|
/// 选中行
|
||||||
|
/// </summary>
|
||||||
|
public SignalLog SelectedSignalLog
|
||||||
|
{
|
||||||
|
get { return _SelectedSignalLog; }
|
||||||
|
set { _SelectedSignalLog = value; RaisePropertyChanged(nameof(SelectedSignalLog)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
private ObservableCollection<SingnalPropertyhis> _MySingnalPropertyhis = new ObservableCollection<SingnalPropertyhis>();
|
||||||
|
/// <summary>
|
||||||
|
/// 表格数据源
|
||||||
|
/// </summary>
|
||||||
|
public ObservableCollection<SingnalPropertyhis> MySingnalPropertyhis
|
||||||
|
{
|
||||||
|
get { return _MySingnalPropertyhis; }
|
||||||
|
set { _MySingnalPropertyhis = value; RaisePropertyChanged(nameof(MySingnalPropertyhis)); }
|
||||||
|
}
|
||||||
|
private SingnalPropertyhis _SelectedPropertyhi;
|
||||||
|
/// <summary>
|
||||||
|
/// 选中行
|
||||||
|
/// </summary>
|
||||||
|
public SingnalPropertyhis SelectedPropertyhi
|
||||||
|
{
|
||||||
|
get { return _SelectedPropertyhi; }
|
||||||
|
set { _SelectedPropertyhi = value; RaisePropertyChanged(nameof(SelectedPropertyhi)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 信号接口服务
|
||||||
|
/// </summary>
|
||||||
|
WireGroupService _wireGroupService;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
public DialogSignalPropertyhisAndLogsViewModel()
|
||||||
|
{
|
||||||
|
_wireGroupService =GlobalObject.container.Resolve<WireGroupService>();
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Title => "";
|
||||||
|
|
||||||
|
public event Action<IDialogResult> RequestClose;
|
||||||
|
|
||||||
|
public bool CanCloseDialog()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnDialogClosed()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private List<ec_wire_group_log> SignalLogs;
|
||||||
|
private List<ec_wire_group_propertyhis> SignalPropertyhis;
|
||||||
|
public async void OnDialogOpened(IDialogParameters parameters)
|
||||||
|
{
|
||||||
|
SignalInfo = parameters.GetValue<SignalManagementInfo>(GlobalObject.dialogPar.para1.ToString());
|
||||||
|
title = SignalInfo.Group_Name + " 信号属性修改历史和操作记录";
|
||||||
|
|
||||||
|
SignalLogs = await _wireGroupService.GetSignalLogs(SignalInfo.Wire_Group_ID);
|
||||||
|
if(SignalLogs != null)
|
||||||
|
{
|
||||||
|
int index = 0;
|
||||||
|
foreach (var item in SignalLogs)
|
||||||
|
{
|
||||||
|
index++;
|
||||||
|
SignalLog s = new SignalLog(item);
|
||||||
|
s.ID = index;
|
||||||
|
MySignalLogs.Add(s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
SignalPropertyhis = await _wireGroupService.GetSignalPropertyhis(SignalInfo.Wire_Group_ID);
|
||||||
|
if (SignalPropertyhis != null)
|
||||||
|
{
|
||||||
|
int index = 0;
|
||||||
|
foreach (var item in SignalPropertyhis)
|
||||||
|
{
|
||||||
|
index++;
|
||||||
|
SingnalPropertyhis s = new SingnalPropertyhis(item);
|
||||||
|
s.ID = index;
|
||||||
|
MySingnalPropertyhis.Add(s);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
public override void ExecuteOKCommandAsync(object para)
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Yes);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
public override void ExecuteCloseCommand(object parameter)
|
||||||
|
{
|
||||||
|
if (parameter as string == "ClickNo")
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.No);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
this.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#region 右侧按钮
|
||||||
|
|
||||||
|
public ICommand ButtonCmd => new DelegateCommand(Button_Click);
|
||||||
|
/// <summary>
|
||||||
|
/// 页面右侧按钮
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parameter"></param>
|
||||||
|
public virtual async void Button_Click(object parameter)
|
||||||
|
{
|
||||||
|
#region 确定
|
||||||
|
if (parameter.Equals("确定"))
|
||||||
|
{
|
||||||
|
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
this.Dispose();
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 取消
|
||||||
|
if (parameter.Equals("取消"))
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
this.Dispose();
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
|
||||||
|
public class SignalLog: DialogBase
|
||||||
|
{
|
||||||
|
#region 属性
|
||||||
|
private int _ID;
|
||||||
|
/// <summary>
|
||||||
|
/// 序号
|
||||||
|
/// </summary>
|
||||||
|
public int ID
|
||||||
|
{
|
||||||
|
get { return _ID; }
|
||||||
|
set { _ID = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _WireGroupLogID;
|
||||||
|
|
||||||
|
public string WireGroupLogID
|
||||||
|
{
|
||||||
|
get { return _WireGroupLogID; }
|
||||||
|
set { _WireGroupLogID = value; }
|
||||||
|
}
|
||||||
|
private string _WireGroupID;
|
||||||
|
|
||||||
|
public string WireGroupID
|
||||||
|
{
|
||||||
|
get { return _WireGroupID; }
|
||||||
|
set { _WireGroupID = value; }
|
||||||
|
}
|
||||||
|
[JsonConverter(typeof(StringEnumConverter))]
|
||||||
|
private Model.Action _OperateType;
|
||||||
|
/// <summary>
|
||||||
|
/// 操作
|
||||||
|
/// </summary>
|
||||||
|
public Model.Action OperateType
|
||||||
|
{
|
||||||
|
get { return _OperateType; }
|
||||||
|
set { _OperateType = value; }
|
||||||
|
}
|
||||||
|
private string _ExtraMsg;
|
||||||
|
/// <summary>
|
||||||
|
/// 附加信息
|
||||||
|
/// </summary>
|
||||||
|
public string ExtraMsg
|
||||||
|
{
|
||||||
|
get { return _ExtraMsg; }
|
||||||
|
set { _ExtraMsg = value; }
|
||||||
|
}
|
||||||
|
private string _CreateUserID;
|
||||||
|
|
||||||
|
public string CreateUserID
|
||||||
|
{
|
||||||
|
get { return _CreateUserID; }
|
||||||
|
set { _CreateUserID = value; }
|
||||||
|
}
|
||||||
|
private string _CreateUserName;
|
||||||
|
/// <summary>
|
||||||
|
/// 操作人
|
||||||
|
/// </summary>
|
||||||
|
public string CreateUserName
|
||||||
|
{
|
||||||
|
get { return _CreateUserName; }
|
||||||
|
set { _CreateUserName = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private DateTime? _CreateTime;
|
||||||
|
/// <summary>
|
||||||
|
/// 操作时间
|
||||||
|
/// </summary>
|
||||||
|
/// <returns></returns>
|
||||||
|
public DateTime? CreateTime
|
||||||
|
{
|
||||||
|
get { return _CreateTime; }
|
||||||
|
set { _CreateTime = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 方法
|
||||||
|
public SignalLog()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
public SignalLog(ec_wire_group_log ec_Notice)
|
||||||
|
{
|
||||||
|
#region 前端表格对应列
|
||||||
|
this.OperateType = ec_Notice.OperateType;
|
||||||
|
this.ExtraMsg = ec_Notice.ExtraMsg;
|
||||||
|
this.CreateUserName = ec_Notice.CreateUserName;
|
||||||
|
this.CreateTime = ec_Notice.CreateTime;
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
/// <summary>
|
||||||
|
/// 设置数据
|
||||||
|
/// </summary>
|
||||||
|
public void setData()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
|
||||||
|
public class SingnalPropertyhis : DialogBase
|
||||||
|
{
|
||||||
|
#region 属性
|
||||||
|
private int _ID;
|
||||||
|
/// <summary>
|
||||||
|
/// 序号
|
||||||
|
/// </summary>
|
||||||
|
public int ID
|
||||||
|
{
|
||||||
|
get { return _ID; }
|
||||||
|
set { _ID = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _PropertyName;
|
||||||
|
/// <summary>
|
||||||
|
/// 属性
|
||||||
|
/// </summary>
|
||||||
|
public string PropertyName
|
||||||
|
{
|
||||||
|
get { return _PropertyName; }
|
||||||
|
set { _PropertyName = value; }
|
||||||
|
}
|
||||||
|
private string _PropertyNameDec;
|
||||||
|
/// <summary>
|
||||||
|
/// 属性名称描述
|
||||||
|
/// </summary>
|
||||||
|
public string PropertyNameDec
|
||||||
|
{
|
||||||
|
get { return _PropertyNameDec; }
|
||||||
|
set { _PropertyNameDec = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _OldPropertyValue;
|
||||||
|
/// <summary>
|
||||||
|
/// 旧属性值
|
||||||
|
/// </summary>
|
||||||
|
public string OldPropertyValue
|
||||||
|
{
|
||||||
|
get { return _OldPropertyValue; }
|
||||||
|
set { _OldPropertyValue = value; }
|
||||||
|
}
|
||||||
|
private string _NewPropertyValue;
|
||||||
|
/// <summary>
|
||||||
|
/// 新属性值
|
||||||
|
/// </summary>
|
||||||
|
public string NewPropertyValue
|
||||||
|
{
|
||||||
|
get { return _NewPropertyValue; }
|
||||||
|
set { _NewPropertyValue = value; }
|
||||||
|
}
|
||||||
|
private string _CreateUserName;
|
||||||
|
/// <summary>
|
||||||
|
/// 修改人
|
||||||
|
/// </summary>
|
||||||
|
public string CreateUserName
|
||||||
|
{
|
||||||
|
get { return _CreateUserName; }
|
||||||
|
set { _CreateUserName = value; }
|
||||||
|
}
|
||||||
|
private DateTime? _CreateTime;
|
||||||
|
/// <summary>
|
||||||
|
/// 修改时间
|
||||||
|
/// </summary>
|
||||||
|
public DateTime? CreateTime
|
||||||
|
{
|
||||||
|
get { return _CreateTime; }
|
||||||
|
set { _CreateTime = value; }
|
||||||
|
}
|
||||||
|
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
#region 方法
|
||||||
|
public SingnalPropertyhis(ec_wire_group_propertyhis ec_Wire_Group_Propertyhis)
|
||||||
|
{
|
||||||
|
#region 前端渲染
|
||||||
|
this.PropertyName = ec_Wire_Group_Propertyhis.PropertyName;
|
||||||
|
this.PropertyNameDec = ec_Wire_Group_Propertyhis.PropertyNameDec;
|
||||||
|
this.OldPropertyValue = ec_Wire_Group_Propertyhis.OldPropertyValue;
|
||||||
|
this.NewPropertyValue = ec_Wire_Group_Propertyhis.NewPropertyValue;
|
||||||
|
this.CreateUserName = ec_Wire_Group_Propertyhis.CreateUserName;
|
||||||
|
this._CreateTime = ec_Wire_Group_Propertyhis.CreateTime;
|
||||||
|
#endregion
|
||||||
|
|
||||||
|
}
|
||||||
|
#endregion
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
@ -0,0 +1,146 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.ObjectModel;
|
||||||
|
using System.Windows;
|
||||||
|
using Prism.Services.Dialogs;
|
||||||
|
using SWS.Commons;
|
||||||
|
using SWS.Model;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
using DialogParameters = Prism.Services.Dialogs.DialogParameters;
|
||||||
|
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
public class DialogSignalSelectViewModel : DialogBase, IDialogAware
|
||||||
|
{
|
||||||
|
|
||||||
|
public DialogSignalSelectViewModel()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public string Title => "";
|
||||||
|
|
||||||
|
public event Action<IDialogResult> RequestClose;
|
||||||
|
|
||||||
|
public bool CanCloseDialog()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnDialogClosed()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
private ObservableCollection<Signal> _listSignal;
|
||||||
|
/// <summary>
|
||||||
|
/// 单位列表
|
||||||
|
/// </summary>
|
||||||
|
public ObservableCollection<Signal> listSignal
|
||||||
|
{
|
||||||
|
get { return _listSignal; }
|
||||||
|
set { _listSignal = value; RaisePropertyChanged(nameof(listSignal)); }
|
||||||
|
}
|
||||||
|
private Signal _SelectedSignal;
|
||||||
|
/// <summary>
|
||||||
|
/// 选中的单位
|
||||||
|
/// </summary>
|
||||||
|
public Signal SelectedSignal
|
||||||
|
{
|
||||||
|
get { return _SelectedSignal; }
|
||||||
|
set { _SelectedSignal = value; RaisePropertyChanged(nameof(SelectedSignal)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _Info;
|
||||||
|
/// <summary>
|
||||||
|
/// 列表上方文字
|
||||||
|
/// </summary>
|
||||||
|
public string Info
|
||||||
|
{
|
||||||
|
get { return _Info; }
|
||||||
|
set { _Info = value; RaisePropertyChanged(nameof(Info)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public void OnDialogOpened(IDialogParameters parameters)
|
||||||
|
{
|
||||||
|
title = parameters.GetValue<string>(GlobalObject.dialogPar.title.ToString());
|
||||||
|
Info = parameters.GetValue<string>(GlobalObject.dialogPar.info.ToString());
|
||||||
|
var signals = parameters.GetValue<ObservableCollection<SignalManagementInfo>>(GlobalObject.dialogPar.para1.ToString());
|
||||||
|
|
||||||
|
listSignal = new ObservableCollection<Signal>();
|
||||||
|
foreach (var item in signals)
|
||||||
|
{
|
||||||
|
if (title.Equals("信号选择框"))
|
||||||
|
{
|
||||||
|
if (item.type.Equals("信号"))
|
||||||
|
{
|
||||||
|
listSignal.Add(new Signal() { SignalId = item.Wire_Group_ID, SignalName = item.Group_Name });
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (title.Equals("信号关联列表"))
|
||||||
|
{
|
||||||
|
listSignal.Add(new Signal() { SignalId = item.Wire_Group_ID, SignalName = item.Group_Name });
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
public override void ExecuteOKCommandAsync(object para)
|
||||||
|
{
|
||||||
|
if (title.Equals("信号选择框"))
|
||||||
|
{
|
||||||
|
if (SelectedSignal == null)
|
||||||
|
{
|
||||||
|
MessageBox.Show("请选择一个信号!");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (title.Equals("信号关联列表"))
|
||||||
|
{
|
||||||
|
}
|
||||||
|
IDialogParameters par = new DialogParameters();
|
||||||
|
par.Add(GlobalObject.dialogPar.para1.ToString(), SelectedSignal);
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Yes, par);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
public override void ExecuteCloseCommand(object parameter)
|
||||||
|
{
|
||||||
|
if (parameter as string == "ClickNo")
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.No);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Cancel);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
this.Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public class Signal : ViewModelBase
|
||||||
|
{
|
||||||
|
private string _SignalId;
|
||||||
|
/// <summary>
|
||||||
|
/// Id
|
||||||
|
/// </summary>
|
||||||
|
public string SignalId
|
||||||
|
{
|
||||||
|
get { return _SignalId; }
|
||||||
|
set { _SignalId = value; RaisePropertyChanged(nameof(SignalId)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
private string _SignalName;
|
||||||
|
/// <summary>
|
||||||
|
/// 信号
|
||||||
|
/// </summary>
|
||||||
|
public string SignalName
|
||||||
|
{
|
||||||
|
get { return _SignalName; }
|
||||||
|
set { _SignalName = value; RaisePropertyChanged(nameof(SignalName)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
75
newFront/c#前端/SWS.WPF/ViewModels/DialogTestViewModel.cs
Normal file
75
newFront/c#前端/SWS.WPF/ViewModels/DialogTestViewModel.cs
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
using System;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using Prism.Services.Dialogs;
|
||||||
|
using SWS.Commons;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
using DialogParameters = Prism.Services.Dialogs.DialogParameters;
|
||||||
|
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
public class DialogTestViewModel : DialogBase, IDialogAware
|
||||||
|
{
|
||||||
|
private string _parText;
|
||||||
|
/// <summary>
|
||||||
|
/// 参数值
|
||||||
|
/// </summary>
|
||||||
|
public string parText
|
||||||
|
{
|
||||||
|
get { return _parText; }
|
||||||
|
set { _parText = value; OnPropertyChanged(nameof(parText)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 命令事件
|
||||||
|
/// </summary>
|
||||||
|
public ICommand Command_Close1 { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// 命令事件
|
||||||
|
/// </summary>
|
||||||
|
public ICommand Command_Close2 { get; set; }
|
||||||
|
|
||||||
|
public DialogTestViewModel()
|
||||||
|
{
|
||||||
|
Command_Close1 = new DelegateCommand(onClose1);
|
||||||
|
Command_Close2 = new DelegateCommand(onClose2);
|
||||||
|
title = "弹框测试页面";
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public string Title => "弹框测试页面";
|
||||||
|
|
||||||
|
public event Action<IDialogResult> RequestClose;
|
||||||
|
|
||||||
|
public bool CanCloseDialog()
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnDialogClosed()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public void OnDialogOpened(IDialogParameters parameters)
|
||||||
|
{
|
||||||
|
parText = parameters.GetValue<string>(GlobalObject.dialogPar.para1.ToString());
|
||||||
|
}
|
||||||
|
|
||||||
|
public void onClose1(object o)
|
||||||
|
{
|
||||||
|
IDialogParameters par = new DialogParameters();
|
||||||
|
par.Add(GlobalObject.dialogPar.para1.ToString(), "xxx");
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.Yes,par);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
public void onClose2(object o)
|
||||||
|
{
|
||||||
|
IDialogParameters par = new DialogParameters();
|
||||||
|
par.Add(GlobalObject.dialogPar.para1.ToString(), "zzz");
|
||||||
|
DialogResult result = new DialogResult(ButtonResult.No,par);
|
||||||
|
RequestClose.Invoke(result);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
68
newFront/c#前端/SWS.WPF/ViewModels/ProjectViewModel.cs
Normal file
68
newFront/c#前端/SWS.WPF/ViewModels/ProjectViewModel.cs
Normal file
@ -0,0 +1,68 @@
|
|||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Forms;
|
||||||
|
using Prism.Events;
|
||||||
|
using Prism.Ioc;
|
||||||
|
using SWS.Commons;
|
||||||
|
using SWS.Event;
|
||||||
|
using SWS.Model;
|
||||||
|
using SWS.Service;
|
||||||
|
using MessageBox = System.Windows.Forms.MessageBox;
|
||||||
|
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
public class ProjectViewModel : DialogBase
|
||||||
|
{
|
||||||
|
private List<ec_project> projects;
|
||||||
|
public List<ec_project> Projects
|
||||||
|
{
|
||||||
|
get { return this.projects; }
|
||||||
|
set
|
||||||
|
{
|
||||||
|
this.projects = value;
|
||||||
|
RaisePropertyChanged(nameof(Projects));
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
private ec_project _select;
|
||||||
|
|
||||||
|
public ec_project select
|
||||||
|
{
|
||||||
|
get { return _select; }
|
||||||
|
set { _select = value; RaisePropertyChanged(nameof(select)); }
|
||||||
|
}
|
||||||
|
ProjectService _Service;
|
||||||
|
ConfigService _configService;
|
||||||
|
IEventAggregator _eventAggregator;
|
||||||
|
public ProjectViewModel(IContainerProvider container) : base()
|
||||||
|
{
|
||||||
|
title = "项目选择";
|
||||||
|
_Service = container.Resolve<ProjectService>();
|
||||||
|
_configService = container.Resolve<ConfigService>();
|
||||||
|
_eventAggregator= container.Resolve<IEventAggregator>();
|
||||||
|
}
|
||||||
|
public async override void onWindow_loaded(object para)
|
||||||
|
{
|
||||||
|
Projects = (await _Service.GetProjects(1, 200)).Rows;
|
||||||
|
base.onWindow_loaded(para);
|
||||||
|
}
|
||||||
|
public override async void ExecuteOKCommandAsync(object para)
|
||||||
|
{
|
||||||
|
if (select == null)
|
||||||
|
{
|
||||||
|
MessageBox.Show("请选择一个项目。");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
_configService.Save(nameof(ConfigIni.ProjectID), select.ProjectId);
|
||||||
|
GlobalObject.curProject = select;
|
||||||
|
|
||||||
|
IsBusy = true;
|
||||||
|
BusyContent = "项目加载中...";
|
||||||
|
var userName = _configService.Read(nameof(ConfigIni.UserName));
|
||||||
|
var o = await _Service.InitProjInfo(GlobalObject.curProject.ProjectId, userName);
|
||||||
|
IsBusy = false;
|
||||||
|
_eventAggregator.GetEvent<loginEvent>().Publish(o);
|
||||||
|
CloseWindowAction?.Invoke();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,76 @@
|
|||||||
|
using System;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
using Unity;
|
||||||
|
|
||||||
|
namespace SWS.WPF.ViewModels
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// abstract 不同于接口,可以实现具体的代码
|
||||||
|
/// </summary>
|
||||||
|
public abstract class DialogBase : ViewModelBase
|
||||||
|
{
|
||||||
|
public DialogBase()
|
||||||
|
{
|
||||||
|
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)); }
|
||||||
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// 加载后
|
||||||
|
/// </summary>
|
||||||
|
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;
|
||||||
|
/// <summary>
|
||||||
|
/// CODE-BEHAND里设置为this.close以关闭。调用时,.invoke即可
|
||||||
|
/// </summary>
|
||||||
|
public Action CloseWindowAction { get; set; }
|
||||||
|
/// <summary>
|
||||||
|
/// virtual 可以重写
|
||||||
|
/// </summary>
|
||||||
|
/// <param name="parameter"></param>
|
||||||
|
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)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
21
newFront/c#前端/SWS.WPF/Views/CustomDialogWindow.xaml
Normal file
21
newFront/c#前端/SWS.WPF/Views/CustomDialogWindow.xaml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<Window
|
||||||
|
x:Class="SWS.WPF.Views.CustomDialogWindow"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
Width="auto"
|
||||||
|
Height="auto"
|
||||||
|
AllowsTransparency="True"
|
||||||
|
Background="White"
|
||||||
|
BorderBrush="#026BE3"
|
||||||
|
BorderThickness="1"
|
||||||
|
SizeToContent="WidthAndHeight"
|
||||||
|
WindowStartupLocation="CenterScreen"
|
||||||
|
WindowStyle="None"
|
||||||
|
mc:Ignorable="d">
|
||||||
|
<Window.Resources>
|
||||||
|
<ResourceDictionary Source="pack://application:,,,/SWS.WPF;component/Style/CustomStyles.xaml" />
|
||||||
|
</Window.Resources>
|
||||||
|
|
||||||
|
</Window>
|
36
newFront/c#前端/SWS.WPF/Views/CustomDialogWindow.xaml.cs
Normal file
36
newFront/c#前端/SWS.WPF/Views/CustomDialogWindow.xaml.cs
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
using Prism.Services.Dialogs;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Interaction logic for CustomDialogWindow.xaml
|
||||||
|
/// </summary>
|
||||||
|
public partial class CustomDialogWindow : Window, IDialogWindow
|
||||||
|
{
|
||||||
|
public CustomDialogWindow()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
|
||||||
|
// 设置窗口样式(可选)
|
||||||
|
WindowStartupLocation = WindowStartupLocation.CenterScreen;
|
||||||
|
ResizeMode = ResizeMode.NoResize;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
public IDialogResult Result { get ; set ; }
|
||||||
|
}
|
||||||
|
}
|
69
newFront/c#前端/SWS.WPF/Views/DialogInput.xaml
Normal file
69
newFront/c#前端/SWS.WPF/Views/DialogInput.xaml
Normal file
@ -0,0 +1,69 @@
|
|||||||
|
<UserControl
|
||||||
|
x:Class="SWS.WPF.Views.DialogInput"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:CustomControl="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:i="http://schemas.microsoft.com/xaml/behaviors"
|
||||||
|
xmlns:local="clr-namespace:SWS.WPF.Views"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:prism="http://prismlibrary.com/"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||||||
|
mc:Ignorable="d">
|
||||||
|
<UserControl.Resources>
|
||||||
|
<ResourceDictionary Source="pack://application:,,,/SWS.WPF;component/Style/CustomStyles.xaml" />
|
||||||
|
</UserControl.Resources>
|
||||||
|
<prism:Dialog.WindowStyle>
|
||||||
|
<Style TargetType="Window">
|
||||||
|
<!-- 关键:设置窗口根据内容自动调整尺寸 -->
|
||||||
|
<Setter Property="SizeToContent" Value="WidthAndHeight" />
|
||||||
|
|
||||||
|
<Setter Property="WindowState" Value="Normal" />
|
||||||
|
<Setter Property="WindowStyle" Value="None" />
|
||||||
|
<Setter Property="ResizeMode" Value="NoResize" />
|
||||||
|
|
||||||
|
</Style>
|
||||||
|
</prism:Dialog.WindowStyle>
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
<RowDefinition Height="35" />
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<CustomControl:customWindowTitleBar />
|
||||||
|
<Label
|
||||||
|
Grid.Row="1"
|
||||||
|
Width="auto"
|
||||||
|
Height="auto"
|
||||||
|
Margin="10,0,0,0"
|
||||||
|
VerticalAlignment="Bottom"
|
||||||
|
Content="{Binding TextRemark}" />
|
||||||
|
|
||||||
|
<TextBox
|
||||||
|
Grid.Row="2"
|
||||||
|
Style="{StaticResource sysTextAreaInfo}"
|
||||||
|
Text="{Binding TextInfo, Mode=TwoWay}" />
|
||||||
|
|
||||||
|
<Border
|
||||||
|
Grid.Row="3"
|
||||||
|
Height="30"
|
||||||
|
Background="{StaticResource ColorPrimary}">
|
||||||
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||||
|
<telerik:RadButton
|
||||||
|
Margin="5"
|
||||||
|
Command="{Binding OKCommand}"
|
||||||
|
CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}"
|
||||||
|
Content="提交"
|
||||||
|
Style="{StaticResource sysBtn}" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Margin="5"
|
||||||
|
Command="{Binding CloseCommand}"
|
||||||
|
CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}"
|
||||||
|
Content="取消"
|
||||||
|
Style="{StaticResource sysBtn2}" />
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
28
newFront/c#前端/SWS.WPF/Views/DialogInput.xaml.cs
Normal file
28
newFront/c#前端/SWS.WPF/Views/DialogInput.xaml.cs
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// DialogInput.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class DialogInput : UserControl
|
||||||
|
{
|
||||||
|
public DialogInput()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using SWS.WPF.ViewModels;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// DialogTest.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class DialogSignalManagement : UserControl
|
||||||
|
{
|
||||||
|
public DialogSignalManagement()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,210 @@
|
|||||||
|
<UserControl
|
||||||
|
x:Class="SWS.WPF.Views.DialogSignalNotice"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:CustomControl="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:SWS.WPF.Views"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:sys="clr-namespace:System;assembly=mscorlib"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||||||
|
Width="1000"
|
||||||
|
Height="560"
|
||||||
|
d:DesignHeight="450"
|
||||||
|
d:DesignWidth="800"
|
||||||
|
mc:Ignorable="d">
|
||||||
|
<UserControl.Resources>
|
||||||
|
<ResourceDictionary>
|
||||||
|
<ResourceDictionary.MergedDictionaries>
|
||||||
|
<ResourceDictionary Source="pack://application:,,,/SWS.WPF;component/Style/CustomStyles.xaml" />
|
||||||
|
</ResourceDictionary.MergedDictionaries>
|
||||||
|
<Style x:Key="trueStatusStyle" TargetType="telerik:GridViewCell">
|
||||||
|
<Setter Property="Foreground" Value="#dadbde" />
|
||||||
|
<!-- 定义触发器 -->
|
||||||
|
<Style.Triggers>
|
||||||
|
<!-- 当按钮禁用时 -->
|
||||||
|
<Trigger Property="IsEnabled" Value="False">
|
||||||
|
<Setter Property="Background" Value="Gray" />
|
||||||
|
<Setter Property="Foreground" Value="DarkGray" />
|
||||||
|
<Setter Property="BorderBrush" Value="Gray" />
|
||||||
|
</Trigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
<Style x:Key="falseStatusStyle" TargetType="telerik:GridViewCell">
|
||||||
|
<Setter Property="Foreground" Value="Red" />
|
||||||
|
</Style>
|
||||||
|
<CustomControl:SignalNoticeStyleSelector x:Key="selector">
|
||||||
|
<CustomControl:SignalNoticeStyleSelector.Rules>
|
||||||
|
<CustomControl:ConditionalStyleRule Style="{StaticResource trueStatusStyle}">
|
||||||
|
<CustomControl:ConditionalStyleRule.Value>
|
||||||
|
<sys:String>True</sys:String>
|
||||||
|
</CustomControl:ConditionalStyleRule.Value>
|
||||||
|
</CustomControl:ConditionalStyleRule>
|
||||||
|
<CustomControl:ConditionalStyleRule Style="{StaticResource falseStatusStyle}">
|
||||||
|
<CustomControl:ConditionalStyleRule.Value>
|
||||||
|
<sys:String>False</sys:String>
|
||||||
|
</CustomControl:ConditionalStyleRule.Value>
|
||||||
|
</CustomControl:ConditionalStyleRule>
|
||||||
|
</CustomControl:SignalNoticeStyleSelector.Rules>
|
||||||
|
</CustomControl:SignalNoticeStyleSelector>
|
||||||
|
|
||||||
|
</ResourceDictionary>
|
||||||
|
</UserControl.Resources>
|
||||||
|
<StackPanel Background="#5d6b99">
|
||||||
|
<CustomControl:customWindowTitleBar />
|
||||||
|
<Grid Margin="6">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="9*" />
|
||||||
|
<ColumnDefinition Width="auto" />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock Foreground="White" Text="消息列表" />
|
||||||
|
<telerik:RadGridView
|
||||||
|
Name="RadGridView2"
|
||||||
|
Grid.Row="2"
|
||||||
|
Width="auto"
|
||||||
|
Height="500"
|
||||||
|
telerik:StyleManager.Theme="Office_Blue"
|
||||||
|
AutoGenerateColumns="False"
|
||||||
|
IsFilteringAllowed="False"
|
||||||
|
IsReadOnly="False"
|
||||||
|
ItemsSource="{Binding MySignalNotices, Mode=TwoWay}"
|
||||||
|
LeftFrozenColumnCount="2"
|
||||||
|
RowIndicatorVisibility="Collapsed"
|
||||||
|
SelectedItem="{Binding SelectedSignalNotice}"
|
||||||
|
SelectionMode="Single"
|
||||||
|
ShowGroupPanel="False">
|
||||||
|
<telerik:RadGridView.Columns>
|
||||||
|
<telerik:GridViewDataColumn DataMemberBinding="{Binding ID}" Header="序号">
|
||||||
|
<telerik:GridViewDataColumn.CellStyle>
|
||||||
|
<Style TargetType="{x:Type telerik:GridViewCell}">
|
||||||
|
<Setter Property="Background" Value="#5d6b99" />
|
||||||
|
<Setter Property="Foreground" Value="White" />
|
||||||
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
</Style>
|
||||||
|
</telerik:GridViewDataColumn.CellStyle>
|
||||||
|
|
||||||
|
</telerik:GridViewDataColumn>
|
||||||
|
<telerik:GridViewDataColumn DataMemberBinding="{Binding Group_Name}" Header="CH.NO">
|
||||||
|
<telerik:GridViewDataColumn.CellStyle>
|
||||||
|
<Style TargetType="{x:Type telerik:GridViewCell}">
|
||||||
|
<Setter Property="Background" Value="#5d6b99" />
|
||||||
|
<Setter Property="Foreground" Value="White" />
|
||||||
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
|
<Setter Property="BorderThickness" Value="0" />
|
||||||
|
</Style>
|
||||||
|
</telerik:GridViewDataColumn.CellStyle>
|
||||||
|
</telerik:GridViewDataColumn>
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding Group_Desc_EN}"
|
||||||
|
Header="英文描述"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding Group_Desc}"
|
||||||
|
Header="中文描述"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding IO_Type}"
|
||||||
|
Header="信号类型"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding Action}"
|
||||||
|
Header="操作"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding CreateUserName}"
|
||||||
|
Header="发出者"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding CreateTime}"
|
||||||
|
Header="操作时间"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding UpdateUserName}"
|
||||||
|
Header="已阅人"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding UpdateTime}"
|
||||||
|
Header="已阅时间"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
CellStyleSelector="{StaticResource selector}"
|
||||||
|
DataMemberBinding="{Binding Message}"
|
||||||
|
Header="操作信息"
|
||||||
|
IsReadOnlyBinding="{Binding IsReadOnly}" />
|
||||||
|
</telerik:RadGridView.Columns>
|
||||||
|
|
||||||
|
</telerik:RadGridView>
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Grid.Column="1">
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="80"
|
||||||
|
Margin="0,0,0,6"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Command="{Binding ButtonCmd}"
|
||||||
|
CommandParameter="确定"
|
||||||
|
Content="确定" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="80"
|
||||||
|
Margin="0,0,0,6"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Command="{Binding ButtonCmd}"
|
||||||
|
CommandParameter="取消"
|
||||||
|
Content="取消" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="80"
|
||||||
|
Margin="0,20,0,6"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Command="{Binding ButtonCmd}"
|
||||||
|
CommandParameter="已阅"
|
||||||
|
Content="已阅" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="80"
|
||||||
|
Margin="0,0,0,6"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Command="{Binding ButtonCmd}"
|
||||||
|
CommandParameter="全部已阅"
|
||||||
|
Content="全部已阅" />
|
||||||
|
<GroupBox
|
||||||
|
Margin="5,120,5,5"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
VerticalAlignment="Bottom"
|
||||||
|
Header="显示状态">
|
||||||
|
<StackPanel>
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="65"
|
||||||
|
Margin="0,0,0,5"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Command="{Binding StatusButtonCmd}"
|
||||||
|
CommandParameter="True"
|
||||||
|
Content="已阅" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="65"
|
||||||
|
Margin="0,0,0,5"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Command="{Binding StatusButtonCmd}"
|
||||||
|
CommandParameter="False"
|
||||||
|
Content="未阅" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="65"
|
||||||
|
Margin="0,0,0,5"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
Command="{Binding StatusButtonCmd}"
|
||||||
|
CommandParameter="All"
|
||||||
|
Content="全部" />
|
||||||
|
</StackPanel>
|
||||||
|
</GroupBox>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</UserControl>
|
@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using Telerik.Windows.Controls;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// DialogSignalNotice.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class DialogSignalNotice : UserControl
|
||||||
|
{
|
||||||
|
public DialogSignalNotice()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,130 @@
|
|||||||
|
<UserControl
|
||||||
|
x:Class="SWS.WPF.Views.DialogSignalPropertyhisAndLogs"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:CustomControl="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:SWS.WPF.Views"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||||||
|
Width="800"
|
||||||
|
Height="600"
|
||||||
|
d:DesignHeight="450"
|
||||||
|
d:DesignWidth="800"
|
||||||
|
mc:Ignorable="d">
|
||||||
|
<Grid>
|
||||||
|
<StackPanel>
|
||||||
|
<CustomControl:customWindowTitleBar />
|
||||||
|
<Grid Grid.Row="1" Background="#5d6b99">
|
||||||
|
<Grid.ColumnDefinitions>
|
||||||
|
<ColumnDefinition Width="9*" />
|
||||||
|
<ColumnDefinition />
|
||||||
|
</Grid.ColumnDefinitions>
|
||||||
|
<StackPanel>
|
||||||
|
<GroupBox Margin="5" Header="信号属性修改历史">
|
||||||
|
<telerik:RadGridView
|
||||||
|
Name="RadGridView1"
|
||||||
|
Grid.Row="2"
|
||||||
|
Width="auto"
|
||||||
|
Height="250"
|
||||||
|
telerik:StyleManager.Theme="Office_Blue"
|
||||||
|
AutoGenerateColumns="False"
|
||||||
|
IsFilteringAllowed="False"
|
||||||
|
IsReadOnly="True"
|
||||||
|
ItemsSource="{Binding MySingnalPropertyhis, Mode=TwoWay}"
|
||||||
|
RowIndicatorVisibility="Collapsed"
|
||||||
|
SelectedItem="{Binding SelectedPropertyhi}"
|
||||||
|
SelectionMode="Single"
|
||||||
|
ShowGroupPanel="False">
|
||||||
|
<telerik:RadGridView.Columns>
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="80"
|
||||||
|
DataMemberBinding="{Binding ID}"
|
||||||
|
Header="序号" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="100"
|
||||||
|
DataMemberBinding="{Binding PropertyNameDec, StringFormat=c}"
|
||||||
|
Header="属性"
|
||||||
|
UniqueName="PropertyNameDec" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="100"
|
||||||
|
DataMemberBinding="{Binding OldPropertyValue}"
|
||||||
|
Header="旧属性" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="100"
|
||||||
|
DataMemberBinding="{Binding NewPropertyValue}"
|
||||||
|
Header="新属性值" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="100"
|
||||||
|
DataMemberBinding="{Binding CreateUserName}"
|
||||||
|
Header="修改人" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="*"
|
||||||
|
DataFormatString="{}yyyy-MM-dd HH:mm:ss"
|
||||||
|
DataMemberBinding="{Binding CreateTime}"
|
||||||
|
Header="修改时间" />
|
||||||
|
</telerik:RadGridView.Columns>
|
||||||
|
<telerik:RadGridView.GroupDescriptors>
|
||||||
|
<telerik:ColumnGroupDescriptor Column="{Binding Columns[\PropertyNameDec\], ElementName=RadGridView1}" SortDirection="Ascending" />
|
||||||
|
</telerik:RadGridView.GroupDescriptors>
|
||||||
|
</telerik:RadGridView>
|
||||||
|
|
||||||
|
</GroupBox>
|
||||||
|
<GroupBox Margin="5" Header="消息操作记录">
|
||||||
|
<telerik:RadGridView
|
||||||
|
Name="RadGridView2"
|
||||||
|
Grid.Row="2"
|
||||||
|
Height="250"
|
||||||
|
telerik:StyleManager.Theme="Office_Blue"
|
||||||
|
AutoGenerateColumns="False"
|
||||||
|
IsFilteringAllowed="False"
|
||||||
|
IsReadOnly="False"
|
||||||
|
ItemsSource="{Binding MySignalLogs, Mode=TwoWay}"
|
||||||
|
RowIndicatorVisibility="Collapsed"
|
||||||
|
SelectedItem="{Binding SelectedSignalLog}"
|
||||||
|
SelectionMode="Single"
|
||||||
|
ShowGroupPanel="False">
|
||||||
|
<telerik:RadGridView.Columns>
|
||||||
|
<telerik:GridViewDataColumn DataMemberBinding="{Binding ID}" Header="序号" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding OperateType}"
|
||||||
|
Header="操作"
|
||||||
|
IsReadOnly="True" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding ExtraMsg}"
|
||||||
|
Header="附加消息"
|
||||||
|
IsReadOnly="True" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding CreateUserName}"
|
||||||
|
Header="操作人"
|
||||||
|
IsReadOnly="True" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
Width="*"
|
||||||
|
DataFormatString="{}yyyy-MM-dd HH:mm:ss"
|
||||||
|
DataMemberBinding="{Binding CreateTime}"
|
||||||
|
Header="操作时间"
|
||||||
|
IsReadOnly="True" />
|
||||||
|
</telerik:RadGridView.Columns>
|
||||||
|
</telerik:RadGridView>
|
||||||
|
</GroupBox>
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel Grid.Column="1" Margin="5">
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="60"
|
||||||
|
Margin="0,0,0,6"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Command="{Binding ButtonCmd}"
|
||||||
|
CommandParameter="确定"
|
||||||
|
Content="确定" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Width="60"
|
||||||
|
Margin="0,0,0,6"
|
||||||
|
HorizontalAlignment="Right"
|
||||||
|
Command="{Binding ButtonCmd}"
|
||||||
|
CommandParameter="取消"
|
||||||
|
Content="取消" />
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
@ -0,0 +1,28 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// DialogSignalPropertyhisAndLogs.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class DialogSignalPropertyhisAndLogs : UserControl
|
||||||
|
{
|
||||||
|
public DialogSignalPropertyhisAndLogs()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,102 @@
|
|||||||
|
<UserControl
|
||||||
|
x:Class="SWS.WPF.Views.DialogSignalSelect"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:CustomControl="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:SWS.WPF.Views"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||||||
|
Background="White">
|
||||||
|
<UserControl.Resources>
|
||||||
|
<ResourceDictionary Source="pack://application:,,,/SWS.WPF;component/Style/CustomStyles.xaml" />
|
||||||
|
</UserControl.Resources>
|
||||||
|
<Grid>
|
||||||
|
<StackPanel>
|
||||||
|
<CustomControl:customWindowTitleBar />
|
||||||
|
<StackPanel>
|
||||||
|
<TextBlock Margin="10,0" Text="{Binding Info}" />
|
||||||
|
<Border
|
||||||
|
Grid.Row="1"
|
||||||
|
Width="250"
|
||||||
|
Margin="10"
|
||||||
|
BorderBrush="SlateBlue"
|
||||||
|
BorderThickness="1"
|
||||||
|
CornerRadius="5">
|
||||||
|
<ListBox ItemsSource="{Binding listSignal}" SelectedItem="{Binding SelectedSignal, Mode=TwoWay}">
|
||||||
|
<ListBox.ItemTemplate>
|
||||||
|
<DataTemplate>
|
||||||
|
<Border>
|
||||||
|
<TextBlock
|
||||||
|
Margin="5"
|
||||||
|
FontSize="14"
|
||||||
|
Text="{Binding SignalName}" />
|
||||||
|
</Border>
|
||||||
|
</DataTemplate>
|
||||||
|
</ListBox.ItemTemplate>
|
||||||
|
<ListBox.Style>
|
||||||
|
<Style TargetType="ListBox">
|
||||||
|
<Setter Property="Focusable" Value="False" />
|
||||||
|
<Setter Property="Padding" Value="0" />
|
||||||
|
<Setter Property="Margin" Value="0" />
|
||||||
|
<Setter Property="Height" Value="500" />
|
||||||
|
<Setter Property="Background" Value="SlateGray" />
|
||||||
|
<Setter Property="BorderBrush" Value="Transparent" />
|
||||||
|
<Setter Property="ItemContainerStyle">
|
||||||
|
<Setter.Value>
|
||||||
|
<Style TargetType="ListBoxItem">
|
||||||
|
<Setter Property="Height" Value="30" />
|
||||||
|
<Setter Property="Template">
|
||||||
|
<Setter.Value>
|
||||||
|
<ControlTemplate TargetType="ListBoxItem">
|
||||||
|
<Border
|
||||||
|
Height="{TemplateBinding Height}"
|
||||||
|
Background="{TemplateBinding Background}"
|
||||||
|
BorderBrush="#DFDFDF"
|
||||||
|
BorderThickness="0,0,0,1">
|
||||||
|
<ContentPresenter VerticalAlignment="Center" />
|
||||||
|
</Border>
|
||||||
|
</ControlTemplate>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
<Style.Triggers>
|
||||||
|
<Trigger Property="IsMouseOver" Value="True">
|
||||||
|
<Setter Property="Background" Value="LightBlue" />
|
||||||
|
</Trigger>
|
||||||
|
<Trigger Property="IsSelected" Value="True">
|
||||||
|
<Setter Property="Background" Value="DeepSkyBlue" />
|
||||||
|
</Trigger>
|
||||||
|
</Style.Triggers>
|
||||||
|
</Style>
|
||||||
|
</Setter.Value>
|
||||||
|
</Setter>
|
||||||
|
</Style>
|
||||||
|
</ListBox.Style>
|
||||||
|
</ListBox>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
<Border
|
||||||
|
Grid.Row="2"
|
||||||
|
Height="30"
|
||||||
|
Background="{StaticResource ColorPrimary}">
|
||||||
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||||
|
<telerik:RadButton
|
||||||
|
Margin="5"
|
||||||
|
Command="{Binding OKCommand}"
|
||||||
|
CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}"
|
||||||
|
Content="确定"
|
||||||
|
Style="{StaticResource sysBtn}" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Margin="5"
|
||||||
|
Command="{Binding CloseCommand}"
|
||||||
|
CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}"
|
||||||
|
Content="取消"
|
||||||
|
Style="{StaticResource sysBtn2}" />
|
||||||
|
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</StackPanel>
|
||||||
|
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
@ -0,0 +1,28 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// DialogSignalSelect.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class DialogSignalSelect : UserControl
|
||||||
|
{
|
||||||
|
public DialogSignalSelect()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
55
newFront/c#前端/SWS.WPF/Views/DialogTest.xaml
Normal file
55
newFront/c#前端/SWS.WPF/Views/DialogTest.xaml
Normal file
@ -0,0 +1,55 @@
|
|||||||
|
<UserControl
|
||||||
|
x:Class="SWS.WPF.Views.DialogTest"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:CustomControl="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:SWS.WPF.Views"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||||||
|
Width="400"
|
||||||
|
Height="200"
|
||||||
|
mc:Ignorable="d">
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="60" />
|
||||||
|
<RowDefinition Height="60" />
|
||||||
|
<RowDefinition Height="60" />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<CustomControl:customWindowTitleBar x:Name="titleBar" />
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="1"
|
||||||
|
Height="30"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<TextBlock
|
||||||
|
Width="60"
|
||||||
|
FontSize="18"
|
||||||
|
Text="传参:" />
|
||||||
|
<TextBox
|
||||||
|
Width="200"
|
||||||
|
FontSize="18"
|
||||||
|
Text="{Binding parText}" />
|
||||||
|
</StackPanel>
|
||||||
|
<StackPanel
|
||||||
|
Grid.Row="2"
|
||||||
|
Height="60"
|
||||||
|
HorizontalAlignment="Center"
|
||||||
|
VerticalAlignment="Center"
|
||||||
|
Orientation="Horizontal">
|
||||||
|
<Button
|
||||||
|
Width="100"
|
||||||
|
Margin="10"
|
||||||
|
Command="{Binding Command_Close1}"
|
||||||
|
Content="Yes关闭"
|
||||||
|
FontSize="18" />
|
||||||
|
<Button
|
||||||
|
Width="100"
|
||||||
|
Margin="10"
|
||||||
|
Command="{Binding Command_Close2}"
|
||||||
|
Content="No关闭"
|
||||||
|
FontSize="18" />
|
||||||
|
</StackPanel>
|
||||||
|
</Grid>
|
||||||
|
</UserControl>
|
29
newFront/c#前端/SWS.WPF/Views/DialogTest.xaml.cs
Normal file
29
newFront/c#前端/SWS.WPF/Views/DialogTest.xaml.cs
Normal file
@ -0,0 +1,29 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Navigation;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using SWS.WPF.ViewModels;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// DialogTest.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class DialogTest : UserControl
|
||||||
|
{
|
||||||
|
public DialogTest()
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
83
newFront/c#前端/SWS.WPF/Views/Project.xaml
Normal file
83
newFront/c#前端/SWS.WPF/Views/Project.xaml
Normal file
@ -0,0 +1,83 @@
|
|||||||
|
<Window
|
||||||
|
x:Class="SWS.WPF.Views.Project"
|
||||||
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||||
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||||
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
|
||||||
|
xmlns:local="clr-namespace:SWS.CustomControl;assembly=SWS.CustomControl"
|
||||||
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
|
||||||
|
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
|
||||||
|
Width="400"
|
||||||
|
Height="600"
|
||||||
|
AllowsTransparency="True"
|
||||||
|
Background="White"
|
||||||
|
Loaded="Window_Loaded"
|
||||||
|
ResizeMode="NoResize"
|
||||||
|
WindowStartupLocation="CenterScreen"
|
||||||
|
WindowStyle="None">
|
||||||
|
<Window.Resources>
|
||||||
|
<ResourceDictionary Source="pack://application:,,,/SWS.WPF;component/Style/CustomStyles.xaml" />
|
||||||
|
</Window.Resources>
|
||||||
|
<telerik:RadBusyIndicator BusyContent="{Binding BusyContent}" IsBusy="{Binding IsBusy}">
|
||||||
|
<Grid>
|
||||||
|
<Grid.RowDefinitions>
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
<RowDefinition />
|
||||||
|
<RowDefinition Height="auto" />
|
||||||
|
</Grid.RowDefinitions>
|
||||||
|
<local:customWindowTitleBar />
|
||||||
|
|
||||||
|
<telerik:RadGridView
|
||||||
|
Grid.Row="1"
|
||||||
|
AutoGenerateColumns="False"
|
||||||
|
IsReadOnly="True"
|
||||||
|
ItemsSource="{Binding Projects}"
|
||||||
|
SelectedItem="{Binding select}"
|
||||||
|
SelectionMode="Single"
|
||||||
|
ShowGroupPanel="False">
|
||||||
|
<telerik:RadGridView.Columns>
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding ProjectId}"
|
||||||
|
Header="项目ID"
|
||||||
|
IsFilteringDeferred="True"
|
||||||
|
IsVisible="False" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding ProjectName}"
|
||||||
|
Header="项目名称"
|
||||||
|
IsFilteringDeferred="True" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding ProjectCode}"
|
||||||
|
Header="项目代号"
|
||||||
|
IsFilteringDeferred="True" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding ShipSociety}"
|
||||||
|
Header="船级社"
|
||||||
|
IsFilteringDeferred="True" />
|
||||||
|
<telerik:GridViewDataColumn
|
||||||
|
DataMemberBinding="{Binding ShipOwner}"
|
||||||
|
Header="船东"
|
||||||
|
IsFilteringDeferred="True" />
|
||||||
|
</telerik:RadGridView.Columns>
|
||||||
|
</telerik:RadGridView>
|
||||||
|
|
||||||
|
<Border
|
||||||
|
Grid.Row="2"
|
||||||
|
Height="30"
|
||||||
|
Background="{StaticResource ColorPrimary}">
|
||||||
|
<StackPanel HorizontalAlignment="Right" Orientation="Horizontal">
|
||||||
|
<telerik:RadButton
|
||||||
|
Margin="5"
|
||||||
|
Command="{Binding CloseCommand}"
|
||||||
|
CommandParameter="{Binding RelativeSource={RelativeSource AncestorType=Window}}"
|
||||||
|
Content="取消"
|
||||||
|
Style="{StaticResource sysBtn2}" />
|
||||||
|
<telerik:RadButton
|
||||||
|
Margin="5"
|
||||||
|
Command="{Binding OKCommand}"
|
||||||
|
Content="进入项目"
|
||||||
|
Style="{StaticResource sysBtn}" />
|
||||||
|
</StackPanel>
|
||||||
|
</Border>
|
||||||
|
</Grid>
|
||||||
|
</telerik:RadBusyIndicator>
|
||||||
|
|
||||||
|
</Window>
|
35
newFront/c#前端/SWS.WPF/Views/Project.xaml.cs
Normal file
35
newFront/c#前端/SWS.WPF/Views/Project.xaml.cs
Normal file
@ -0,0 +1,35 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using System.Windows;
|
||||||
|
using System.Windows.Controls;
|
||||||
|
using System.Windows.Data;
|
||||||
|
using System.Windows.Documents;
|
||||||
|
using System.Windows.Input;
|
||||||
|
using System.Windows.Media;
|
||||||
|
using System.Windows.Media.Imaging;
|
||||||
|
using System.Windows.Shapes;
|
||||||
|
using SWS.WPF.ViewModels;
|
||||||
|
|
||||||
|
namespace SWS.WPF.Views
|
||||||
|
{
|
||||||
|
/// <summary>
|
||||||
|
/// Project.xaml 的交互逻辑
|
||||||
|
/// </summary>
|
||||||
|
public partial class Project : Window
|
||||||
|
{
|
||||||
|
public Project(ProjectViewModel viewModel)
|
||||||
|
{
|
||||||
|
InitializeComponent();
|
||||||
|
viewModel.CloseWindowAction = this.Close;
|
||||||
|
DataContext = viewModel;
|
||||||
|
}
|
||||||
|
private void Window_Loaded(object sender, RoutedEventArgs e)
|
||||||
|
{
|
||||||
|
var x = DataContext as ProjectViewModel;
|
||||||
|
x.onWindow_loaded(null);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
31
newFront/c#前端/SWS.WPF/app.config
Normal file
31
newFront/c#前端/SWS.WPF/app.config
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Wpf" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="DryIoc" publicKeyToken="dfbf2bd50fcf7768" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-5.4.3.0" newVersion="5.4.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Container.Abstractions" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.88.57754" newVersion="9.0.88.57754" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/DryIoc.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/DryIoc.dll
Normal file
Binary file not shown.
5867
newFront/c#前端/SWS.WPF/bin/Debug/DryIoc.xml
Normal file
5867
newFront/c#前端/SWS.WPF/bin/Debug/DryIoc.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/EasyEncryption.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/EasyEncryption.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/INIFileParser.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/INIFileParser.dll
Normal file
Binary file not shown.
1181
newFront/c#前端/SWS.WPF/bin/Debug/INIFileParser.xml
Normal file
1181
newFront/c#前端/SWS.WPF/bin/Debug/INIFileParser.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
@ -0,0 +1,417 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>Microsoft.Bcl.AsyncInterfaces</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1">
|
||||||
|
<summary>Provides the core logic for implementing a manual-reset <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource"/> or <see cref="T:System.Threading.Tasks.Sources.IValueTaskSource`1"/>.</summary>
|
||||||
|
<typeparam name="TResult"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation">
|
||||||
|
<summary>
|
||||||
|
The callback to invoke when the operation completes if <see cref="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)"/> was called before the operation completed,
|
||||||
|
or <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCoreShared.s_sentinel"/> if the operation completed before a callback was supplied,
|
||||||
|
or null if a callback hasn't yet been provided and the operation hasn't yet completed.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuationState">
|
||||||
|
<summary>State to pass to <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._continuation"/>.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext">
|
||||||
|
<summary><see cref="T:System.Threading.ExecutionContext"/> to flow to the callback, or null if no flowing is required.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._capturedContext">
|
||||||
|
<summary>
|
||||||
|
A "captured" <see cref="T:System.Threading.SynchronizationContext"/> or <see cref="T:System.Threading.Tasks.TaskScheduler"/> with which to invoke the callback,
|
||||||
|
or null if no special context is required.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._completed">
|
||||||
|
<summary>Whether the current operation has completed.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._result">
|
||||||
|
<summary>The result with which the operation succeeded, or the default value if it hasn't yet completed or failed.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._error">
|
||||||
|
<summary>The exception with which the operation failed, or null if it hasn't yet completed or completed successfully.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._version">
|
||||||
|
<summary>The current version of this value, used to help prevent misuse.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.RunContinuationsAsynchronously">
|
||||||
|
<summary>Gets or sets whether to force continuations to run asynchronously.</summary>
|
||||||
|
<remarks>Continuations may run asynchronously if this is false, but they'll never run synchronously if this is true.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Reset">
|
||||||
|
<summary>Resets to prepare for the next operation.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetResult(`0)">
|
||||||
|
<summary>Completes with a successful result.</summary>
|
||||||
|
<param name="result">The result.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SetException(System.Exception)">
|
||||||
|
<summary>Complets with an error.</summary>
|
||||||
|
<param name="error"></param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.Version">
|
||||||
|
<summary>Gets the operation version.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetStatus(System.Int16)">
|
||||||
|
<summary>Gets the status of the operation.</summary>
|
||||||
|
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.GetResult(System.Int16)">
|
||||||
|
<summary>Gets the result of the operation.</summary>
|
||||||
|
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.OnCompleted(System.Action{System.Object},System.Object,System.Int16,System.Threading.Tasks.Sources.ValueTaskSourceOnCompletedFlags)">
|
||||||
|
<summary>Schedules the continuation action for this operation.</summary>
|
||||||
|
<param name="continuation">The continuation to invoke when the operation has completed.</param>
|
||||||
|
<param name="state">The state object to pass to <paramref name="continuation"/> when it's invoked.</param>
|
||||||
|
<param name="token">Opaque value that was provided to the <see cref="T:System.Threading.Tasks.ValueTask"/>'s constructor.</param>
|
||||||
|
<param name="flags">The flags describing the behavior of the continuation.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.ValidateToken(System.Int16)">
|
||||||
|
<summary>Ensures that the specified token matches the current version.</summary>
|
||||||
|
<param name="token">The token supplied by <see cref="T:System.Threading.Tasks.ValueTask"/>.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.SignalCompletion">
|
||||||
|
<summary>Signals that the operation has completed. Invoked after the result or error has been set.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1.InvokeContinuation">
|
||||||
|
<summary>
|
||||||
|
Invokes the continuation with the appropriate captured context / scheduler.
|
||||||
|
This assumes that if <see cref="F:System.Threading.Tasks.Sources.ManualResetValueTaskSourceCore`1._executionContext"/> is not null we're already
|
||||||
|
running within that <see cref="T:System.Threading.ExecutionContext"/>.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Threading.Tasks.TaskAsyncEnumerableExtensions">
|
||||||
|
<summary>Provides a set of static methods for configuring <see cref="T:System.Threading.Tasks.Task"/>-related behaviors on asynchronous enumerables and disposables.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait(System.IAsyncDisposable,System.Boolean)">
|
||||||
|
<summary>Configures how awaits on the tasks returned from an async disposable will be performed.</summary>
|
||||||
|
<param name="source">The source async disposable.</param>
|
||||||
|
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||||
|
<returns>The configured async disposable.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.ConfigureAwait``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Boolean)">
|
||||||
|
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||||
|
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||||
|
<param name="source">The source enumerable being iterated.</param>
|
||||||
|
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||||
|
<returns>The configured enumerable.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.TaskAsyncEnumerableExtensions.WithCancellation``1(System.Collections.Generic.IAsyncEnumerable{``0},System.Threading.CancellationToken)">
|
||||||
|
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||||
|
<typeparam name="T">The type of the objects being iterated.</typeparam>
|
||||||
|
<param name="source">The source enumerable being iterated.</param>
|
||||||
|
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||||
|
<returns>The configured enumerable.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder">
|
||||||
|
<summary>Represents a builder for asynchronous iterators.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Create">
|
||||||
|
<summary>Creates an instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder"/> struct.</summary>
|
||||||
|
<returns>The initialized instance.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.MoveNext``1(``0@)">
|
||||||
|
<summary>Invokes <see cref="M:System.Runtime.CompilerServices.IAsyncStateMachine.MoveNext"/> on the state machine while guarding the <see cref="T:System.Threading.ExecutionContext"/>.</summary>
|
||||||
|
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||||
|
<param name="stateMachine">The state machine instance, passed by reference.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitOnCompleted``2(``0@,``1@)">
|
||||||
|
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||||
|
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||||
|
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||||
|
<param name="awaiter">The awaiter.</param>
|
||||||
|
<param name="stateMachine">The state machine.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.AwaitUnsafeOnCompleted``2(``0@,``1@)">
|
||||||
|
<summary>Schedules the state machine to proceed to the next action when the specified awaiter completes.</summary>
|
||||||
|
<typeparam name="TAwaiter">The type of the awaiter.</typeparam>
|
||||||
|
<typeparam name="TStateMachine">The type of the state machine.</typeparam>
|
||||||
|
<param name="awaiter">The awaiter.</param>
|
||||||
|
<param name="stateMachine">The state machine.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.Complete">
|
||||||
|
<summary>Marks iteration as being completed, whether successfully or otherwise.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.CompilerServices.AsyncIteratorMethodBuilder.ObjectIdForDebugger">
|
||||||
|
<summary>Gets an object that may be used to uniquely identify this builder to the debugger.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute">
|
||||||
|
<summary>Indicates whether a method is an asynchronous iterator.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute.#ctor(System.Type)">
|
||||||
|
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.AsyncIteratorStateMachineAttribute"/> class.</summary>
|
||||||
|
<param name="stateMachineType">The type object for the underlying state machine type that's used to implement a state machine method.</param>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable">
|
||||||
|
<summary>Provides a type that can be used to configure how awaits on an <see cref="T:System.IAsyncDisposable"/> are performed.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredAsyncDisposable.DisposeAsync">
|
||||||
|
<summary>Asynchronously releases the unmanaged resources used by the <see cref="T:System.Runtime.CompilerServices.ConfiguredAsyncDisposable" />.</summary>
|
||||||
|
<returns>A task that represents the asynchronous dispose operation.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1">
|
||||||
|
<summary>Provides an awaitable async enumerable that enables cancelable iteration and configured awaits.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)">
|
||||||
|
<summary>Configures how awaits on the tasks returned from an async iteration will be performed.</summary>
|
||||||
|
<param name="continueOnCapturedContext">Whether to capture and marshal back to the current context.</param>
|
||||||
|
<returns>The configured enumerable.</returns>
|
||||||
|
<remarks>This will replace any previous value set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.ConfigureAwait(System.Boolean)"/> for this iteration.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)">
|
||||||
|
<summary>Sets the <see cref="T:System.Threading.CancellationToken"/> to be passed to <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)"/> when iterating.</summary>
|
||||||
|
<param name="cancellationToken">The <see cref="T:System.Threading.CancellationToken"/> to use.</param>
|
||||||
|
<returns>The configured enumerable.</returns>
|
||||||
|
<remarks>This will replace any previous <see cref="T:System.Threading.CancellationToken"/> set by <see cref="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.WithCancellation(System.Threading.CancellationToken)"/> for this iteration.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.GetAsyncEnumerator">
|
||||||
|
<summary>Returns an enumerator that iterates asynchronously through collections that enables cancelable iteration and configured awaits.</summary>
|
||||||
|
<returns>An enumerator for the <see cref="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1" /> class.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator">
|
||||||
|
<summary>Provides an awaitable async enumerator that enables cancelable iteration and configured awaits.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.MoveNextAsync">
|
||||||
|
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||||
|
<returns>
|
||||||
|
A <see cref="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1"/> that will complete with a result of <c>true</c>
|
||||||
|
if the enumerator was successfully advanced to the next element, or <c>false</c> if the enumerator has
|
||||||
|
passed the end of the collection.
|
||||||
|
</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.Current">
|
||||||
|
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredCancelableAsyncEnumerable`1.Enumerator.DisposeAsync">
|
||||||
|
<summary>
|
||||||
|
Performs application-defined tasks associated with freeing, releasing, or
|
||||||
|
resetting unmanaged resources asynchronously.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute">
|
||||||
|
<summary>Allows users of async-enumerable methods to mark the parameter that should receive the cancellation token value from <see cref="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)" />.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.EnumeratorCancellationAttribute.#ctor">
|
||||||
|
<summary>Initializes a new instance of the <see cref="T:System.Runtime.CompilerServices.EnumeratorCancellationAttribute" /> class.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.InteropServices.LibraryImportAttribute">
|
||||||
|
<summary>
|
||||||
|
Attribute used to indicate a source generator should create a function for marshalling
|
||||||
|
arguments instead of relying on the runtime to generate an equivalent marshalling function at run-time.
|
||||||
|
</summary>
|
||||||
|
<remarks>
|
||||||
|
This attribute is meaningless if the source generator associated with it is not enabled.
|
||||||
|
The current built-in source generator only supports C# and only supplies an implementation when
|
||||||
|
applied to static, partial, non-generic methods.
|
||||||
|
</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.InteropServices.LibraryImportAttribute.#ctor(System.String)">
|
||||||
|
<summary>
|
||||||
|
Initializes a new instance of the <see cref="T:System.Runtime.InteropServices.LibraryImportAttribute"/>.
|
||||||
|
</summary>
|
||||||
|
<param name="libraryName">Name of the library containing the import.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.LibraryName">
|
||||||
|
<summary>
|
||||||
|
Gets the name of the library containing the import.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.EntryPoint">
|
||||||
|
<summary>
|
||||||
|
Gets or sets the name of the entry point to be called.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling">
|
||||||
|
<summary>
|
||||||
|
Gets or sets how to marshal string arguments to the method.
|
||||||
|
</summary>
|
||||||
|
<remarks>
|
||||||
|
If this field is set to a value other than <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />,
|
||||||
|
<see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType" /> must not be specified.
|
||||||
|
</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType">
|
||||||
|
<summary>
|
||||||
|
Gets or sets the <see cref="T:System.Type"/> used to control how string arguments to the method are marshalled.
|
||||||
|
</summary>
|
||||||
|
<remarks>
|
||||||
|
If this field is specified, <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshalling" /> must not be specified
|
||||||
|
or must be set to <see cref="F:System.Runtime.InteropServices.StringMarshalling.Custom" />.
|
||||||
|
</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.InteropServices.LibraryImportAttribute.SetLastError">
|
||||||
|
<summary>
|
||||||
|
Gets or sets whether the callee sets an error (SetLastError on Windows or errno
|
||||||
|
on other platforms) before returning from the attributed method.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.InteropServices.StringMarshalling">
|
||||||
|
<summary>
|
||||||
|
Specifies how strings should be marshalled for generated p/invokes
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Custom">
|
||||||
|
<summary>
|
||||||
|
Indicates the user is suppling a specific marshaller in <see cref="P:System.Runtime.InteropServices.LibraryImportAttribute.StringMarshallingCustomType"/>.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf8">
|
||||||
|
<summary>
|
||||||
|
Use the platform-provided UTF-8 marshaller.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="F:System.Runtime.InteropServices.StringMarshalling.Utf16">
|
||||||
|
<summary>
|
||||||
|
Use the platform-provided UTF-16 marshaller.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Collections.Generic.IAsyncEnumerable`1">
|
||||||
|
<summary>Exposes an enumerator that provides asynchronous iteration over values of a specified type.</summary>
|
||||||
|
<typeparam name="T">The type of values to enumerate.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Collections.Generic.IAsyncEnumerable`1.GetAsyncEnumerator(System.Threading.CancellationToken)">
|
||||||
|
<summary>Returns an enumerator that iterates asynchronously through the collection.</summary>
|
||||||
|
<param name="cancellationToken">A <see cref="T:System.Threading.CancellationToken"/> that may be used to cancel the asynchronous iteration.</param>
|
||||||
|
<returns>An enumerator that can be used to iterate asynchronously through the collection.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Collections.Generic.IAsyncEnumerator`1">
|
||||||
|
<summary>Supports a simple asynchronous iteration over a generic collection.</summary>
|
||||||
|
<typeparam name="T">The type of objects to enumerate.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Collections.Generic.IAsyncEnumerator`1.MoveNextAsync">
|
||||||
|
<summary>Advances the enumerator asynchronously to the next element of the collection.</summary>
|
||||||
|
<returns>
|
||||||
|
A <see cref="T:System.Threading.Tasks.ValueTask`1"/> that will complete with a result of <c>true</c> if the enumerator
|
||||||
|
was successfully advanced to the next element, or <c>false</c> if the enumerator has passed the end
|
||||||
|
of the collection.
|
||||||
|
</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Collections.Generic.IAsyncEnumerator`1.Current">
|
||||||
|
<summary>Gets the element in the collection at the current position of the enumerator.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.IAsyncDisposable">
|
||||||
|
<summary>Provides a mechanism for releasing unmanaged resources asynchronously.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.IAsyncDisposable.DisposeAsync">
|
||||||
|
<summary>
|
||||||
|
Performs application-defined tasks associated with freeing, releasing, or
|
||||||
|
resetting unmanaged resources asynchronously.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.AllowNullAttribute">
|
||||||
|
<summary>Specifies that null is allowed as an input even if the corresponding type disallows it.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.DisallowNullAttribute">
|
||||||
|
<summary>Specifies that null is disallowed as an input even if the corresponding type allows it.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullAttribute">
|
||||||
|
<summary>Specifies that an output may be null even if the corresponding type disallows it.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullAttribute">
|
||||||
|
<summary>Specifies that an output will not be null even if the corresponding type allows it. Specifies that an input argument was not null when the call returns.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute">
|
||||||
|
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue"/>, the parameter may be null even if the corresponding type disallows it.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.#ctor(System.Boolean)">
|
||||||
|
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||||
|
<param name="returnValue">
|
||||||
|
The return value condition. If the method returns this value, the associated parameter may be null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.MaybeNullWhenAttribute.ReturnValue">
|
||||||
|
<summary>Gets the return value condition.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute">
|
||||||
|
<summary>Specifies that when a method returns <see cref="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue"/>, the parameter will not be null even if the corresponding type allows it.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.#ctor(System.Boolean)">
|
||||||
|
<summary>Initializes the attribute with the specified return value condition.</summary>
|
||||||
|
<param name="returnValue">
|
||||||
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.NotNullWhenAttribute.ReturnValue">
|
||||||
|
<summary>Gets the return value condition.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute">
|
||||||
|
<summary>Specifies that the output will be non-null if the named parameter is non-null.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.#ctor(System.String)">
|
||||||
|
<summary>Initializes the attribute with the associated parameter name.</summary>
|
||||||
|
<param name="parameterName">
|
||||||
|
The associated parameter name. The output will be non-null if the argument to the parameter specified is non-null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.NotNullIfNotNullAttribute.ParameterName">
|
||||||
|
<summary>Gets the associated parameter name.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnAttribute">
|
||||||
|
<summary>Applied to a method that will never return under any circumstance.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute">
|
||||||
|
<summary>Specifies that the method will not return if the associated Boolean parameter is passed the specified value.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.#ctor(System.Boolean)">
|
||||||
|
<summary>Initializes the attribute with the specified parameter value.</summary>
|
||||||
|
<param name="parameterValue">
|
||||||
|
The condition parameter value. Code after the method will be considered unreachable by diagnostics if the argument to
|
||||||
|
the associated parameter matches this value.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.DoesNotReturnIfAttribute.ParameterValue">
|
||||||
|
<summary>Gets the condition parameter value.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute">
|
||||||
|
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String)">
|
||||||
|
<summary>Initializes the attribute with a field or property member.</summary>
|
||||||
|
<param name="member">
|
||||||
|
The field or property member that is promised to be not-null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.#ctor(System.String[])">
|
||||||
|
<summary>Initializes the attribute with the list of field and property members.</summary>
|
||||||
|
<param name="members">
|
||||||
|
The list of field and property members that are promised to be not-null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullAttribute.Members">
|
||||||
|
<summary>Gets field or property member names.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute">
|
||||||
|
<summary>Specifies that the method or property will ensure that the listed field and property members have not-null values when returning with the specified return value condition.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String)">
|
||||||
|
<summary>Initializes the attribute with the specified return value condition and a field or property member.</summary>
|
||||||
|
<param name="returnValue">
|
||||||
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||||
|
</param>
|
||||||
|
<param name="member">
|
||||||
|
The field or property member that is promised to be not-null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.#ctor(System.Boolean,System.String[])">
|
||||||
|
<summary>Initializes the attribute with the specified return value condition and list of field and property members.</summary>
|
||||||
|
<param name="returnValue">
|
||||||
|
The return value condition. If the method returns this value, the associated parameter will not be null.
|
||||||
|
</param>
|
||||||
|
<param name="members">
|
||||||
|
The list of field and property members that are promised to be not-null.
|
||||||
|
</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.ReturnValue">
|
||||||
|
<summary>Gets the return value condition.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Diagnostics.CodeAnalysis.MemberNotNullWhenAttribute.Members">
|
||||||
|
<summary>Gets field or property member names.</summary>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
Binary file not shown.
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Microsoft.Xaml.Behaviors.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Microsoft.Xaml.Behaviors.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Microsoft.Xaml.Behaviors.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Microsoft.Xaml.Behaviors.pdb
Normal file
Binary file not shown.
2400
newFront/c#前端/SWS.WPF/bin/Debug/Microsoft.Xaml.Behaviors.xml
Normal file
2400
newFront/c#前端/SWS.WPF/bin/Debug/Microsoft.Xaml.Behaviors.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Newtonsoft.Json.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Newtonsoft.Json.dll
Normal file
Binary file not shown.
11363
newFront/c#前端/SWS.WPF/bin/Debug/Newtonsoft.Json.xml
Normal file
11363
newFront/c#前端/SWS.WPF/bin/Debug/Newtonsoft.Json.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.DryIoc.Wpf.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.DryIoc.Wpf.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.DryIoc.Wpf.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.DryIoc.Wpf.pdb
Normal file
Binary file not shown.
341
newFront/c#前端/SWS.WPF/bin/Debug/Prism.DryIoc.Wpf.xml
Normal file
341
newFront/c#前端/SWS.WPF/bin/Debug/Prism.DryIoc.Wpf.xml
Normal file
@ -0,0 +1,341 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>Prism.DryIoc.Wpf</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:Prism.DryIoc.PrismApplication">
|
||||||
|
<summary>
|
||||||
|
Base application class that uses <see cref="T:Prism.DryIoc.DryIocContainerExtension"/> as it's container.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismApplication.CreateContainerRules">
|
||||||
|
<summary>
|
||||||
|
Create <see cref="T:DryIoc.Rules" /> to alter behavior of <see cref="T:DryIoc.IContainer" />
|
||||||
|
</summary>
|
||||||
|
<returns>An instance of <see cref="T:DryIoc.Rules" /></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismApplication.CreateContainerExtension">
|
||||||
|
<summary>
|
||||||
|
Create a new <see cref="T:Prism.DryIoc.DryIocContainerExtension"/> used by Prism.
|
||||||
|
</summary>
|
||||||
|
<returns>A new <see cref="T:Prism.DryIoc.DryIocContainerExtension"/>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismApplication.RegisterFrameworkExceptionTypes">
|
||||||
|
<summary>
|
||||||
|
Registers the <see cref="T:System.Type"/>s of the Exceptions that are not considered
|
||||||
|
root exceptions by the <see cref="T:System.ExceptionExtensions"/>.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.DryIoc.PrismBootstrapper">
|
||||||
|
<summary>
|
||||||
|
Base bootstrapper class that uses <see cref="T:Prism.DryIoc.DryIocContainerExtension"/> as it's container.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismBootstrapper.CreateContainerRules">
|
||||||
|
<summary>
|
||||||
|
Create <see cref="T:DryIoc.Rules" /> to alter behavior of <see cref="T:DryIoc.IContainer" />
|
||||||
|
</summary>
|
||||||
|
<returns>An instance of <see cref="T:DryIoc.Rules" /></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismBootstrapper.CreateContainerExtension">
|
||||||
|
<summary>
|
||||||
|
Create a new <see cref="T:Prism.DryIoc.DryIocContainerExtension"/> used by Prism.
|
||||||
|
</summary>
|
||||||
|
<returns>A new <see cref="T:Prism.DryIoc.DryIocContainerExtension"/>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismBootstrapper.RegisterFrameworkExceptionTypes">
|
||||||
|
<summary>
|
||||||
|
Registers the <see cref="T:System.Type"/>s of the Exceptions that are not considered
|
||||||
|
root exceptions by the <see cref="T:System.ExceptionExtensions"/>.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.DryIoc.Properties.Resources">
|
||||||
|
<summary>
|
||||||
|
A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.ResourceManager">
|
||||||
|
<summary>
|
||||||
|
Returns the cached ResourceManager instance used by this class.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.Culture">
|
||||||
|
<summary>
|
||||||
|
Overrides the current thread's CurrentUICulture property for all
|
||||||
|
resource lookups using this strongly typed resource class.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.NotOverwrittenGetModuleEnumeratorException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The method 'GetModuleEnumerator' of the bootstrapper must be overwritten in order to use the default module initialization logic..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.NullDryIocContainerBuilderException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The ContainerBuilder is required and cannot be null..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.NullDryIocContainerException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The IContainer is required and cannot be null..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.NullLoggerFacadeException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The ILoggerFacade is required and cannot be null..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.NullModuleCatalogException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The IModuleCatalog is required and cannot be null in order to initialize the modules..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.Properties.Resources.TypeMappingAlreadyRegistered">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to Type '{0}' was already registered by the application. Skipping....
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.DryIoc.DryIocContainerExtension">
|
||||||
|
<summary>
|
||||||
|
The <see cref="T:Prism.Ioc.IContainerExtension" /> Implementation to use with DryIoc
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.DryIocContainerExtension.DefaultRules">
|
||||||
|
<summary>
|
||||||
|
Gets the Default DryIoc Container Rules used by Prism
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.DryIocContainerExtension.Instance">
|
||||||
|
<summary>
|
||||||
|
The instance of the wrapped container
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.#ctor">
|
||||||
|
<summary>
|
||||||
|
Constructs a default instance of the <see cref="T:Prism.DryIoc.DryIocContainerExtension" />
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.#ctor(DryIoc.IContainer)">
|
||||||
|
<summary>
|
||||||
|
Constructs a new <see cref="T:Prism.DryIoc.DryIocContainerExtension" />
|
||||||
|
</summary>
|
||||||
|
<param name="container">The <see cref="T:DryIoc.IContainer" /> instance to use.</param>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.DryIoc.DryIocContainerExtension.CurrentScope">
|
||||||
|
<summary>
|
||||||
|
Gets the current scope
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.FinalizeExtension">
|
||||||
|
<summary>
|
||||||
|
Used to perform any final steps for configuring the extension that may be required by the container.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterInstance(System.Type,System.Object)">
|
||||||
|
<summary>
|
||||||
|
Registers an instance of a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/> that is being registered</param>
|
||||||
|
<param name="instance">The instance of the service or <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterInstance(System.Type,System.Object,System.String)">
|
||||||
|
<summary>
|
||||||
|
Registers an instance of a given <see cref="T:System.Type"/> with the specified name or key
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/> that is being registered</param>
|
||||||
|
<param name="instance">The instance of the service or <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The name or key to register the service</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterSingleton(System.Type,System.Type)">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterSingleton(System.Type,System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The name or key to register the service</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterSingleton(System.Type,System.Func{System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service <see cref="T:System.Type" /> factory delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterSingleton(System.Type,System.Func{Prism.Ioc.IContainerProvider,System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service <see cref="T:System.Type" /> factory delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method using <see cref="T:Prism.Ioc.IContainerProvider"/>.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterManySingleton(System.Type,System.Type[])">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton Service which implements service interfaces
|
||||||
|
</summary>
|
||||||
|
<param name="type">The implementation <see cref="T:System.Type" />.</param>
|
||||||
|
<param name="serviceTypes">The service <see cref="T:System.Type"/>'s.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
<remarks>Registers all interfaces if none are specified.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterScoped(System.Type,System.Type)">
|
||||||
|
<summary>
|
||||||
|
Registers a scoped service
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterScoped(System.Type,System.Func{System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a scoped service using a delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterScoped(System.Type,System.Func{Prism.Ioc.IContainerProvider,System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a scoped service using a delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/>.</param>
|
||||||
|
<param name="factoryMethod">The delegate method using the <see cref="T:Prism.Ioc.IContainerProvider"/>.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Register(System.Type,System.Type)">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Register(System.Type,System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The name or key to register the service</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Register(System.Type,System.Func{System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient Service using a delegate method
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Register(System.Type,System.Func{Prism.Ioc.IContainerProvider,System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient Service using a delegate method
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method using <see cref="T:Prism.Ioc.IContainerProvider"/>.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.RegisterMany(System.Type,System.Type[])">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient Service which implements service interfaces
|
||||||
|
</summary>
|
||||||
|
<param name="type">The implementing <see cref="T:System.Type" />.</param>
|
||||||
|
<param name="serviceTypes">The service <see cref="T:System.Type"/>'s.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
<remarks>Registers all interfaces if none are specified.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Resolve(System.Type)">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Resolve(System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<param name="name">The service name/key used when registering the <see cref="T:System.Type"/></param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Resolve(System.Type,System.ValueTuple{System.Type,System.Object}[])">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<param name="parameters">Typed parameters to use when resolving the Service</param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.Resolve(System.Type,System.String,System.ValueTuple{System.Type,System.Object}[])">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<param name="name">The service name/key used when registering the <see cref="T:System.Type"/></param>
|
||||||
|
<param name="parameters">Typed parameters to use when resolving the Service</param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.IsRegistered(System.Type)">
|
||||||
|
<summary>
|
||||||
|
Determines if a given service is registered
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<returns><c>true</c> if the service is registered.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.IsRegistered(System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Determines if a given service is registered with the specified name
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The service name or key used</param>
|
||||||
|
<returns><c>true</c> if the service is registered.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.CreateScope">
|
||||||
|
<summary>
|
||||||
|
Creates a new Scope
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.DryIocContainerExtension.CreateScopeInternal">
|
||||||
|
<summary>
|
||||||
|
Creates a new Scope and provides the updated ServiceProvider
|
||||||
|
</summary>
|
||||||
|
<returns>The Scoped <see cref="T:DryIoc.IResolverContext" />.</returns>
|
||||||
|
<remarks>
|
||||||
|
This should be called by custom implementations that Implement IServiceScopeFactory
|
||||||
|
</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.DryIoc.PrismIocExtensions">
|
||||||
|
<summary>
|
||||||
|
Extensions help get the underlying <see cref="T:DryIoc.IContainer" />
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismIocExtensions.GetContainer(Prism.Ioc.IContainerProvider)">
|
||||||
|
<summary>
|
||||||
|
Gets the <see cref="T:DryIoc.IContainer" /> from the <see cref="T:Prism.Ioc.IContainerProvider" />
|
||||||
|
</summary>
|
||||||
|
<param name="containerProvider">The current <see cref="T:Prism.Ioc.IContainerProvider" /></param>
|
||||||
|
<returns>The underlying <see cref="T:DryIoc.IContainer" /></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.DryIoc.PrismIocExtensions.GetContainer(Prism.Ioc.IContainerRegistry)">
|
||||||
|
<summary>
|
||||||
|
Gets the <see cref="T:DryIoc.IContainer" /> from the <see cref="T:Prism.Ioc.IContainerProvider" />
|
||||||
|
</summary>
|
||||||
|
<param name="containerRegistry">The current <see cref="T:Prism.Ioc.IContainerRegistry" /></param>
|
||||||
|
<returns>The underlying <see cref="T:DryIoc.IContainer" /></returns>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Unity.Wpf.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Unity.Wpf.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Unity.Wpf.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Unity.Wpf.pdb
Normal file
Binary file not shown.
324
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Unity.Wpf.xml
Normal file
324
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Unity.Wpf.xml
Normal file
@ -0,0 +1,324 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>Prism.Unity.Wpf</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:Prism.Unity.PrismApplication">
|
||||||
|
<summary>
|
||||||
|
Base application class that uses <see cref="T:Prism.Unity.UnityContainerExtension"/> as it's container.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.PrismApplication.CreateContainerExtension">
|
||||||
|
<summary>
|
||||||
|
Create a new <see cref="T:Prism.Unity.UnityContainerExtension"/> used by Prism.
|
||||||
|
</summary>
|
||||||
|
<returns>A new <see cref="T:Prism.Unity.UnityContainerExtension"/>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.PrismApplication.RegisterFrameworkExceptionTypes">
|
||||||
|
<summary>
|
||||||
|
Registers the <see cref="T:System.Type"/>s of the Exceptions that are not considered
|
||||||
|
root exceptions by the <see cref="T:System.ExceptionExtensions"/>.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.Unity.PrismBootstrapper">
|
||||||
|
<summary>
|
||||||
|
Base bootstrapper class that uses <see cref="T:Prism.Unity.UnityContainerExtension"/> as it's container.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.PrismBootstrapper.CreateContainerExtension">
|
||||||
|
<summary>
|
||||||
|
Create a new <see cref="T:Prism.Unity.UnityContainerExtension"/> used by Prism.
|
||||||
|
</summary>
|
||||||
|
<returns>A new <see cref="T:Prism.Unity.UnityContainerExtension"/>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.PrismBootstrapper.RegisterFrameworkExceptionTypes">
|
||||||
|
<summary>
|
||||||
|
Registers the <see cref="T:System.Type"/>s of the Exceptions that are not considered
|
||||||
|
root exceptions by the <see cref="T:System.ExceptionExtensions"/>.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.Unity.Properties.Resources">
|
||||||
|
<summary>
|
||||||
|
A strongly-typed resource class, for looking up localized strings, etc.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.ResourceManager">
|
||||||
|
<summary>
|
||||||
|
Returns the cached ResourceManager instance used by this class.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.Culture">
|
||||||
|
<summary>
|
||||||
|
Overrides the current thread's CurrentUICulture property for all
|
||||||
|
resource lookups using this strongly typed resource class.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.NotOverwrittenGetModuleEnumeratorException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The method 'GetModuleEnumerator' of the bootstrapper must be overwritten in order to use the default module initialization logic..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.NullLoggerFacadeException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The ILoggerFacade is required and cannot be null..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.NullModuleCatalogException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The IModuleCatalog is required and cannot be null in order to initialize the modules..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.NullUnityContainerException">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to The IUnityContainer is required and cannot be null..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.SettingTheRegionManager">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to Setting the RegionManager..
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.Properties.Resources.TypeMappingAlreadyRegistered">
|
||||||
|
<summary>
|
||||||
|
Looks up a localized string similar to Type '{0}' was already registered by the application. Skipping....
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.Unity.PrismIocExtensions">
|
||||||
|
<summary>
|
||||||
|
Extensions help get the underlying <see cref="T:Unity.IUnityContainer" />
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.PrismIocExtensions.GetContainer(Prism.Ioc.IContainerProvider)">
|
||||||
|
<summary>
|
||||||
|
Gets the <see cref="T:Unity.IUnityContainer" /> from the <see cref="T:Prism.Ioc.IContainerProvider" />
|
||||||
|
</summary>
|
||||||
|
<param name="containerProvider">The current <see cref="T:Prism.Ioc.IContainerProvider" /></param>
|
||||||
|
<returns>The underlying <see cref="T:Unity.IUnityContainer" /></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.PrismIocExtensions.GetContainer(Prism.Ioc.IContainerRegistry)">
|
||||||
|
<summary>
|
||||||
|
Gets the <see cref="T:Unity.IUnityContainer" /> from the <see cref="T:Prism.Ioc.IContainerProvider" />
|
||||||
|
</summary>
|
||||||
|
<param name="containerRegistry">The current <see cref="T:Prism.Ioc.IContainerRegistry" /></param>
|
||||||
|
<returns>The underlying <see cref="T:Unity.IUnityContainer" /></returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:Prism.Unity.UnityContainerExtension">
|
||||||
|
<summary>
|
||||||
|
The Unity implementation of the <see cref="T:Prism.Ioc.IContainerExtension" />
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.UnityContainerExtension.Instance">
|
||||||
|
<summary>
|
||||||
|
The instance of the wrapped container
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.#ctor">
|
||||||
|
<summary>
|
||||||
|
Constructs a default <see cref="T:Prism.Unity.UnityContainerExtension" />
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.#ctor(Unity.IUnityContainer)">
|
||||||
|
<summary>
|
||||||
|
Constructs a <see cref="T:Prism.Unity.UnityContainerExtension" /> with the specified <see cref="T:Unity.IUnityContainer" />
|
||||||
|
</summary>
|
||||||
|
<param name="container"></param>
|
||||||
|
</member>
|
||||||
|
<member name="P:Prism.Unity.UnityContainerExtension.CurrentScope">
|
||||||
|
<summary>
|
||||||
|
Gets the current <see cref="T:Prism.Ioc.IScopedProvider"/>
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.FinalizeExtension">
|
||||||
|
<summary>
|
||||||
|
Used to perform any final steps for configuring the extension that may be required by the container.
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterInstance(System.Type,System.Object)">
|
||||||
|
<summary>
|
||||||
|
Registers an instance of a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/> that is being registered</param>
|
||||||
|
<param name="instance">The instance of the service or <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterInstance(System.Type,System.Object,System.String)">
|
||||||
|
<summary>
|
||||||
|
Registers an instance of a given <see cref="T:System.Type"/> with the specified name or key
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/> that is being registered</param>
|
||||||
|
<param name="instance">The instance of the service or <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The name or key to register the service</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterSingleton(System.Type,System.Type)">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterSingleton(System.Type,System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The name or key to register the service</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterSingleton(System.Type,System.Func{System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service <see cref="T:System.Type" /> factory delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterSingleton(System.Type,System.Func{Prism.Ioc.IContainerProvider,System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton with the given service <see cref="T:System.Type" /> factory delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method using <see cref="T:Prism.Ioc.IContainerProvider"/>.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterManySingleton(System.Type,System.Type[])">
|
||||||
|
<summary>
|
||||||
|
Registers a Singleton Service which implements service interfaces
|
||||||
|
</summary>
|
||||||
|
<param name="type">The implementation <see cref="T:System.Type" />.</param>
|
||||||
|
<param name="serviceTypes">The service <see cref="T:System.Type"/>'s.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
<remarks>Registers all interfaces if none are specified.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Register(System.Type,System.Type)">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Register(System.Type,System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient with the given service and mapping to the specified implementation <see cref="T:System.Type" />.
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The name or key to register the service</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Register(System.Type,System.Func{System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient Service using a delegate method
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Register(System.Type,System.Func{Prism.Ioc.IContainerProvider,System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient Service using a delegate method
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method using <see cref="T:Prism.Ioc.IContainerProvider"/>.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterMany(System.Type,System.Type[])">
|
||||||
|
<summary>
|
||||||
|
Registers a Transient Service which implements service interfaces
|
||||||
|
</summary>
|
||||||
|
<param name="type">The implementing <see cref="T:System.Type" />.</param>
|
||||||
|
<param name="serviceTypes">The service <see cref="T:System.Type"/>'s.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
<remarks>Registers all interfaces if none are specified.</remarks>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterScoped(System.Type,System.Type)">
|
||||||
|
<summary>
|
||||||
|
Registers a scoped service
|
||||||
|
</summary>
|
||||||
|
<param name="from">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="to">The implementation <see cref="T:System.Type" /></param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterScoped(System.Type,System.Func{System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a scoped service using a delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.RegisterScoped(System.Type,System.Func{Prism.Ioc.IContainerProvider,System.Object})">
|
||||||
|
<summary>
|
||||||
|
Registers a scoped service using a delegate method.
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/>.</param>
|
||||||
|
<param name="factoryMethod">The delegate method.</param>
|
||||||
|
<returns>The <see cref="T:Prism.Ioc.IContainerRegistry" /> instance</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Resolve(System.Type)">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Resolve(System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<param name="name">The service name/key used when registering the <see cref="T:System.Type"/></param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Resolve(System.Type,System.ValueTuple{System.Type,System.Object}[])">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<param name="parameters">Typed parameters to use when resolving the Service</param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.Resolve(System.Type,System.String,System.ValueTuple{System.Type,System.Object}[])">
|
||||||
|
<summary>
|
||||||
|
Resolves a given <see cref="T:System.Type"/>
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type"/></param>
|
||||||
|
<param name="name">The service name/key used when registering the <see cref="T:System.Type"/></param>
|
||||||
|
<param name="parameters">Typed parameters to use when resolving the Service</param>
|
||||||
|
<returns>The resolved Service <see cref="T:System.Type"/></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.IsRegistered(System.Type)">
|
||||||
|
<summary>
|
||||||
|
Determines if a given service is registered
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<returns><c>true</c> if the service is registered.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.IsRegistered(System.Type,System.String)">
|
||||||
|
<summary>
|
||||||
|
Determines if a given service is registered with the specified name
|
||||||
|
</summary>
|
||||||
|
<param name="type">The service <see cref="T:System.Type" /></param>
|
||||||
|
<param name="name">The service name or key used</param>
|
||||||
|
<returns><c>true</c> if the service is registered.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.CreateScope">
|
||||||
|
<summary>
|
||||||
|
Creates a new Scope
|
||||||
|
</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:Prism.Unity.UnityContainerExtension.CreateScopeInternal">
|
||||||
|
<summary>
|
||||||
|
Creates a new Scope and provides the updated ServiceProvider
|
||||||
|
</summary>
|
||||||
|
<returns>A child <see cref="T:Unity.IUnityContainer" />.</returns>
|
||||||
|
<remarks>
|
||||||
|
This should be called by custom implementations that Implement IServiceScopeFactory
|
||||||
|
</remarks>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Wpf.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Wpf.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Wpf.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Wpf.pdb
Normal file
Binary file not shown.
5209
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Wpf.xml
Normal file
5209
newFront/c#前端/SWS.WPF/bin/Debug/Prism.Wpf.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Prism.pdb
Normal file
Binary file not shown.
3445
newFront/c#前端/SWS.WPF/bin/Debug/Prism.xml
Normal file
3445
newFront/c#前端/SWS.WPF/bin/Debug/Prism.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.dll
Normal file
Binary file not shown.
31
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.dll.config
Normal file
31
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.dll.config
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Wpf" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="DryIoc" publicKeyToken="dfbf2bd50fcf7768" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-5.4.3.0" newVersion="5.4.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Container.Abstractions" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.106.9543" newVersion="9.0.106.9543" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Commons.pdb
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.CustomControl.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.CustomControl.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.CustomControl.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.CustomControl.pdb
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Event.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Event.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Event.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Event.pdb
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Model.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Model.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Model.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Model.pdb
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.dll
Normal file
Binary file not shown.
31
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.dll.config
Normal file
31
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.dll.config
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Wpf" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="DryIoc" publicKeyToken="dfbf2bd50fcf7768" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-5.4.3.0" newVersion="5.4.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Container.Abstractions" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.106.9543" newVersion="9.0.106.9543" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.Service.pdb
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.dll
Normal file
Binary file not shown.
31
newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.dll.config
Normal file
31
newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.dll.config
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<configuration>
|
||||||
|
<runtime>
|
||||||
|
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="System.Threading.Tasks.Extensions" publicKeyToken="cc7b13ffcd2ddd51" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-4.2.0.1" newVersion="4.2.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Wpf" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.537.60525" newVersion="9.0.537.60525" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="DryIoc" publicKeyToken="dfbf2bd50fcf7768" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-5.4.3.0" newVersion="5.4.3.0" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Prism.Container.Abstractions" publicKeyToken="40ee6c3a2184dc59" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-9.0.88.57754" newVersion="9.0.88.57754" />
|
||||||
|
</dependentAssembly>
|
||||||
|
<dependentAssembly>
|
||||||
|
<assemblyIdentity name="Microsoft.Extensions.DependencyInjection.Abstractions" publicKeyToken="adb9793829ddae60" culture="neutral" />
|
||||||
|
<bindingRedirect oldVersion="0.0.0.0-8.0.0.1" newVersion="8.0.0.1" />
|
||||||
|
</dependentAssembly>
|
||||||
|
</assemblyBinding>
|
||||||
|
</runtime>
|
||||||
|
</configuration>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/SWS.WPF.pdb
Normal file
Binary file not shown.
Binary file not shown.
@ -0,0 +1,200 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><doc>
|
||||||
|
<assembly>
|
||||||
|
<name>System.Runtime.CompilerServices.Unsafe</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.Unsafe">
|
||||||
|
<summary>Contains generic, low-level functionality for manipulating pointers.</summary>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.Int32)">
|
||||||
|
<summary>Adds an element offset to the given reference.</summary>
|
||||||
|
<param name="source">The reference to add the offset to.</param>
|
||||||
|
<param name="elementOffset">The offset to add.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>A new reference that reflects the addition of offset to pointer.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Add``1(``0@,System.IntPtr)">
|
||||||
|
<summary>Adds an element offset to the given reference.</summary>
|
||||||
|
<param name="source">The reference to add the offset to.</param>
|
||||||
|
<param name="elementOffset">The offset to add.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>A new reference that reflects the addition of offset to pointer.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.AddByteOffset``1(``0@,System.IntPtr)">
|
||||||
|
<summary>Adds a byte offset to the given reference.</summary>
|
||||||
|
<param name="source">The reference to add the offset to.</param>
|
||||||
|
<param name="byteOffset">The offset to add.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>A new reference that reflects the addition of byte offset to pointer.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.AreSame``1(``0@,``0@)">
|
||||||
|
<summary>Determines whether the specified references point to the same location.</summary>
|
||||||
|
<param name="left">The first reference to compare.</param>
|
||||||
|
<param name="right">The second reference to compare.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>true if <paramref name="left">left</paramref> and <paramref name="right">right</paramref> point to the same location; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.As``1(System.Object)">
|
||||||
|
<summary>Casts the given object to the specified type.</summary>
|
||||||
|
<param name="o">The object to cast.</param>
|
||||||
|
<typeparam name="T">The type which the object will be cast to.</typeparam>
|
||||||
|
<returns>The original object, casted to the given type.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.As``2(``0@)">
|
||||||
|
<summary>Reinterprets the given reference as a reference to a value of type <typeparamref name="TTo">TTo</typeparamref>.</summary>
|
||||||
|
<param name="source">The reference to reinterpret.</param>
|
||||||
|
<typeparam name="TFrom">The type of reference to reinterpret..</typeparam>
|
||||||
|
<typeparam name="TTo">The desired type of the reference.</typeparam>
|
||||||
|
<returns>A reference to a value of type <typeparamref name="TTo">TTo</typeparamref>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.AsPointer``1(``0@)">
|
||||||
|
<summary>Returns a pointer to the given by-ref parameter.</summary>
|
||||||
|
<param name="value">The object whose pointer is obtained.</param>
|
||||||
|
<typeparam name="T">The type of object.</typeparam>
|
||||||
|
<returns>A pointer to the given value.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.AsRef``1(System.Void*)">
|
||||||
|
<summary>Reinterprets the given location as a reference to a value of type <typeparamref name="T">T</typeparamref>.</summary>
|
||||||
|
<param name="source">The location of the value to reference.</param>
|
||||||
|
<typeparam name="T">The type of the interpreted location.</typeparam>
|
||||||
|
<returns>A reference to a value of type <typeparamref name="T">T</typeparamref>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.ByteOffset``1(``0@,``0@)">
|
||||||
|
<summary>Determines the byte offset from origin to target from the given references.</summary>
|
||||||
|
<param name="origin">The reference to origin.</param>
|
||||||
|
<param name="target">The reference to target.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>Byte offset from origin to target i.e. <paramref name="target">target</paramref> - <paramref name="origin">origin</paramref>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(System.Void*,``0@)">
|
||||||
|
<summary>Copies a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
|
||||||
|
<param name="destination">The location to copy to.</param>
|
||||||
|
<param name="source">A reference to the value to copy.</param>
|
||||||
|
<typeparam name="T">The type of value to copy.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Copy``1(``0@,System.Void*)">
|
||||||
|
<summary>Copies a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
|
||||||
|
<param name="destination">The location to copy to.</param>
|
||||||
|
<param name="source">A pointer to the value to copy.</param>
|
||||||
|
<typeparam name="T">The type of value to copy.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Byte@,System.Byte@,System.UInt32)">
|
||||||
|
<summary>Copies bytes from the source address to the destination address.</summary>
|
||||||
|
<param name="destination">The destination address to copy to.</param>
|
||||||
|
<param name="source">The source address to copy from.</param>
|
||||||
|
<param name="byteCount">The number of bytes to copy.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlock(System.Void*,System.Void*,System.UInt32)">
|
||||||
|
<summary>Copies bytes from the source address to the destination address.</summary>
|
||||||
|
<param name="destination">The destination address to copy to.</param>
|
||||||
|
<param name="source">The source address to copy from.</param>
|
||||||
|
<param name="byteCount">The number of bytes to copy.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Void*,System.Void*,System.UInt32)">
|
||||||
|
<summary>Copies bytes from the source address to the destination address
|
||||||
|
without assuming architecture dependent alignment of the addresses.</summary>
|
||||||
|
<param name="destination">The destination address to copy to.</param>
|
||||||
|
<param name="source">The source address to copy from.</param>
|
||||||
|
<param name="byteCount">The number of bytes to copy.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.CopyBlockUnaligned(System.Byte@,System.Byte@,System.UInt32)">
|
||||||
|
<summary>Copies bytes from the source address to the destination address
|
||||||
|
without assuming architecture dependent alignment of the addresses.</summary>
|
||||||
|
<param name="destination">The destination address to copy to.</param>
|
||||||
|
<param name="source">The source address to copy from.</param>
|
||||||
|
<param name="byteCount">The number of bytes to copy.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlock(System.Byte@,System.Byte,System.UInt32)">
|
||||||
|
<summary>Initializes a block of memory at the given location with a given initial value.</summary>
|
||||||
|
<param name="startAddress">The address of the start of the memory block to initialize.</param>
|
||||||
|
<param name="value">The value to initialize the block to.</param>
|
||||||
|
<param name="byteCount">The number of bytes to initialize.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlock(System.Void*,System.Byte,System.UInt32)">
|
||||||
|
<summary>Initializes a block of memory at the given location with a given initial value.</summary>
|
||||||
|
<param name="startAddress">The address of the start of the memory block to initialize.</param>
|
||||||
|
<param name="value">The value to initialize the block to.</param>
|
||||||
|
<param name="byteCount">The number of bytes to initialize.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Byte@,System.Byte,System.UInt32)">
|
||||||
|
<summary>Initializes a block of memory at the given location with a given initial value
|
||||||
|
without assuming architecture dependent alignment of the address.</summary>
|
||||||
|
<param name="startAddress">The address of the start of the memory block to initialize.</param>
|
||||||
|
<param name="value">The value to initialize the block to.</param>
|
||||||
|
<param name="byteCount">The number of bytes to initialize.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.InitBlockUnaligned(System.Void*,System.Byte,System.UInt32)">
|
||||||
|
<summary>Initializes a block of memory at the given location with a given initial value
|
||||||
|
without assuming architecture dependent alignment of the address.</summary>
|
||||||
|
<param name="startAddress">The address of the start of the memory block to initialize.</param>
|
||||||
|
<param name="value">The value to initialize the block to.</param>
|
||||||
|
<param name="byteCount">The number of bytes to initialize.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Read``1(System.Void*)">
|
||||||
|
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location.</summary>
|
||||||
|
<param name="source">The location to read from.</param>
|
||||||
|
<typeparam name="T">The type to read.</typeparam>
|
||||||
|
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Byte@)">
|
||||||
|
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location
|
||||||
|
without assuming architecture dependent alignment of the addresses.</summary>
|
||||||
|
<param name="source">The location to read from.</param>
|
||||||
|
<typeparam name="T">The type to read.</typeparam>
|
||||||
|
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.ReadUnaligned``1(System.Void*)">
|
||||||
|
<summary>Reads a value of type <typeparamref name="T">T</typeparamref> from the given location
|
||||||
|
without assuming architecture dependent alignment of the addresses.</summary>
|
||||||
|
<param name="source">The location to read from.</param>
|
||||||
|
<typeparam name="T">The type to read.</typeparam>
|
||||||
|
<returns>An object of type <typeparamref name="T">T</typeparamref> read from the given location.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.SizeOf``1">
|
||||||
|
<summary>Returns the size of an object of the given type parameter.</summary>
|
||||||
|
<typeparam name="T">The type of object whose size is retrieved.</typeparam>
|
||||||
|
<returns>The size of an object of type <typeparamref name="T">T</typeparamref>.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.Int32)">
|
||||||
|
<summary>Subtracts an element offset from the given reference.</summary>
|
||||||
|
<param name="source">The reference to subtract the offset from.</param>
|
||||||
|
<param name="elementOffset">The offset to subtract.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Subtract``1(``0@,System.IntPtr)">
|
||||||
|
<summary>Subtracts an element offset from the given reference.</summary>
|
||||||
|
<param name="source">The reference to subtract the offset from.</param>
|
||||||
|
<param name="elementOffset">The offset to subtract.</param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>A new reference that reflects the subraction of offset from pointer.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.SubtractByteOffset``1(``0@,System.IntPtr)">
|
||||||
|
<summary>Subtracts a byte offset from the given reference.</summary>
|
||||||
|
<param name="source">The reference to subtract the offset from.</param>
|
||||||
|
<param name="byteOffset"></param>
|
||||||
|
<typeparam name="T">The type of reference.</typeparam>
|
||||||
|
<returns>A new reference that reflects the subraction of byte offset from pointer.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.Write``1(System.Void*,``0)">
|
||||||
|
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location.</summary>
|
||||||
|
<param name="destination">The location to write to.</param>
|
||||||
|
<param name="value">The value to write.</param>
|
||||||
|
<typeparam name="T">The type of value to write.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Byte@,``0)">
|
||||||
|
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location
|
||||||
|
without assuming architecture dependent alignment of the addresses.</summary>
|
||||||
|
<param name="destination">The location to write to.</param>
|
||||||
|
<param name="value">The value to write.</param>
|
||||||
|
<typeparam name="T">The type of value to write.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.Unsafe.WriteUnaligned``1(System.Void*,``0)">
|
||||||
|
<summary>Writes a value of type <typeparamref name="T">T</typeparamref> to the given location
|
||||||
|
without assuming architecture dependent alignment of the addresses.</summary>
|
||||||
|
<param name="destination">The location to write to.</param>
|
||||||
|
<param name="value">The value to write.</param>
|
||||||
|
<typeparam name="T">The type of value to write.</typeparam>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
Binary file not shown.
@ -0,0 +1,166 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?><doc>
|
||||||
|
<assembly>
|
||||||
|
<name>System.Threading.Tasks.Extensions</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.ValueTaskAwaiter`1">
|
||||||
|
<typeparam name="TResult"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.GetResult">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.CompilerServices.ValueTaskAwaiter`1.IsCompleted">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.OnCompleted(System.Action)">
|
||||||
|
<param name="continuation"></param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ValueTaskAwaiter`1.UnsafeOnCompleted(System.Action)">
|
||||||
|
<param name="continuation"></param>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Threading.Tasks.ValueTask`1">
|
||||||
|
<summary>Provides a value type that wraps a <see cref="Task{TResult}"></see> and a <typeparamref name="TResult">TResult</typeparamref>, only one of which is used.</summary>
|
||||||
|
<typeparam name="TResult">The result.</typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(System.Threading.Tasks.Task{`0})">
|
||||||
|
<summary>Initializes a new instance of the <see cref="ValueTask{TResult}"></see> class using the supplied task that represents the operation.</summary>
|
||||||
|
<param name="task">The task.</param>
|
||||||
|
<exception cref="T:System.ArgumentNullException">The <paramref name="task">task</paramref> argument is null.</exception>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.#ctor(`0)">
|
||||||
|
<summary>Initializes a new instance of the <see cref="ValueTask{TResult}"></see> class using the supplied result of a successful operation.</summary>
|
||||||
|
<param name="result">The result.</param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.AsTask">
|
||||||
|
<summary>Retrieves a <see cref="Task{TResult}"></see> object that represents this <see cref="ValueTask{TResult}"></see>.</summary>
|
||||||
|
<returns>The <see cref="Task{TResult}"></see> object that is wrapped in this <see cref="ValueTask{TResult}"></see> if one exists, or a new <see cref="Task{TResult}"></see> object that represents the result.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.ConfigureAwait(System.Boolean)">
|
||||||
|
<summary>Configures an awaiter for this value.</summary>
|
||||||
|
<param name="continueOnCapturedContext">true to attempt to marshal the continuation back to the captured context; otherwise, false.</param>
|
||||||
|
<returns>The configured awaiter.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.CreateAsyncMethodBuilder">
|
||||||
|
<summary>Creates a method builder for use with an async method.</summary>
|
||||||
|
<returns>The created builder.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Object)">
|
||||||
|
<summary>Determines whether the specified object is equal to the current object.</summary>
|
||||||
|
<param name="obj">The object to compare with the current object.</param>
|
||||||
|
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.Equals(System.Threading.Tasks.ValueTask{`0})">
|
||||||
|
<summary>Determines whether the specified <see cref="ValueTask{TResult}"></see> object is equal to the current <see cref="ValueTask{TResult}"></see> object.</summary>
|
||||||
|
<param name="other">The object to compare with the current object.</param>
|
||||||
|
<returns>true if the specified object is equal to the current object; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.GetAwaiter">
|
||||||
|
<summary>Creates an awaiter for this value.</summary>
|
||||||
|
<returns>The awaiter.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.GetHashCode">
|
||||||
|
<summary>Returns the hash code for this instance.</summary>
|
||||||
|
<returns>The hash code for the current object.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.ValueTask`1.IsCanceled">
|
||||||
|
<summary>Gets a value that indicates whether this object represents a canceled operation.</summary>
|
||||||
|
<returns>true if this object represents a canceled operation; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompleted">
|
||||||
|
<summary>Gets a value that indicates whether this object represents a completed operation.</summary>
|
||||||
|
<returns>true if this object represents a completed operation; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.ValueTask`1.IsCompletedSuccessfully">
|
||||||
|
<summary>Gets a value that indicates whether this object represents a successfully completed operation.</summary>
|
||||||
|
<returns>true if this object represents a successfully completed operation; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.ValueTask`1.IsFaulted">
|
||||||
|
<summary>Gets a value that indicates whether this object represents a failed operation.</summary>
|
||||||
|
<returns>true if this object represents a failed operation; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.op_Equality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||||
|
<summary>Compares two values for equality.</summary>
|
||||||
|
<param name="left">The first value to compare.</param>
|
||||||
|
<param name="right">The second value to compare.</param>
|
||||||
|
<returns>true if the two <see cref="ValueTask{TResult}"></see> values are equal; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.op_Inequality(System.Threading.Tasks.ValueTask{`0},System.Threading.Tasks.ValueTask{`0})">
|
||||||
|
<summary>Determines whether two <see cref="ValueTask{TResult}"></see> values are unequal.</summary>
|
||||||
|
<param name="left">The first value to compare.</param>
|
||||||
|
<param name="right">The seconed value to compare.</param>
|
||||||
|
<returns>true if the two <see cref="ValueTask{TResult}"></see> values are not equal; otherwise, false.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Threading.Tasks.ValueTask`1.Result">
|
||||||
|
<summary>Gets the result.</summary>
|
||||||
|
<returns>The result.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Threading.Tasks.ValueTask`1.ToString">
|
||||||
|
<summary>Returns a string that represents the current object.</summary>
|
||||||
|
<returns>A string that represents the current object.</returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute">
|
||||||
|
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.#ctor(System.Type)">
|
||||||
|
<param name="builderType"></param>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.CompilerServices.AsyncMethodBuilderAttribute.BuilderType">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1">
|
||||||
|
<typeparam name="TResult"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.AwaitOnCompleted``2(``0@,``1@)">
|
||||||
|
<param name="awaiter"></param>
|
||||||
|
<param name="stateMachine"></param>
|
||||||
|
<typeparam name="TAwaiter"></typeparam>
|
||||||
|
<typeparam name="TStateMachine"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.AwaitUnsafeOnCompleted``2(``0@,``1@)">
|
||||||
|
<param name="awaiter"></param>
|
||||||
|
<param name="stateMachine"></param>
|
||||||
|
<typeparam name="TAwaiter"></typeparam>
|
||||||
|
<typeparam name="TStateMachine"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Create">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetException(System.Exception)">
|
||||||
|
<param name="exception"></param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetResult(`0)">
|
||||||
|
<param name="result"></param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.SetStateMachine(System.Runtime.CompilerServices.IAsyncStateMachine)">
|
||||||
|
<param name="stateMachine"></param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Start``1(``0@)">
|
||||||
|
<param name="stateMachine"></param>
|
||||||
|
<typeparam name="TStateMachine"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.CompilerServices.AsyncValueTaskMethodBuilder`1.Task">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter">
|
||||||
|
<typeparam name="TResult"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.GetResult">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="P:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.IsCompleted">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.OnCompleted(System.Action)">
|
||||||
|
<param name="continuation"></param>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.ConfiguredValueTaskAwaiter.UnsafeOnCompleted(System.Action)">
|
||||||
|
<param name="continuation"></param>
|
||||||
|
</member>
|
||||||
|
<member name="T:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1">
|
||||||
|
<typeparam name="TResult"></typeparam>
|
||||||
|
</member>
|
||||||
|
<member name="M:System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable`1.GetAwaiter">
|
||||||
|
<returns></returns>
|
||||||
|
</member>
|
||||||
|
</members>
|
||||||
|
</doc>
|
BIN
newFront/c#前端/SWS.WPF/bin/Debug/System.ValueTuple.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/System.ValueTuple.dll
Normal file
Binary file not shown.
8
newFront/c#前端/SWS.WPF/bin/Debug/System.ValueTuple.xml
Normal file
8
newFront/c#前端/SWS.WPF/bin/Debug/System.ValueTuple.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<doc>
|
||||||
|
<assembly>
|
||||||
|
<name>System.ValueTuple</name>
|
||||||
|
</assembly>
|
||||||
|
<members>
|
||||||
|
</members>
|
||||||
|
</doc>
|
Binary file not shown.
12566
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.Data.xml
Normal file
12566
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.Data.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
File diff suppressed because it is too large
Load Diff
Binary file not shown.
19948
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.GridView.xml
Normal file
19948
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.GridView.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
18342
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.Input.xml
Normal file
18342
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.Input.xml
Normal file
File diff suppressed because it is too large
Load Diff
Binary file not shown.
29108
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.Navigation.xml
Normal file
29108
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.Navigation.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.dll
Normal file
Binary file not shown.
64656
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.xml
Normal file
64656
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Controls.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Data.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Data.dll
Normal file
Binary file not shown.
7444
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Data.xml
Normal file
7444
newFront/c#前端/SWS.WPF/bin/Debug/Telerik.Windows.Data.xml
Normal file
File diff suppressed because it is too large
Load Diff
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Abstractions.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Abstractions.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Abstractions.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Abstractions.pdb
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Container.dll
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Container.dll
Normal file
Binary file not shown.
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Container.pdb
Normal file
BIN
newFront/c#前端/SWS.WPF/bin/Debug/Unity.Container.pdb
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
93
newFront/c#前端/SWS.WPF/bin/Debug/log4net.config
Normal file
93
newFront/c#前端/SWS.WPF/bin/Debug/log4net.config
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" ?>
|
||||||
|
<log4net >
|
||||||
|
<root>
|
||||||
|
<!-- 控制级别,由低到高:ALL|DEBUG|INFO|WARN|ERROR|FATAL|OFF -->
|
||||||
|
<level value="ALL"/>
|
||||||
|
<appender-ref ref="ErrorRollingFileAppender"/>
|
||||||
|
<appender-ref ref="WarnRollingFileAppender"/>
|
||||||
|
<appender-ref ref="InfoRollingFileAppender"/>
|
||||||
|
<appender-ref ref="DebugRollingFileAppender"/>
|
||||||
|
</root>
|
||||||
|
|
||||||
|
<!--一般错误日志定义,用于记录已知需处理的与未捕获的异常-->
|
||||||
|
<!--日志输出格式:[时间]:类名 线程号 消息-->
|
||||||
|
<appender name="ErrorRollingFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||||
|
<filter type="log4net.Filter.LevelRangeFilter">
|
||||||
|
<levelMin value="ERROR"/>
|
||||||
|
<levelMax value="FATAL"/>
|
||||||
|
</filter>
|
||||||
|
<filter type="log4net.Filter.DenyAllFilter"/>
|
||||||
|
<file value="Logs/"/>
|
||||||
|
<appendToFile value="true"/>
|
||||||
|
<maxSizeRollBackups value="100" />
|
||||||
|
<maxFileSize value="10240" />
|
||||||
|
<rollingStyle value="Date"/>
|
||||||
|
<datePattern value="yyyy-MM-dd//"Error.log""/>
|
||||||
|
<staticLogFileName value="false"/>
|
||||||
|
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<conversionPattern value="【%d{HH:mm:ss.fff}】 %c T%t %n%m%n"/>
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!--警告日志定义,用于记录已知不需处理的异常,系统警告信息-->
|
||||||
|
<!--日志输出格式:[时间]:类名 线程号 消息-->
|
||||||
|
<appender name="WarnRollingFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||||
|
<filter type="log4net.Filter.LevelMatchFilter">
|
||||||
|
<levelToMatch value="WARN"/>
|
||||||
|
</filter>
|
||||||
|
<filter type="log4net.Filter.DenyAllFilter"/>
|
||||||
|
<file value="Logs/"/>
|
||||||
|
<appendToFile value="true"/>
|
||||||
|
<maxSizeRollBackups value="100" />
|
||||||
|
<maxFileSize value="10240" />
|
||||||
|
<rollingStyle value="Date"/>
|
||||||
|
<datePattern value="yyyy-MM-dd//"Warn.log""/>
|
||||||
|
<staticLogFileName value="false"/>
|
||||||
|
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<conversionPattern value="[%d{HH:mm:ss.fff}] %c T%t %m%n"/>
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!--信息日志定义,用于记录用户相关信息-->
|
||||||
|
<!--日志输出格式:[时间]:消息-->
|
||||||
|
<appender name="InfoRollingFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||||
|
<filter type="log4net.Filter.LevelMatchFilter">
|
||||||
|
<levelToMatch value="INFO"/>
|
||||||
|
</filter>
|
||||||
|
<filter type="log4net.Filter.DenyAllFilter"/>
|
||||||
|
<file value="Logs/"/>
|
||||||
|
<appendToFile value="true"/>
|
||||||
|
<maxSizeRollBackups value="100" />
|
||||||
|
<maxFileSize value="10240" />
|
||||||
|
<rollingStyle value="Date"/>
|
||||||
|
<datePattern value="yyyy-MM-dd//"Info.log""/>
|
||||||
|
<staticLogFileName value="false"/>
|
||||||
|
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<conversionPattern value="[%d{HH:mm:ss}] (%c) %m%n"/>
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
<!--信息日志定义,用于收集开发调试信息-->
|
||||||
|
<!--日志输出格式:[时间]:类名 线程号 消息-->
|
||||||
|
<appender name="DebugRollingFileAppender" type="log4net.Appender.RollingFileAppender">
|
||||||
|
<filter type="log4net.Filter.LevelMatchFilter">
|
||||||
|
<levelToMatch value="DEBUG"/>
|
||||||
|
</filter>
|
||||||
|
<filter type="log4net.Filter.DenyAllFilter"/>
|
||||||
|
<file value="Logs/"/>
|
||||||
|
<appendToFile value="true"/>
|
||||||
|
<maxSizeRollBackups value="100" />
|
||||||
|
<maxFileSize value="10240" />
|
||||||
|
<rollingStyle value="Date"/>
|
||||||
|
<datePattern value="yyyy-MM-dd//"Debug.log""/>
|
||||||
|
<staticLogFileName value="false"/>
|
||||||
|
<lockingModel type="log4net.Appender.FileAppender+MinimalLock"/>
|
||||||
|
<layout type="log4net.Layout.PatternLayout">
|
||||||
|
<conversionPattern value="[%d{HH:mm:ss.fff}] %c T%t: %m%n"/>
|
||||||
|
</layout>
|
||||||
|
</appender>
|
||||||
|
|
||||||
|
</log4net>
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user