Compare commits

...

23 Commits

Author SHA1 Message Date
52eaaaac79 Work 2021-07-31 22:27:59 +05:00
39236f43b4 Start API Server 2021-07-30 14:49:24 +05:00
13b9e3ab64 learn 2021-07-15 12:17:19 +05:00
438ffd4c1a Learn 2021-07-14 16:53:48 +05:00
31509018c7 work 2021-07-09 16:36:46 +05:00
3388cc761c work 2021-07-08 16:16:35 +05:00
066c0187f2 work 2021-07-07 16:36:28 +05:00
a2fef8a2a4 Work 2021-06-28 16:07:17 +05:00
b5a51ad633 work 2021-06-10 16:56:05 +05:00
e433588449 work 2021-06-08 20:57:54 +05:00
7459a60074 home work 2021-06-06 20:52:44 +05:00
c27ae16867 work 1 2021-06-05 23:24:07 +05:00
72c7ef702a work 2021-06-05 17:00:11 +05:00
d699af66bb home work 2021-06-04 22:16:00 +05:00
4f4ff1a25a work 2021-06-04 16:57:32 +05:00
2ea459b400 work 2021-06-03 16:43:40 +05:00
f9fcb14e47 home work 2021-06-03 06:08:59 +05:00
0250037f11 work 2021-06-02 20:58:38 +05:00
c633df4ff3 to home 2021-05-29 16:19:31 +05:00
d7f0d6eb18 Socket 2 2021-05-28 20:53:14 +05:00
b95cb0f504 Create Socket 2021-05-28 20:51:55 +05:00
7691014c41 mid work conf 2021-05-28 00:13:54 +05:00
79a10434d8 Start Create Config 2021-05-27 15:58:23 +05:00
895 changed files with 34343 additions and 6933 deletions

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -23,54 +23,332 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "PrintPDF", "PrintPDF", "{EF
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Korp90TimePasport", "Korp90TimePasport\Korp90TimePasport.csproj", "{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "STPClient", "STPClient\STPClient.csproj", "{EE48A5E6-C8DD-4829-8132-30DC5AA40854}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "DataClient", "DataClient\DataClient.csproj", "{EE48A5E6-C8DD-4829-8132-30DC5AA40854}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Test2", "Test2\Test2.csproj", "{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "test3", "test3\test3.csproj", "{33B08224-623E-4120-942E-AAE199CD63A0}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApplication1", "WebApplication1\WebApplication1.csproj", "{4EB6C7BF-C18D-4C54-8495-E59B971B8197}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ApiServer", "ApiServer\ApiServer.csproj", "{618EF8A3-70D7-42A8-A407-AA3E47FE184C}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientCollector", "ClientCollector\ClientCollector.csproj", "{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Debug|ARM = Debug|ARM
Debug|ARM64 = Debug|ARM64
Debug|x64 = Debug|x64
Debug|x86 = Debug|x86
Release|Any CPU = Release|Any CPU
Release|ARM = Release|ARM
Release|ARM64 = Release|ARM64
Release|x64 = Release|x64
Release|x86 = Release|x86
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|ARM.ActiveCfg = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|ARM.Build.0 = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|ARM64.Build.0 = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|x64.ActiveCfg = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|x64.Build.0 = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|x86.ActiveCfg = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Debug|x86.Build.0 = Debug|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|Any CPU.Build.0 = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|ARM.ActiveCfg = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|ARM.Build.0 = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|ARM64.ActiveCfg = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|ARM64.Build.0 = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|x64.ActiveCfg = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|x64.Build.0 = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|x86.ActiveCfg = Release|Any CPU
{EBFBCB65-A591-4444-8557-BFC084566FF7}.Release|x86.Build.0 = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|Any CPU.Build.0 = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|ARM.ActiveCfg = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|ARM.Build.0 = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|ARM64.Build.0 = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|x64.ActiveCfg = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|x64.Build.0 = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|x86.ActiveCfg = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Debug|x86.Build.0 = Debug|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|Any CPU.ActiveCfg = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|Any CPU.Build.0 = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|ARM.ActiveCfg = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|ARM.Build.0 = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|ARM64.ActiveCfg = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|ARM64.Build.0 = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|x64.ActiveCfg = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|x64.Build.0 = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|x86.ActiveCfg = Release|Any CPU
{E420055E-687E-4BD5-BBD0-EC1DA643C011}.Release|x86.Build.0 = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|Any CPU.Build.0 = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|ARM.ActiveCfg = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|ARM.Build.0 = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|ARM64.Build.0 = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|x64.ActiveCfg = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|x64.Build.0 = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|x86.ActiveCfg = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Debug|x86.Build.0 = Debug|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|Any CPU.ActiveCfg = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|Any CPU.Build.0 = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|ARM.ActiveCfg = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|ARM.Build.0 = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|ARM64.ActiveCfg = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|ARM64.Build.0 = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|x64.ActiveCfg = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|x64.Build.0 = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|x86.ActiveCfg = Release|Any CPU
{50970C14-5670-4893-A58F-EA7E03360647}.Release|x86.Build.0 = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|ARM.ActiveCfg = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|ARM.Build.0 = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|ARM64.Build.0 = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|x64.ActiveCfg = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|x64.Build.0 = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|x86.ActiveCfg = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Debug|x86.Build.0 = Debug|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|Any CPU.Build.0 = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|ARM.ActiveCfg = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|ARM.Build.0 = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|ARM64.ActiveCfg = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|ARM64.Build.0 = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|x64.ActiveCfg = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|x64.Build.0 = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|x86.ActiveCfg = Release|Any CPU
{5BC9149F-4717-4BD1-8FC1-1D29744DA643}.Release|x86.Build.0 = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|ARM.ActiveCfg = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|ARM.Build.0 = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|ARM64.Build.0 = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|x64.ActiveCfg = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|x64.Build.0 = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|x86.ActiveCfg = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Debug|x86.Build.0 = Debug|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|Any CPU.Build.0 = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|ARM.ActiveCfg = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|ARM.Build.0 = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|ARM64.ActiveCfg = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|ARM64.Build.0 = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|x64.ActiveCfg = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|x64.Build.0 = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|x86.ActiveCfg = Release|Any CPU
{6D63CEBF-20D8-41CA-BE57-5701F95EDC47}.Release|x86.Build.0 = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|Any CPU.Build.0 = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|ARM.ActiveCfg = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|ARM.Build.0 = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|ARM64.Build.0 = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|x64.ActiveCfg = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|x64.Build.0 = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|x86.ActiveCfg = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Debug|x86.Build.0 = Debug|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|Any CPU.ActiveCfg = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|Any CPU.Build.0 = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|ARM.ActiveCfg = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|ARM.Build.0 = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|ARM64.ActiveCfg = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|ARM64.Build.0 = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|x64.ActiveCfg = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|x64.Build.0 = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|x86.ActiveCfg = Release|Any CPU
{8BCEABEB-E345-45F6-880D-59B5920691F8}.Release|x86.Build.0 = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|Any CPU.Build.0 = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|ARM.ActiveCfg = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|ARM.Build.0 = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|ARM64.Build.0 = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|x64.ActiveCfg = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|x64.Build.0 = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|x86.ActiveCfg = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Debug|x86.Build.0 = Debug|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|Any CPU.ActiveCfg = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|Any CPU.Build.0 = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|ARM.ActiveCfg = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|ARM.Build.0 = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|ARM64.ActiveCfg = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|ARM64.Build.0 = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|x64.ActiveCfg = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|x64.Build.0 = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|x86.ActiveCfg = Release|Any CPU
{C873319A-89FB-4F7E-BD72-F9BCC147E08A}.Release|x86.Build.0 = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|ARM.ActiveCfg = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|ARM.Build.0 = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|ARM64.Build.0 = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|x64.ActiveCfg = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|x64.Build.0 = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|x86.ActiveCfg = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Debug|x86.Build.0 = Debug|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|Any CPU.Build.0 = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|ARM.ActiveCfg = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|ARM.Build.0 = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|ARM64.ActiveCfg = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|ARM64.Build.0 = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|x64.ActiveCfg = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|x64.Build.0 = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|x86.ActiveCfg = Release|Any CPU
{4494877D-DAA5-4498-BA09-6001E9371D4B}.Release|x86.Build.0 = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|ARM.ActiveCfg = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|ARM.Build.0 = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|ARM64.Build.0 = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|x64.ActiveCfg = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|x64.Build.0 = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|x86.ActiveCfg = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Debug|x86.Build.0 = Debug|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|Any CPU.Build.0 = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|ARM.ActiveCfg = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|ARM.Build.0 = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|ARM64.ActiveCfg = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|ARM64.Build.0 = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|x64.ActiveCfg = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|x64.Build.0 = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|x86.ActiveCfg = Release|Any CPU
{EC718A4D-6B40-453F-8650-4AF9CF8FE9BD}.Release|x86.Build.0 = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|Any CPU.Build.0 = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|ARM.ActiveCfg = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|ARM.Build.0 = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|ARM64.Build.0 = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|x64.ActiveCfg = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|x64.Build.0 = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|x86.ActiveCfg = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Debug|x86.Build.0 = Debug|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|Any CPU.ActiveCfg = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|Any CPU.Build.0 = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|ARM.ActiveCfg = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|ARM.Build.0 = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|ARM64.ActiveCfg = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|ARM64.Build.0 = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|x64.ActiveCfg = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|x64.Build.0 = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|x86.ActiveCfg = Release|Any CPU
{EE48A5E6-C8DD-4829-8132-30DC5AA40854}.Release|x86.Build.0 = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|ARM.ActiveCfg = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|ARM.Build.0 = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|ARM64.Build.0 = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|x64.ActiveCfg = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|x64.Build.0 = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|x86.ActiveCfg = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Debug|x86.Build.0 = Debug|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|Any CPU.Build.0 = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|ARM.ActiveCfg = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|ARM.Build.0 = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|ARM64.ActiveCfg = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|ARM64.Build.0 = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|x64.ActiveCfg = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|x64.Build.0 = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|x86.ActiveCfg = Release|Any CPU
{9D5DF611-A1D3-4544-8E32-D14CFDF91BFA}.Release|x86.Build.0 = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|Any CPU.Build.0 = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|ARM.ActiveCfg = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|ARM.Build.0 = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|ARM64.Build.0 = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|x64.ActiveCfg = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|x64.Build.0 = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|x86.ActiveCfg = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Debug|x86.Build.0 = Debug|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|Any CPU.ActiveCfg = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|Any CPU.Build.0 = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|ARM.ActiveCfg = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|ARM.Build.0 = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|ARM64.ActiveCfg = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|ARM64.Build.0 = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|x64.ActiveCfg = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|x64.Build.0 = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|x86.ActiveCfg = Release|Any CPU
{33B08224-623E-4120-942E-AAE199CD63A0}.Release|x86.Build.0 = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|Any CPU.Build.0 = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|ARM.ActiveCfg = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|ARM.Build.0 = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|ARM64.Build.0 = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|x64.ActiveCfg = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|x64.Build.0 = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|x86.ActiveCfg = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Debug|x86.Build.0 = Debug|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|Any CPU.ActiveCfg = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|Any CPU.Build.0 = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|ARM.ActiveCfg = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|ARM.Build.0 = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|ARM64.ActiveCfg = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|ARM64.Build.0 = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|x64.ActiveCfg = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|x64.Build.0 = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|x86.ActiveCfg = Release|Any CPU
{4EB6C7BF-C18D-4C54-8495-E59B971B8197}.Release|x86.Build.0 = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|Any CPU.Build.0 = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|ARM.ActiveCfg = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|ARM.Build.0 = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|ARM64.Build.0 = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|x64.ActiveCfg = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|x64.Build.0 = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|x86.ActiveCfg = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Debug|x86.Build.0 = Debug|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|Any CPU.ActiveCfg = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|Any CPU.Build.0 = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|ARM.ActiveCfg = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|ARM.Build.0 = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|ARM64.ActiveCfg = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|ARM64.Build.0 = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|x64.ActiveCfg = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|x64.Build.0 = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|x86.ActiveCfg = Release|Any CPU
{618EF8A3-70D7-42A8-A407-AA3E47FE184C}.Release|x86.Build.0 = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|Any CPU.Build.0 = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|ARM.ActiveCfg = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|ARM.Build.0 = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|ARM64.ActiveCfg = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|ARM64.Build.0 = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|x64.ActiveCfg = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|x64.Build.0 = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|x86.ActiveCfg = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Debug|x86.Build.0 = Debug|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|Any CPU.ActiveCfg = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|Any CPU.Build.0 = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|ARM.ActiveCfg = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|ARM.Build.0 = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|ARM64.ActiveCfg = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|ARM64.Build.0 = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|x64.ActiveCfg = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|x64.Build.0 = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|x86.ActiveCfg = Release|Any CPU
{91CA0D25-5552-4FC2-B61D-EE0FF35D86BB}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE

View File

@ -0,0 +1,12 @@
{
"version": 1,
"isRoot": true,
"tools": {
"dotnet-ef": {
"version": "5.0.8",
"commands": [
"dotnet-ef"
]
}
}
}

View File

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net5.0</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
<PackageReference Include="NLog" Version="4.7.10" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\DataClient\DataClient.csproj" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<Controller_SelectedScaffolderID>MvcControllerEmptyScaffolder</Controller_SelectedScaffolderID>
<Controller_SelectedScaffolderCategoryPath>root/Common/MVC/Controller</Controller_SelectedScaffolderCategoryPath>
<ActiveDebugProfile>ApiServer</ActiveDebugProfile>
<NameOfLastUsedPublishProfile>D:\GIT\ASCKU_PC\ApiServer\Properties\PublishProfiles\FolderProfile.pubxml</NameOfLastUsedPublishProfile>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
<DebuggerFlavor>ProjectDebugger</DebuggerFlavor>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using DataClient.Struct;
namespace ApiServer.ApiStruct
{
public class PasportCheckRep
{
public bool HasData { get; set; }
public DateTime DateAndTime { get; set; }
public string Name { get; set; }
}
public class PasportCheckReq
{
public bool Status { get; set; } = true;
public bool Exist { get; set; }
public Pasport Pasp { get; set; }
}
public class PasportCreateRep
{
public bool HasData { get; set; }
public DateTime DateAndTime { get; set; }
public string Name { get; set; }
public Pasport Pasp { get; set; }
}
public class PasportCreateReq
{
public bool Status { get; set; } = true;
}
}

View File

@ -0,0 +1,81 @@
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Newtonsoft.Json.Linq;
using Newtonsoft;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Newtonsoft.Json;
using NLog;
using DataClient.Struct;
using System.IO;
using ApiServer.ApiStruct;
namespace ApiServer.Controllers
{
[ApiController, Route("[controller]")]
public class PasportController : ControllerBase
{
private Logger log = LogManager.GetCurrentClassLogger();
[HttpPost, Route("check")]
public PasportCheckReq Check([FromBody] object value)
{
try
{
var reply = JsonConvert.DeserializeObject<PasportCheckRep>(value.ToString());
if (!reply.HasData || string.IsNullOrEmpty(reply.Name)) throw new Exception();
var paspName =
reply.DateAndTime.Hour.ToString("D2") +
reply.DateAndTime.Minute.ToString("D2") +
reply.DateAndTime.Second.ToString("D2") +
"-" + reply.Name;
var paspDir = Path.Combine(
Directory.GetCurrentDirectory(),
"data", "pasport",
reply.DateAndTime.Year.ToString("D4"),
reply.DateAndTime.Month.ToString("D2"),
reply.DateAndTime.Day.ToString("D2"),
paspName);
if (!System.IO.File.Exists(paspDir))
return new PasportCheckReq { Status = true, Exist = false };
return new PasportCheckReq { Status = true, Exist = true, Pasp = new Pasport(System.IO.File.ReadAllBytes(paspDir)) };
}
catch { return new PasportCheckReq { Status = false }; }
}
[HttpPost, Route("create")]
public PasportCreateReq Create([FromBody] object value)
{
try
{
var reply = JsonConvert.DeserializeObject<PasportCreateRep>(value.ToString());
if (!reply.HasData || string.IsNullOrEmpty(reply.Name)) throw new Exception();
var paspName =
reply.DateAndTime.Hour.ToString("D2") +
reply.DateAndTime.Minute.ToString("D2") +
reply.DateAndTime.Second.ToString("D2") +
"-" + reply.Name;
var dir = Path.Combine(
Directory.GetCurrentDirectory(),
"data", "pasport",
reply.DateAndTime.Year.ToString("D4"),
reply.DateAndTime.Month.ToString("D2"),
reply.DateAndTime.Day.ToString("D2"));
var paspDir = Path.Combine(dir, paspName);
if (!Directory.Exists(dir))
Directory.CreateDirectory(dir);
System.IO.File.WriteAllBytes(paspDir, reply.Pasp.PaspByte);
return new PasportCreateReq { Status = true };
}
catch { return new PasportCreateReq { Status = false }; }
}
}
}

44
ApiServer/Program.cs Normal file
View File

@ -0,0 +1,44 @@
using Microsoft.AspNetCore.Hosting;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;
using NLog;
using NLog.Config;
using NLog.Targets;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiServer
{
public class Program
{
public static void Main(string[] args)
{
LogConf();
CreateHostBuilder(args).Build().Run();
}
public static IHostBuilder CreateHostBuilder(string[] args) =>
Host.CreateDefaultBuilder(args)
.ConfigureWebHostDefaults(webBuilder =>
{
webBuilder.UseUrls("http://*:64400/");
//webBuilder.UseUrls("http://127.0.0.1:5000/");
webBuilder.UseStartup<Startup>();
});
static void LogConf()
{
var conf = new LoggingConfiguration();
var logcon = new ConsoleTarget()
{
Name = "logcon",
Layout = @"${time}|${level:uppercase=true}|${logger}|${message}${when:when=length('${exception}')>0:Inner=|}${exception:format=ToString,StackTrace}"
};
conf.AddRule(LogLevel.Trace, LogLevel.Fatal, logcon);
LogManager.Configuration = conf;
}
}
}

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<DeleteExistingFiles>False</DeleteExistingFiles>
<ExcludeApp_Data>False</ExcludeApp_Data>
<LaunchSiteAfterPublish>True</LaunchSiteAfterPublish>
<LastUsedBuildConfiguration>Release</LastUsedBuildConfiguration>
<LastUsedPlatform>Any CPU</LastUsedPlatform>
<PublishProvider>FileSystem</PublishProvider>
<PublishUrl>bin\Release\</PublishUrl>
<WebPublishMethod>FileSystem</WebPublishMethod>
<SiteUrlToLaunchAfterPublish />
<TargetFramework>net5.0</TargetFramework>
<ProjectGuid>618ef8a3-70d7-42a8-a407-aa3e47fe184c</ProjectGuid>
<SelfContained>false</SelfContained>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
https://go.microsoft.com/fwlink/?LinkID=208121.
-->
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<History>True|2021-07-31T12:43:14.2797709Z;False|2021-07-31T17:41:49.3152422+05:00;True|2021-07-31T14:07:45.4057263+05:00;False|2021-07-31T13:53:38.4952669+05:00;</History>
<_PublishTargetUrl>D:\GIT\ASCKU_PC\ApiServer\bin\Release\</_PublishTargetUrl>
</PropertyGroup>
</Project>

View File

@ -0,0 +1,28 @@
{
"iisSettings": {
"windowsAuthentication": false,
"anonymousAuthentication": true,
"iisExpress": {
"applicationUrl": "http://localhost:44714",
"sslPort": 0
}
},
"profiles": {
"IIS Express": {
"commandName": "IISExpress",
"launchBrowser": false,
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
},
"ApiServer": {
"commandName": "Project",
"dotnetRunMessages": "true",
"launchBrowser": false,
"applicationUrl": "http://localhost:64400",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
}
}
}

27
ApiServer/Startup.cs Normal file
View File

@ -0,0 +1,27 @@
using Microsoft.AspNetCore.Builder;
using Microsoft.AspNetCore.Hosting;
using Microsoft.AspNetCore.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace ApiServer
{
public class Startup
{
public Startup(IConfiguration configuration) { Configuration = configuration; }
public IConfiguration Configuration { get; }
public void ConfigureServices(IServiceCollection services) { services.AddControllers(); }
public void Configure(IApplicationBuilder app, IWebHostEnvironment env)
{
if (env.IsDevelopment()) { app.UseDeveloperExceptionPage(); }
app.UseRouting();
app.UseEndpoints(endpoints => { endpoints.MapControllers(); });
}
}
}

View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

View File

@ -0,0 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.AspNetCore.App",
"version": "5.0.0"
},
"configProperties": {
"System.GC.Server": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -0,0 +1,368 @@
{
"deleteAll": true,
"delete": [],
"add": [
{
"id": 0,
"name": "Ток дуги",
"sname": "I д",
"measure": "кА",
"mul": 0.1,
"byteId": [ 0, 1 ]
},
{
"id": 1,
"name": "Напряжение дуги",
"sname": "U д",
"measure": "В",
"mul": 0.1,
"byteId": [ 2, 3 ]
},
{
"id": 2,
"name": "Ток рабочего двигателя",
"sname": "I рд",
"measure": "А",
"mul": 0.1,
"byteId": [4,5]
},
{
"id": 3,
"name": "U рабочего двигателя",
"sname": "U рд",
"measure": "В",
"mul": 0.1,
"byteId": [6,7]
},
{
"id": 4,
"name": "Ток соленоида",
"sname": "I сол",
"measure": "А",
"mul": 0.1,
"byteId": [8,9]
},
{
"id": 5,
"name": "U соленоида",
"sname": "U сол",
"measure": "В",
"mul": 0.1,
"byteId": [10,11]
},
{
"id": 6,
"name": "Ток задания",
"sname": "I рз",
"measure": "кА",
"mul": 0.1,
"byteId": [12,13]
},
{
"id": 7,
"name": "t кристаллизатора на входе",
"sname": "t кр.вых",
"measure": "гр.С",
"byteId": [14,15]
},
{
"id": 8,
"name": "t кристаллизатора на выходе",
"sname": "t кр.вх",
"measure": "гр.С",
"byteId": [16,17]
},
{
"id": 9,
"name": "t вакуум-камеры",
"sname": "t вак-кам",
"measure": "гр.С",
"byteId": [18,19]
},
{
"id": 10,
"name": "t штока",
"sname": "t шт",
"measure": "гр.С",
"byteId": [20,21]
},
{
"id": 11,
"name": "Перемещение 0.1",
"sname": "S шт",
"measure": "мм",
"mul": 0.1,
"byteId": [22,23]
},
{
"id": 12,
"name": "Перемещение",
"sname": "S шт",
"measure": "мм",
"byteId": [24,25]
},
{
"id": 13,
"name": "Остаточное давление",
"measure": "мкм.рт.ст",
"mul": -1,
"byteId": [26,27]
},
{
"id": 14,
"name": "Изоляция шток-крышка",
"sname": "R шт-кр",
"measure": "В",
"mul": 0.1,
"byteId": [28,29]
},
{
"id": 15,
"name": "Изоляция крышка-камера",
"sname": "R кр-кам",
"measure": "В",
"mul": 0.1,
"byteId": [30,31]
},
{
"id": 16,
"name": "Расход воды",
"sname": "Q в.кр",
"measure": "м^3/ч",
"byteId": [ 32, 33 ]
},
{
"id": 17,
"name": "Капельные замыкания",
"sname": "Кап.зам.",
"mul": 0.01,
"byteId": [34,35]
},
{
"id": 18,
"name": "Усреднённая ширина импульсов КЗ",
"sname": "Кап.зым.",
"mul": 0.1,
"byteId": [36,37]
},
{
"id": 19,
"name": "Проток воды фланца",
"sname": "Qв. фл.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [38,39]
},
{
"id": 20,
"name": "Проток воды штока",
"sname": "Qв. шт.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [40,41]
},
{
"id": 21,
"name": "Давление воды крист.+1,5",
"sname": "P в.кр",
"measure": "кгс/см^2",
"mul": 0.01,
"byteId": [42,43]
},
{
"id": 22,
"name": "Проток воды камеры",
"sname": "Qв. кам.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [44,45]
},
{
"id": 23,
"name": "Ток задания источника(САУ)",
"sname": "I з.ист САУ",
"measure": "кА",
"mul": 0.1,
"byteId": [58,59]
},
{
"id": 25,
"name": "ПИД-рег. основная уставка",
"sname": "ПИД-осн",
"measure": "В",
"mul": 0.1,
"byteId": [62,63]
},
{
"id": 26,
"name": "ПИД-рег. макс. скорость",
"sname": "ПИД-макс",
"measure": "В",
"mul": 0.1,
"byteId": [64,65]
},
{
"id": 27,
"name": "t фланца вакуум-камеры",
"sname": "t фл.",
"measure": "гр.С",
"byteId": [66,67]
},
{
"id": 28,
"name": "t подставки",
"sname": "t под.",
"measure": "гр.С",
"byteId": [68,69]
},
{
"id": 29,
"name": "Проток воды подставки",
"sname": "Qв. под.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [70,71]
},
{
"id": 30,
"name": "Задание соленоида",
"sname": "Зад. сол.",
"measure": "А",
"mul": 0.1,
"byteId": [72,73]
},
{
"id": 31,
"name": "Ток задания источника(преобраз.)",
"sname": "I з.ист. преоб.",
"measure": "кА",
"mul": 0.1,
"byteId": [74,75]
},
{
"id": 33,
"name": "Вакуум по МЕТРАН-1200",
"sname": "МЕТРАН-1200",
"measure": "мм.рт.ст",
"mul": 0.1,
"byteId": [78,79]
},
{
"id": 34,
"name": "Вакуум по МЕТРАН-18,75",
"sname": "МЕТРАН-18,25",
"measure": "мм.рт.ст",
"mul": 0.001,
"byteId": [80,81]
},
{
"id": 35,
"name": "Давление газа в баллоне",
"sname": "P г.балл.",
"measure": "кгс/см^2",
"mul": 0.1,
"byteId": [82,83]
},
{
"id": 36,
"name": "Давление воды поддона",
"sname": "P в.подд.",
"measure": "кгс/см^2",
"byteId": [84,85]
},
{
"id": 37,
"name": "Задание тока дуги (ЦАП)",
"sname": "Зад.I, ЦАП",
"measure": "кА",
"mul": 0.1,
"byteId": [86,87]
},
{
"id": 38,
"name": "Задание скорости рабочего двигателя",
"sname": "Зад.ск.раб.дв",
"measure": "В",
"mul": 0.01,
"byteId": [88,89]
},
{
"id": 39,
"name": "Ток двигателя насоса ARPW",
"sname": "I дв. ARPW",
"measure": "А",
"mul": 0.01,
"byteId": [90,91]
},
{
"id": 40,
"name": "Энергия плавильного пролёта",
"sname": "Эн.пролёта, МВт",
"measure": "МВт",
"mul": 0.1,
"byteId": []
},
{
"id": 41,
"name": "Среднее напряжение плавл. за 1 мин.",
"sname": "U ср. 1мин, В",
"measure": "В",
"mul": 0.1,
"byteId": [92,93]
},
{
"id": 42,
"name": "ГМП: ток катушки 1",
"sname": "I кат1 ГМП",
"measure": "А",
"byteId": [94,95]
},
{
"id": 43,
"name": "ГМП: ток катушки 2",
"sname": "I кат2 ГМП",
"measure": "А",
"byteId": [96,97]
},
{
"id": 44,
"name": "ГМП: ток катушки 3",
"sname": "I кат3 ГМП",
"measure": "А",
"byteId": [98,99]
},
{
"id": 45,
"name": "ГМП: частота",
"sname": "Част. ГМП",
"measure": "Гц",
"mul": 0.1,
"byteId": [100,101]
},
{
"id": 46,
"name": "ПИД: коэффицинт Кp",
"mul": 0.01,
"byteId": [102,103]
},
{
"id": 47,
"name": "ПИД: коэффицинт Кi",
"mul": 0.01,
"byteId": [104,105]
},
{
"id": 49,
"name": "Количество точек усреднения",
"byteId": [106,107]
},
{
"id": 50,
"name": "Пороговое U ДКЗ",
"measure": "В",
"mul": 0.1,
"byteId": [108,109]
}
]
}

View File

@ -0,0 +1,16 @@
{
"servers": [
{
"name": "STP 1",
"ip": "10.10.45.151",
"port": 1070,
"dir": "Y:\\data"
},
{
"name": "STP 2",
"ip": "10.10.45.152",
"port": 1070,
"dir": "Z:\\data"
}
]
}

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,249 @@
<?xml version="1.0"?>
<doc>
<assembly>
<name>DataClient</name>
</assembly>
<members>
<member name="T:DataClient.NETClient">
<summary>Класс для связи с СТП сервером по проботоколу TCP.</summary>
</member>
<member name="P:DataClient.NETClient.Status">
<summary>
Статус процесса выполнения запроса.
Предполагается использовать только на больших
загрузках и в ассинхронных задачах
</summary>
</member>
<member name="T:DataClient.NETClient.Code">
<summary>Коды для работы с СТП.</summary>
</member>
<member name="F:DataClient.NETClient.Code.version">
<summary>Версия.</summary>
</member>
<member name="F:DataClient.NETClient.Code.download">
<summary>Загрузка.</summary>
</member>
<member name="F:DataClient.NETClient.Code.pasp_download">
<summary>Загрузка паспорта.</summary>
</member>
<member name="F:DataClient.NETClient.Code.server_time">
<summary>Время сервера.</summary>
</member>
<member name="F:DataClient.NETClient.Code.keep_alive">
<summary>Оставаться на связи.</summary>
</member>
<member name="F:DataClient.NETClient.Code.download_nh">
<summary>Загрузка (nh).</summary>
</member>
<member name="F:DataClient.NETClient.Code.dir_browse">
<summary>Структура директории.</summary>
</member>
<member name="F:DataClient.NETClient.Code.by_name">
<summary>Поиск команды по имени.</summary>
</member>
<member name="P:DataClient.NETClient.Ip">
<summary>IP адрес СТП.</summary>
</member>
<member name="P:DataClient.NETClient.Port">
<summary>Порт СТП.</summary>
</member>
<member name="P:DataClient.NETClient.RetryCount">
<summary>Количество попыток переподключения.</summary>
</member>
<member name="P:DataClient.NETClient.RetryInterval">
<summary>Время в секундах между попытками переподключения.</summary>
</member>
<member name="M:DataClient.NETClient.#ctor">
<summary>Основной конструктор класса NetClient. Ip-адрес - 127.0.0.1; Порт - 1070;</summary>
</member>
<member name="M:DataClient.NETClient.#ctor(System.String,System.Int32)">
<summary>Конструктор класса NetClient с параметрами.</summary><param name="ip">Ip-адрес сервера.</param><param name="port">Порт сервера.</param>
</member>
<member name="M:DataClient.NETClient.ReceiveBytesFull(System.Net.Sockets.NetworkStream)">
<summary>Получение неопределенного количество байт с сервера. Количество ограничено максимальным значением типа UInt.</summary><param name="ns">Открытый сетевой поток.</param><returns>Массив байт.</returns><exception cref="T:System.InvalidOperationException">
Соединение с сервером закрыто.
</exception><exception cref="T:System.IO.IOException">
Стрим недоступен для Чтения.
</exception><exception cref="T:System.TimeoutException">
Сервер сбросил соединение.
</exception>
</member>
<member name="M:DataClient.NETClient.ReceiveBytesFixSize(System.Net.Sockets.NetworkStream,System.UInt32)">
<summary>Получение определенного количество байт с сервера.</summary><param name="ns">Открытый сетевой поток.</param><param name="size">Кол-во получаемых байт.</param><returns>Массив байт. Может быть меньше заданного количества.</returns><exception cref="T:System.ArgumentException">
Размер байт не должен равняться нулю.
</exception><exception cref="T:System.IO.IOException">
Стрим недоступен для записи.
</exception><exception cref="T:System.TimeoutException">
Сервер сбросил соединение.
</exception>
</member>
<member name="M:DataClient.NETClient.SendBytes(System.Net.Sockets.NetworkStream,System.Byte[])">
<summary>Отправка массива байт на СТП.</summary><param name="ns">Открытый сетевой поток.</param><param name="arr">Массив байт.</param><returns>Результат отправки.</returns><exception cref="T:System.ArgumentException">
Размер байт не должен равняться нулю.
</exception><exception cref="T:System.IO.IOException">
Стрим недоступен для записи.
</exception>
</member>
<member name="M:DataClient.NETClient.CreateCode(System.UInt32,System.String,System.Byte[],System.Byte[])">
<summary>Формирование массива байт на отправку.</summary><param name="code">Код комманды. Конвертируется в 4 байта. (0x00 0x00 0x00 0x00)</param><param name="val">Передаваемая строка.</param><param name="prefix">Байты перед передаваемой строкой.</param><param name="postfix">Байты после передаваемой строкой.</param><returns>Массив байт для отправки на СТП.</returns>
</member>
<member name="M:DataClient.NETClient.Connect">
<summary>Открытие соединения к серверу.</summary><remarks>Информирует только о подключении к серверу. Исключения опускает.</remarks><returns>Состояние подключения.</returns>
</member>
<member name="M:DataClient.NETClient.Connected">
<summary>Проверка подключения.</summary><returns>Состояние подключения.</returns>
</member>
<member name="M:DataClient.NETClient.Close">
<summary>Закрыть подключение.</summary>
</member>
<member name="M:DataClient.NETClient.SendBytes(System.Byte[])">
<summary>Отправка массива байт на СТП.</summary><param name="send">Массив байт для отправки.</param><returns>Результат отправки.</returns><exception cref="T:System.ArgumentException">
Размер байт не должен равняться нулю.
</exception><exception cref="T:System.IO.IOException">
Поток недоступен для записи.
</exception>
</member>
<member name="M:DataClient.NETClient.ReceiveBytes">
<summary>Получение неизвестного количество байт.</summary><remarks>Возвращает null, если что-то пошло не так.</remarks><returns>Массив байт.</returns>
</member>
<member name="M:DataClient.NETClient.ReceiveBytes(System.UInt32)">
<summary>Получение определенного количество байт.</summary><param name="size">Количество байт.</param><remarks>Возвращает null, если что-то пошло не так.</remarks><returns>Массив байт определенного размера. Может массив быть меньше, если в буфере не будет достаточно данных.</returns>
</member>
<member name="M:DataClient.NETClient.My_Connect">
<summary>Внутренняя функция для создания подключения.</summary><returns>Возвращает флаг необходимости закрытия соединения.</returns><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.My_Close(System.Boolean)">
<summary>Внетренняя функция для закрытия соединения.</summary><param name="needClose">Флаг о необходимости закрыть соединение.</param>
</member>
<member name="M:DataClient.NETClient.GetFile(DataClient.NETClient.Code,System.DateTime,System.Int32,System.Int32)">
<summary>Внутренняя функция получения файлов.</summary><param name="code">Код, который будет отправлен на сервер.</param><param name="date">Дата. Из неё формируется строка в формате YYYMMDD.</param><param name="vdp">Номер печи. 00 - общецеховые параметры.</param><param name="idx">Индекс файла. От 0 до 15.</param><returns>Массив байт, соответствующий запрашиваемому файлу.</returns><exception cref="T:System.ArgumentException">
Неверный код, для получения файла.
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_Download_NH(System.DateTime,System.Int32,System.Int32)">
<summary>Получение файла данных (байтами) с СТП.</summary><param name="date">Дата. Из неё формируется строка в формате YYYMMDD.</param><param name="vdp">Номер печи. 00 - общецеховые параметры.</param><param name="idx">Индекс файла. От 0 до 15.</param><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><returns>Обработанный массив байт.</returns><exception cref="T:System.ArgumentException">
Неверный код, для получения файла.
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_Download(System.DateTime,System.Int32,System.Int32)">
<summary>Получение файла данных (байтами) с СТП.</summary><param name="date">Дата. Из неё формируется строка в формате YYYMMDD.</param><param name="vdp">Номер печи. 00 - общецеховые параметры.</param><param name="idx">Индекс файла. От 0 до 15.</param><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><returns>Обработанный массив байт.</returns><exception cref="T:System.ArgumentException">
Неверный код, для получения файла.
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_By_Name(System.String)">
<summary>Получение файла данных (байтами) с СТП.</summary><param name="val">Название команды.</param><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><returns>Массив байт, соответствующий этой команде. Может вернуть null.</returns><exception cref="T:System.ArgumentException">
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_Dir_Browse(System.String)">
<summary>Получение структуры файлов и папок в запрашиваемой директории.</summary><param name="dir">Путь, структуру которого надо отобразить.</param><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><returns>Массив строк. Полные пути к файлам и папкам. Может вернуть null.</returns><exception cref="T:System.ArgumentException">
Неверный флаг окончания строки.
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_Server_Time">
<summary>Получение текущее время на сервере.</summary><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><returns>Текущее время на сервере.</returns><exception cref="T:System.ArgumentException">
Неверный флаг окончания строки.
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_Version">
<summary>Получение текущую версию сервера.</summary><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><returns>строку с названием версии сервера.</returns><exception cref="T:System.ArgumentException">
Неверный флаг окончания строки.
Неверный флаг во время получения файла.
</exception><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="M:DataClient.NETClient.Full_Keep_Alive">
<summary>Отправка команды для поддержания соединения.</summary><remarks>Выполняет автоподключение, если оно не установлено. Не все ошибки описаны в документации.</remarks><exception cref="T:System.IO.IOException">
Предыдущий запрос не закончен.
Поток недоступен для записи.
</exception><exception cref="T:System.InvalidOperationException">
Не получилось соединиться с сервером.
</exception>
</member>
<member name="T:DataClient.STPClient">
<summary>Класс для связи с СТП. Содержит все инструменты, для получения данных.</summary>
</member>
<member name="M:DataClient.STPClient.Config">
<summary>Чтение конфигурационнного файла и установка параметров по умолчанию.</summary>
</member>
<member name="P:DataClient.STPClient.UseServer">
<summary>Номер сервера, используемого по умолчанию.</summary>
</member>
<member name="P:DataClient.STPClient.ListServers">
<summary>Массив серверов, инициализированных в экземпляре класса.</summary>
</member>
<member name="P:DataClient.STPClient.Server">
<summary> Текущий рабочий сервер </summary>
</member>
<member name="M:DataClient.STPClient.CheckDataServer(System.String,System.Int32,System.String)">
<summary>
Проверка параметров сервера.
</summary>
<param name="ip">Ip адрес сервера СТП.</param>
<param name="port">Порт сервера СТП.</param>
<param name="dir">Путь к архивным данным.</param>
<returns>Результат проверки.</returns>
</member>
<member name="M:DataClient.STPClient.AddServer(System.String,System.String,System.Int32,System.String)">
<summary>Добавление сервера в список серверов.</summary>
<param name="name">Название сервера</param>
<param name="ip">IP адресс сервера.</param>
<param name="port">Порт сервера.</param>
<param name="dir">Путь к архиву.</param>
<returns>Результат выполнения функции.</returns>
</member>
<member name="M:DataClient.STPClient.RemoveServer(System.Int32)">
<summary>Удаление сервера из списка серверов по его номеру.</summary>
<param name="id">Номер сервера в списке серверов.</param>
<returns>Результат выполнения функции.</returns>
</member>
<member name="M:DataClient.STPClient.#ctor">
<summary>Создание экземпляра класса.</summary>
</member>
<member name="M:DataClient.STPClient.#ctor(System.String)">
<summary>Создание экземпляра класса с указанием конфигурационного файла.</summary>
<param name="confDir">Путь к файлу конфигурации.</param>
</member>
</members>
</doc>

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

View File

@ -0,0 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.AspNetCore.App",
"version": "5.0.0"
},
"configProperties": {
"System.GC.Server": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -0,0 +1,368 @@
{
"deleteAll": true,
"delete": [],
"add": [
{
"id": 0,
"name": "Ток дуги",
"sname": "I д",
"measure": "кА",
"mul": 0.1,
"byteId": [ 0, 1 ]
},
{
"id": 1,
"name": "Напряжение дуги",
"sname": "U д",
"measure": "В",
"mul": 0.1,
"byteId": [ 2, 3 ]
},
{
"id": 2,
"name": "Ток рабочего двигателя",
"sname": "I рд",
"measure": "А",
"mul": 0.1,
"byteId": [4,5]
},
{
"id": 3,
"name": "U рабочего двигателя",
"sname": "U рд",
"measure": "В",
"mul": 0.1,
"byteId": [6,7]
},
{
"id": 4,
"name": "Ток соленоида",
"sname": "I сол",
"measure": "А",
"mul": 0.1,
"byteId": [8,9]
},
{
"id": 5,
"name": "U соленоида",
"sname": "U сол",
"measure": "В",
"mul": 0.1,
"byteId": [10,11]
},
{
"id": 6,
"name": "Ток задания",
"sname": "I рз",
"measure": "кА",
"mul": 0.1,
"byteId": [12,13]
},
{
"id": 7,
"name": "t кристаллизатора на входе",
"sname": "t кр.вых",
"measure": "гр.С",
"byteId": [14,15]
},
{
"id": 8,
"name": "t кристаллизатора на выходе",
"sname": "t кр.вх",
"measure": "гр.С",
"byteId": [16,17]
},
{
"id": 9,
"name": "t вакуум-камеры",
"sname": "t вак-кам",
"measure": "гр.С",
"byteId": [18,19]
},
{
"id": 10,
"name": "t штока",
"sname": "t шт",
"measure": "гр.С",
"byteId": [20,21]
},
{
"id": 11,
"name": "Перемещение 0.1",
"sname": "S шт",
"measure": "мм",
"mul": 0.1,
"byteId": [22,23]
},
{
"id": 12,
"name": "Перемещение",
"sname": "S шт",
"measure": "мм",
"byteId": [24,25]
},
{
"id": 13,
"name": "Остаточное давление",
"measure": "мкм.рт.ст",
"mul": -1,
"byteId": [26,27]
},
{
"id": 14,
"name": "Изоляция шток-крышка",
"sname": "R шт-кр",
"measure": "В",
"mul": 0.1,
"byteId": [28,29]
},
{
"id": 15,
"name": "Изоляция крышка-камера",
"sname": "R кр-кам",
"measure": "В",
"mul": 0.1,
"byteId": [30,31]
},
{
"id": 16,
"name": "Расход воды",
"sname": "Q в.кр",
"measure": "м^3/ч",
"byteId": [ 32, 33 ]
},
{
"id": 17,
"name": "Капельные замыкания",
"sname": "Кап.зам.",
"mul": 0.01,
"byteId": [34,35]
},
{
"id": 18,
"name": "Усреднённая ширина импульсов КЗ",
"sname": "Кап.зым.",
"mul": 0.1,
"byteId": [36,37]
},
{
"id": 19,
"name": "Проток воды фланца",
"sname": "Qв. фл.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [38,39]
},
{
"id": 20,
"name": "Проток воды штока",
"sname": "Qв. шт.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [40,41]
},
{
"id": 21,
"name": "Давление воды крист.+1,5",
"sname": "P в.кр",
"measure": "кгс/см^2",
"mul": 0.01,
"byteId": [42,43]
},
{
"id": 22,
"name": "Проток воды камеры",
"sname": "Qв. кам.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [44,45]
},
{
"id": 23,
"name": "Ток задания источника(САУ)",
"sname": "I з.ист САУ",
"measure": "кА",
"mul": 0.1,
"byteId": [58,59]
},
{
"id": 25,
"name": "ПИД-рег. основная уставка",
"sname": "ПИД-осн",
"measure": "В",
"mul": 0.1,
"byteId": [62,63]
},
{
"id": 26,
"name": "ПИД-рег. макс. скорость",
"sname": "ПИД-макс",
"measure": "В",
"mul": 0.1,
"byteId": [64,65]
},
{
"id": 27,
"name": "t фланца вакуум-камеры",
"sname": "t фл.",
"measure": "гр.С",
"byteId": [66,67]
},
{
"id": 28,
"name": "t подставки",
"sname": "t под.",
"measure": "гр.С",
"byteId": [68,69]
},
{
"id": 29,
"name": "Проток воды подставки",
"sname": "Qв. под.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [70,71]
},
{
"id": 30,
"name": "Задание соленоида",
"sname": "Зад. сол.",
"measure": "А",
"mul": 0.1,
"byteId": [72,73]
},
{
"id": 31,
"name": "Ток задания источника(преобраз.)",
"sname": "I з.ист. преоб.",
"measure": "кА",
"mul": 0.1,
"byteId": [74,75]
},
{
"id": 33,
"name": "Вакуум по МЕТРАН-1200",
"sname": "МЕТРАН-1200",
"measure": "мм.рт.ст",
"mul": 0.1,
"byteId": [78,79]
},
{
"id": 34,
"name": "Вакуум по МЕТРАН-18,75",
"sname": "МЕТРАН-18,25",
"measure": "мм.рт.ст",
"mul": 0.001,
"byteId": [80,81]
},
{
"id": 35,
"name": "Давление газа в баллоне",
"sname": "P г.балл.",
"measure": "кгс/см^2",
"mul": 0.1,
"byteId": [82,83]
},
{
"id": 36,
"name": "Давление воды поддона",
"sname": "P в.подд.",
"measure": "кгс/см^2",
"byteId": [84,85]
},
{
"id": 37,
"name": "Задание тока дуги (ЦАП)",
"sname": "Зад.I, ЦАП",
"measure": "кА",
"mul": 0.1,
"byteId": [86,87]
},
{
"id": 38,
"name": "Задание скорости рабочего двигателя",
"sname": "Зад.ск.раб.дв",
"measure": "В",
"mul": 0.01,
"byteId": [88,89]
},
{
"id": 39,
"name": "Ток двигателя насоса ARPW",
"sname": "I дв. ARPW",
"measure": "А",
"mul": 0.01,
"byteId": [90,91]
},
{
"id": 40,
"name": "Энергия плавильного пролёта",
"sname": "Эн.пролёта, МВт",
"measure": "МВт",
"mul": 0.1,
"byteId": []
},
{
"id": 41,
"name": "Среднее напряжение плавл. за 1 мин.",
"sname": "U ср. 1мин, В",
"measure": "В",
"mul": 0.1,
"byteId": [92,93]
},
{
"id": 42,
"name": "ГМП: ток катушки 1",
"sname": "I кат1 ГМП",
"measure": "А",
"byteId": [94,95]
},
{
"id": 43,
"name": "ГМП: ток катушки 2",
"sname": "I кат2 ГМП",
"measure": "А",
"byteId": [96,97]
},
{
"id": 44,
"name": "ГМП: ток катушки 3",
"sname": "I кат3 ГМП",
"measure": "А",
"byteId": [98,99]
},
{
"id": 45,
"name": "ГМП: частота",
"sname": "Част. ГМП",
"measure": "Гц",
"mul": 0.1,
"byteId": [100,101]
},
{
"id": 46,
"name": "ПИД: коэффицинт Кp",
"mul": 0.01,
"byteId": [102,103]
},
{
"id": 47,
"name": "ПИД: коэффицинт Кi",
"mul": 0.01,
"byteId": [104,105]
},
{
"id": 49,
"name": "Количество точек усреднения",
"byteId": [106,107]
},
{
"id": 50,
"name": "Пороговое U ДКЗ",
"measure": "В",
"mul": 0.1,
"byteId": [108,109]
}
]
}

View File

@ -0,0 +1,16 @@
{
"servers": [
{
"name": "STP 1",
"ip": "10.10.45.151",
"port": 1070,
"dir": "Y:\\data"
},
{
"name": "STP 2",
"ip": "10.10.45.152",
"port": 1070,
"dir": "Z:\\data"
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

View File

@ -0,0 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,13 @@
{
"runtimeOptions": {
"tfm": "net5.0",
"framework": {
"name": "Microsoft.AspNetCore.App",
"version": "5.0.0"
},
"configProperties": {
"System.GC.Server": true,
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
}
}
}

View File

@ -0,0 +1,368 @@
{
"deleteAll": true,
"delete": [],
"add": [
{
"id": 0,
"name": "Ток дуги",
"sname": "I д",
"measure": "кА",
"mul": 0.1,
"byteId": [ 0, 1 ]
},
{
"id": 1,
"name": "Напряжение дуги",
"sname": "U д",
"measure": "В",
"mul": 0.1,
"byteId": [ 2, 3 ]
},
{
"id": 2,
"name": "Ток рабочего двигателя",
"sname": "I рд",
"measure": "А",
"mul": 0.1,
"byteId": [4,5]
},
{
"id": 3,
"name": "U рабочего двигателя",
"sname": "U рд",
"measure": "В",
"mul": 0.1,
"byteId": [6,7]
},
{
"id": 4,
"name": "Ток соленоида",
"sname": "I сол",
"measure": "А",
"mul": 0.1,
"byteId": [8,9]
},
{
"id": 5,
"name": "U соленоида",
"sname": "U сол",
"measure": "В",
"mul": 0.1,
"byteId": [10,11]
},
{
"id": 6,
"name": "Ток задания",
"sname": "I рз",
"measure": "кА",
"mul": 0.1,
"byteId": [12,13]
},
{
"id": 7,
"name": "t кристаллизатора на входе",
"sname": "t кр.вых",
"measure": "гр.С",
"byteId": [14,15]
},
{
"id": 8,
"name": "t кристаллизатора на выходе",
"sname": "t кр.вх",
"measure": "гр.С",
"byteId": [16,17]
},
{
"id": 9,
"name": "t вакуум-камеры",
"sname": "t вак-кам",
"measure": "гр.С",
"byteId": [18,19]
},
{
"id": 10,
"name": "t штока",
"sname": "t шт",
"measure": "гр.С",
"byteId": [20,21]
},
{
"id": 11,
"name": "Перемещение 0.1",
"sname": "S шт",
"measure": "мм",
"mul": 0.1,
"byteId": [22,23]
},
{
"id": 12,
"name": "Перемещение",
"sname": "S шт",
"measure": "мм",
"byteId": [24,25]
},
{
"id": 13,
"name": "Остаточное давление",
"measure": "мкм.рт.ст",
"mul": -1,
"byteId": [26,27]
},
{
"id": 14,
"name": "Изоляция шток-крышка",
"sname": "R шт-кр",
"measure": "В",
"mul": 0.1,
"byteId": [28,29]
},
{
"id": 15,
"name": "Изоляция крышка-камера",
"sname": "R кр-кам",
"measure": "В",
"mul": 0.1,
"byteId": [30,31]
},
{
"id": 16,
"name": "Расход воды",
"sname": "Q в.кр",
"measure": "м^3/ч",
"byteId": [ 32, 33 ]
},
{
"id": 17,
"name": "Капельные замыкания",
"sname": "Кап.зам.",
"mul": 0.01,
"byteId": [34,35]
},
{
"id": 18,
"name": "Усреднённая ширина импульсов КЗ",
"sname": "Кап.зым.",
"mul": 0.1,
"byteId": [36,37]
},
{
"id": 19,
"name": "Проток воды фланца",
"sname": "Qв. фл.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [38,39]
},
{
"id": 20,
"name": "Проток воды штока",
"sname": "Qв. шт.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [40,41]
},
{
"id": 21,
"name": "Давление воды крист.+1,5",
"sname": "P в.кр",
"measure": "кгс/см^2",
"mul": 0.01,
"byteId": [42,43]
},
{
"id": 22,
"name": "Проток воды камеры",
"sname": "Qв. кам.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [44,45]
},
{
"id": 23,
"name": "Ток задания источника(САУ)",
"sname": "I з.ист САУ",
"measure": "кА",
"mul": 0.1,
"byteId": [58,59]
},
{
"id": 25,
"name": "ПИД-рег. основная уставка",
"sname": "ПИД-осн",
"measure": "В",
"mul": 0.1,
"byteId": [62,63]
},
{
"id": 26,
"name": "ПИД-рег. макс. скорость",
"sname": "ПИД-макс",
"measure": "В",
"mul": 0.1,
"byteId": [64,65]
},
{
"id": 27,
"name": "t фланца вакуум-камеры",
"sname": "t фл.",
"measure": "гр.С",
"byteId": [66,67]
},
{
"id": 28,
"name": "t подставки",
"sname": "t под.",
"measure": "гр.С",
"byteId": [68,69]
},
{
"id": 29,
"name": "Проток воды подставки",
"sname": "Qв. под.",
"measure": "м^3/ч",
"mul": 0.01,
"byteId": [70,71]
},
{
"id": 30,
"name": "Задание соленоида",
"sname": "Зад. сол.",
"measure": "А",
"mul": 0.1,
"byteId": [72,73]
},
{
"id": 31,
"name": "Ток задания источника(преобраз.)",
"sname": "I з.ист. преоб.",
"measure": "кА",
"mul": 0.1,
"byteId": [74,75]
},
{
"id": 33,
"name": "Вакуум по МЕТРАН-1200",
"sname": "МЕТРАН-1200",
"measure": "мм.рт.ст",
"mul": 0.1,
"byteId": [78,79]
},
{
"id": 34,
"name": "Вакуум по МЕТРАН-18,75",
"sname": "МЕТРАН-18,25",
"measure": "мм.рт.ст",
"mul": 0.001,
"byteId": [80,81]
},
{
"id": 35,
"name": "Давление газа в баллоне",
"sname": "P г.балл.",
"measure": "кгс/см^2",
"mul": 0.1,
"byteId": [82,83]
},
{
"id": 36,
"name": "Давление воды поддона",
"sname": "P в.подд.",
"measure": "кгс/см^2",
"byteId": [84,85]
},
{
"id": 37,
"name": "Задание тока дуги (ЦАП)",
"sname": "Зад.I, ЦАП",
"measure": "кА",
"mul": 0.1,
"byteId": [86,87]
},
{
"id": 38,
"name": "Задание скорости рабочего двигателя",
"sname": "Зад.ск.раб.дв",
"measure": "В",
"mul": 0.01,
"byteId": [88,89]
},
{
"id": 39,
"name": "Ток двигателя насоса ARPW",
"sname": "I дв. ARPW",
"measure": "А",
"mul": 0.01,
"byteId": [90,91]
},
{
"id": 40,
"name": "Энергия плавильного пролёта",
"sname": "Эн.пролёта, МВт",
"measure": "МВт",
"mul": 0.1,
"byteId": []
},
{
"id": 41,
"name": "Среднее напряжение плавл. за 1 мин.",
"sname": "U ср. 1мин, В",
"measure": "В",
"mul": 0.1,
"byteId": [92,93]
},
{
"id": 42,
"name": "ГМП: ток катушки 1",
"sname": "I кат1 ГМП",
"measure": "А",
"byteId": [94,95]
},
{
"id": 43,
"name": "ГМП: ток катушки 2",
"sname": "I кат2 ГМП",
"measure": "А",
"byteId": [96,97]
},
{
"id": 44,
"name": "ГМП: ток катушки 3",
"sname": "I кат3 ГМП",
"measure": "А",
"byteId": [98,99]
},
{
"id": 45,
"name": "ГМП: частота",
"sname": "Част. ГМП",
"measure": "Гц",
"mul": 0.1,
"byteId": [100,101]
},
{
"id": 46,
"name": "ПИД: коэффицинт Кp",
"mul": 0.01,
"byteId": [102,103]
},
{
"id": 47,
"name": "ПИД: коэффицинт Кi",
"mul": 0.01,
"byteId": [104,105]
},
{
"id": 49,
"name": "Количество точек усреднения",
"byteId": [106,107]
},
{
"id": 50,
"name": "Пороговое U ДКЗ",
"measure": "В",
"mul": 0.1,
"byteId": [108,109]
}
]
}

View File

@ -0,0 +1,16 @@
{
"servers": [
{
"name": "STP 1",
"ip": "10.10.45.151",
"port": 1070,
"dir": "Y:\\data"
},
{
"name": "STP 2",
"ip": "10.10.45.152",
"port": 1070,
"dir": "Z:\\data"
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,9 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
}
}

View File

@ -0,0 +1,10 @@
{
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft": "Warning",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"AllowedHosts": "*"
}

Binary file not shown.

View File

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<location path="." inheritInChildApplications="false">
<system.webServer>
<handlers>
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModuleV2" resourceType="Unspecified" />
</handlers>
<aspNetCore processPath="dotnet" arguments=".\ApiServer.dll" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" hostingModel="inprocess" />
</system.webServer>
</location>
</configuration>
<!--ProjectGuid: 618ef8a3-70d7-42a8-a407-aa3e47fe184c-->

View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="utf-8"?>
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Target Name="GetEFProjectMetadata" Condition="">
<MSBuild Condition=" '$(TargetFramework)' == '' "
Projects="$(MSBuildProjectFile)"
Targets="GetEFProjectMetadata"
Properties="TargetFramework=$(TargetFrameworks.Split(';')[0]);EFProjectMetadataFile=$(EFProjectMetadataFile)" />
<ItemGroup Condition=" '$(TargetFramework)' != '' ">
<EFProjectMetadata Include="AssemblyName: $(AssemblyName)" />
<EFProjectMetadata Include="Language: $(Language)" />
<EFProjectMetadata Include="OutputPath: $(OutputPath)" />
<EFProjectMetadata Include="Platform: $(Platform)" />
<EFProjectMetadata Include="PlatformTarget: $(PlatformTarget)" />
<EFProjectMetadata Include="ProjectAssetsFile: $(ProjectAssetsFile)" />
<EFProjectMetadata Include="ProjectDir: $(ProjectDir)" />
<EFProjectMetadata Include="RootNamespace: $(RootNamespace)" />
<EFProjectMetadata Include="RuntimeFrameworkVersion: $(RuntimeFrameworkVersion)" />
<EFProjectMetadata Include="TargetFileName: $(TargetFileName)" />
<EFProjectMetadata Include="TargetFrameworkMoniker: $(TargetFrameworkMoniker)" />
</ItemGroup>
<WriteLinesToFile Condition=" '$(TargetFramework)' != '' "
File="$(EFProjectMetadataFile)"
Lines="@(EFProjectMetadata)" />
</Target>
</Project>

View File

@ -0,0 +1,161 @@
{
"format": 1,
"restore": {
"D:\\GIT\\ASCKU_PC\\ApiServer\\ApiServer.csproj": {}
},
"projects": {
"D:\\GIT\\ASCKU_PC\\ApiServer\\ApiServer.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\GIT\\ASCKU_PC\\ApiServer\\ApiServer.csproj",
"projectName": "ApiServer",
"projectPath": "D:\\GIT\\ASCKU_PC\\ApiServer\\ApiServer.csproj",
"packagesPath": "C:\\Users\\google\\.nuget\\packages\\",
"outputPath": "D:\\GIT\\ASCKU_PC\\ApiServer\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\google\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {
"D:\\GIT\\ASCKU_PC\\DataClient\\DataClient.csproj": {
"projectPath": "D:\\GIT\\ASCKU_PC\\DataClient\\DataClient.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"NLog": {
"target": "Package",
"version": "[4.7.10, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.AspNetCore.App": {
"privateAssets": "none"
},
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
},
"D:\\GIT\\ASCKU_PC\\DataClient\\DataClient.csproj": {
"version": "0.0.3",
"restore": {
"projectUniqueName": "D:\\GIT\\ASCKU_PC\\DataClient\\DataClient.csproj",
"projectName": "DataClient",
"projectPath": "D:\\GIT\\ASCKU_PC\\DataClient\\DataClient.csproj",
"packagesPath": "C:\\Users\\google\\.nuget\\packages\\",
"outputPath": "D:\\GIT\\ASCKU_PC\\DataClient\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
],
"configFilePaths": [
"C:\\Users\\google\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Xamarin.Offline.config"
],
"originalTargetFrameworks": [
"net5.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net5.0": {
"targetAlias": "net5.0",
"dependencies": {
"NLog": {
"target": "Package",
"version": "[4.7.10, )"
},
"NLog.Extensions.Logging": {
"target": "Package",
"version": "[1.7.2, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.301\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -5,14 +5,15 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Admin\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\google\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files (x86)\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.9.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Admin\.nuget\packages\" />
<SourceRoot Include="C:\Users\google\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>

View File

@ -11,12 +11,12 @@
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("STPClient")]
[assembly: System.Reflection.AssemblyCompanyAttribute("ApiServer")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("STPClient")]
[assembly: System.Reflection.AssemblyTitleAttribute("STPClient")]
[assembly: System.Reflection.AssemblyProductAttribute("ApiServer")]
[assembly: System.Reflection.AssemblyTitleAttribute("ApiServer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@ -0,0 +1 @@
2ed28e36d2774f95f72f94ffe21026b1f549b485

View File

@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows

View File

@ -0,0 +1 @@
43315a82abc62fbdb163a4ab5fb3e0bf77c3cf30

Binary file not shown.

View File

@ -0,0 +1 @@
eece26e2641288ea40de3e4121e24408575928d1

View File

@ -0,0 +1,32 @@
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\appsettings.Development.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\appsettings.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ApiServer.exe
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\Config\analog\default.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\Config\config.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ApiServer.deps.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ApiServer.runtimeconfig.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ApiServer.runtimeconfig.dev.json
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ref\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\ApiServer.pdb
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\Newtonsoft.Json.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\NLog.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\NLog.Extensions.Logging.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\DataClient.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\DataClient.pdb
D:\GIT\ASCKU_PC\ApiServer\bin\Debug\net5.0\DataClient.xml
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.csproj.AssemblyReference.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.GeneratedMSBuildEditorConfig.editorconfig
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.AssemblyInfoInputs.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.AssemblyInfo.cs
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.csproj.CoreCompileInputs.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.MvcApplicationPartsAssemblyInfo.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\staticwebassets\ApiServer.StaticWebAssets.Manifest.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\staticwebassets\ApiServer.StaticWebAssets.xml
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\scopedcss\bundle\ApiServer.styles.css
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.RazorTargetAssemblyInfo.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.csproj.CopyComplete
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ref\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.pdb
D:\GIT\ASCKU_PC\ApiServer\obj\Debug\net5.0\ApiServer.genruntimeconfig.cache

Binary file not shown.

View File

@ -0,0 +1 @@
0a8c2f7fcebea58b73a53bb1c0a2aa1056202aba

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1 @@
<StaticWebAssets Version="1.0" />

View File

@ -0,0 +1,4 @@
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v5.0", FrameworkDisplayName = "")]

View File

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// Этот код создан программой.
// Исполняемая версия:4.0.30319.42000
//
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
// повторной генерации кода.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ApiServer")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("ApiServer")]
[assembly: System.Reflection.AssemblyTitleAttribute("ApiServer")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Создано классом WriteCodeFragment MSBuild.

View File

@ -0,0 +1 @@
3af7ce3c7e6125448dcaa434ea432c81a2b91cda

View File

@ -0,0 +1,8 @@
is_global = true
build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb = true
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows

View File

@ -0,0 +1 @@
f398723e2e856542bd2c45d2c1fa0fc81ee78f29

Binary file not shown.

View File

@ -0,0 +1 @@
3105bb879a54082cdc433603df634090df709038

View File

@ -0,0 +1,31 @@
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.csproj.AssemblyReference.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.GeneratedMSBuildEditorConfig.editorconfig
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.AssemblyInfoInputs.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.AssemblyInfo.cs
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.csproj.CoreCompileInputs.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.MvcApplicationPartsAssemblyInfo.cache
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\appsettings.Development.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\appsettings.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ApiServer.exe
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\Config\analog\default.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\Config\config.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ApiServer.deps.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ApiServer.runtimeconfig.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ApiServer.runtimeconfig.dev.json
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ref\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\ApiServer.pdb
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\Newtonsoft.Json.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\NLog.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\NLog.Extensions.Logging.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\DataClient.dll
D:\GIT\ASCKU_PC\ApiServer\bin\Release\net5.0\DataClient.pdb
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\staticwebassets\ApiServer.StaticWebAssets.Manifest.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\staticwebassets\ApiServer.StaticWebAssets.xml
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\scopedcss\bundle\ApiServer.styles.css
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.RazorTargetAssemblyInfo.cache
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.csproj.CopyComplete
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ref\ApiServer.dll
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.pdb
D:\GIT\ASCKU_PC\ApiServer\obj\Release\net5.0\ApiServer.genruntimeconfig.cache

Binary file not shown.

Some files were not shown because too many files have changed in this diff Show More