Save last

This commit is contained in:
2024-09-22 04:27:05 +05:00
parent 0e645d20e2
commit ef797b23df
377 changed files with 14540 additions and 5819 deletions

View File

@@ -45,8 +45,8 @@ namespace DataClient
{
case 0:
var idxStr = enc.GetString(str.ToArray());
if (idxStr == "00") res.Operation = TechCycle.Oper.end_cycle_manual;
else if (int.TryParse(idxStr, out int idx)) res.index = (sbyte?)idx;
if (idxStr == "00") res.Index = -1;
else if (int.TryParse(idxStr, out int idx)) res.Index = (sbyte?)idx;
str.Clear();
flag++;
break;
@@ -63,7 +63,7 @@ namespace DataClient
if (flag != 2) throw exc;
var unixTimeStr = enc.GetString(str.ToArray());
if (!int.TryParse(unixTimeStr, out int unixTime)) throw exc;
res.start = (new DateTime(1970, 1, 1, 0, 0, 0, 0)).AddSeconds(unixTime).ToLocalTime();
res.StartDateTime = (new DateTime(1970, 1, 1, 0, 0, 0, 0)).AddSeconds(unixTime).ToLocalTime();
return res;
}
catch { throw; }

View File

@@ -1,70 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="DataClient.NETClient">
<Position X="0.5" Y="0.5" Width="2" />
<NestedTypes>
<Enum Name="DataClient.NETClient.Code">
<TypeIdentifier>
<NewMemberFileName>NETClient.cs</NewMemberFileName>
</TypeIdentifier>
</Enum>
</NestedTypes>
<TypeIdentifier>
<HashCode>QgIAADAGAQAAQAAQAAAAiIAACDICAogQAAEkAECAISE=</HashCode>
<FileName>NETClient.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.ByteConverter">
<Position X="6.25" Y="2.75" Width="1.5" />
<TypeIdentifier>
<HashCode>AgAAAIAAAEAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>ByteConverter.cs</FileName>
</TypeIdentifier>
</Class>
<ClassDiagram MajorVersion="1" MinorVersion="1" MembersFormat="FullSignature">
<Class Name="DataClient.Struct.Pasport">
<Position X="2.75" Y="0.5" Width="1.5" />
<Position X="0.5" Y="0.5" Width="4" />
<TypeIdentifier>
<HashCode>AgEDgEYgABADIBQMAAAhAoARAAIACCAAgAAQBDAQAgI=</HashCode>
<FileName>Struct\Pasport.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.NetStatus">
<Position X="4.5" Y="2.75" Width="1.5" />
<Compartments>
<Compartment Name="Nested Types" Collapsed="false" />
</Compartments>
<NestedTypes>
<Enum Name="DataClient.Struct.NetStatus.Status">
<TypeIdentifier>
<NewMemberFileName>Struct\Struct.cs</NewMemberFileName>
</TypeIdentifier>
</Enum>
</NestedTypes>
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAIAAAAAAAAAAAgAAACAAAAAAAAA=</HashCode>
<FileName>Struct\Struct.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.TechCycle">
<Position X="6.25" Y="0.5" Width="1.5" />
<NestedTypes>
<Enum Name="DataClient.Struct.TechCycle.Oper" Collapsed="true">
<TypeIdentifier>
<NewMemberFileName>Struct\TechCycle.cs</NewMemberFileName>
</TypeIdentifier>
</Enum>
</NestedTypes>
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAgAAAAAAAAAAAAAAAAAAEAAAABAAA=</HashCode>
<FileName>Struct\TechCycle.cs</FileName>
</TypeIdentifier>
</Class>
<Struct Name="DataClient.Struct.server">
<Position X="4.5" Y="0.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAACAAAAAAAAAAAAAAAAAEAAgAAAAgAAAAAAA=</HashCode>
<FileName>Struct\Struct.cs</FileName>
</TypeIdentifier>
</Struct>
<Font Name="Segoe UI" Size="9" />
</ClassDiagram>

View File

@@ -0,0 +1,67 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1">
<Class Name="DataClient.Struct.Analog" Collapsed="true">
<Position X="6" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAQAAAAA=</HashCode>
<FileName>Struct\Analog.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.ConfAnalog" Collapsed="true">
<Position X="7.75" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAgAEAABAAAQEAAAAAABAAAAAAAEAAAAAgAAAIAAAgA=</HashCode>
<FileName>Struct\Analog.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.Pasport" Collapsed="true">
<Position X="6" Y="3.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AgEDgEYgABADIBQMAAAhAoARAAIACCAAgAAQBDAQAgI=</HashCode>
<FileName>Struct\Pasport.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.NetStatus" Collapsed="true">
<Position X="9.5" Y="2.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAIAAAAAAAAAAAgAAACAAAAAAAAA=</HashCode>
<FileName>Struct\Struct.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.TechCycle" Collapsed="true">
<Position X="7.75" Y="3.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAEAAAAAAAA=</HashCode>
<FileName>Struct\TechCycle.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.TechCyclesParams" Collapsed="true">
<Position X="6" Y="4.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAgAAAAAA=</HashCode>
<FileName>Struct\TechCycleParams.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.TechCycles" Collapsed="true">
<Position X="9.5" Y="3.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAEAAAAAAAA=</HashCode>
<FileName>Struct\TechCycles.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.ByteConverter" Collapsed="true">
<Position X="11.25" Y="4.25" Width="1.5" />
<TypeIdentifier>
<HashCode>AgAAAIAAAEAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>ByteConverter.cs</FileName>
</TypeIdentifier>
</Class>
<Struct Name="DataClient.Struct.server" Collapsed="true">
<Position X="6" Y="5.5" Width="1.5" />
<TypeIdentifier>
<HashCode>AAAAAAAAACAAAAAAAAAAAAAAAAAEAAgAAAAgAAAAAAA=</HashCode>
<FileName>Struct\Struct.cs</FileName>
</TypeIdentifier>
</Struct>
<Font Name="Segoe UI" Size="9" />
</ClassDiagram>

View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1" MembersFormat="FullSignature">
<Class Name="DataClient.NETClient">
<Position X="0.5" Y="0.5" Width="5.75" />
<NestedTypes>
<Enum Name="DataClient.NETClient.Code" Collapsed="true">
<TypeIdentifier>
<NewMemberFileName>NETClient.cs</NewMemberFileName>
</TypeIdentifier>
</Enum>
</NestedTypes>
<TypeIdentifier>
<HashCode>RgIAADAGAQAAQAAQAAAAiIAACDICAogQAAEkAECAISE=</HashCode>
<FileName>NETClient.cs</FileName>
</TypeIdentifier>
</Class>
<Font Name="Segoe UI" Size="9" />
</ClassDiagram>

View File

@@ -0,0 +1,77 @@
<?xml version="1.0" encoding="utf-8"?>
<ClassDiagram MajorVersion="1" MinorVersion="1" MembersFormat="FullSignature">
<Class Name="DataClient.STPClient">
<Position X="0.5" Y="0.5" Width="4.5" />
<TypeIdentifier>
<HashCode>AAAAACAgAgAAAgAFAAAACAACAAEAAAAAihAAAgAIAAA=</HashCode>
<FileName>STPClient.cs</FileName>
</TypeIdentifier>
<ShowAsAssociation>
<Property Name="Server" />
</ShowAsAssociation>
<ShowAsCollectionAssociation>
<Field Name="_servers" />
<Property Name="ListServers" />
</ShowAsCollectionAssociation>
</Class>
<Class Name="DataClient.FileClient">
<Position X="2.5" Y="6.25" Width="1.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAA=</HashCode>
<FileName>FileClient.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.ByteConverter">
<Position X="6.75" Y="3" Width="3.25" />
<TypeIdentifier>
<HashCode>AgAAAIAAAEAAAAAAAAAACAAAAAAAAAAAAAAAAAAAAAA=</HashCode>
<FileName>ByteConverter.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.Analog">
<Position X="2.5" Y="4.75" Width="1.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAAAAAAAAAAAAACAAAAAAAQAAAAA=</HashCode>
<FileName>Struct\Analog.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.NetStatus">
<Position X="0.5" Y="4.75" Width="1.75" />
<Compartments>
<Compartment Name="Nested Types" Collapsed="false" />
</Compartments>
<NestedTypes>
<Enum Name="DataClient.Struct.NetStatus.Status">
<TypeIdentifier>
<NewMemberFileName>Struct\Struct.cs</NewMemberFileName>
</TypeIdentifier>
</Enum>
</NestedTypes>
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAAAAAAIAAAAAAAAAAAgAAACAAAAAAAAA=</HashCode>
<FileName>Struct\Struct.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.TechCycle">
<Position X="7" Y="5.25" Width="2.75" />
<TypeIdentifier>
<HashCode>AAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAEAAAAAAAA=</HashCode>
<FileName>Struct\TechCycle.cs</FileName>
</TypeIdentifier>
</Class>
<Class Name="DataClient.Struct.TechCyclesParams">
<Position X="4.5" Y="5" Width="2.25" />
<TypeIdentifier>
<HashCode>AAAAgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAgAAAAAA=</HashCode>
<FileName>Struct\TechCycleParams.cs</FileName>
</TypeIdentifier>
</Class>
<Struct Name="DataClient.Struct.server">
<Position X="6.75" Y="0.5" Width="3.25" />
<TypeIdentifier>
<HashCode>AAAAAAAAACAAAAAAAAAAAAAAAAAEAAgAAAAgAAAAAAA=</HashCode>
<FileName>Struct\Struct.cs</FileName>
</TypeIdentifier>
</Struct>
<Font Name="Segoe UI" Size="9" />
</ClassDiagram>

View File

@@ -8,34 +8,7 @@ namespace DataClient.Struct
{
public class TechCycle
{
public enum Oper : sbyte
{
errno = sbyte.MinValue,
end_cycle_manual = -1,
end_cycle = 0,
unload_load = 1,
vac_priv = 2,
priv = 5,
cool_priv = 6,
look_priv = 7,
vac_plav = 8,
melt_bath = 9,
plav = 10,
VUR = 11,
cool_plav = 12,
unload_kit = 13,
vac_oplav = 14,
oplav = 15,
cool_oplav = 16,
flow_metal = 17,
check_protect = 25
}
public DateTime start;
public sbyte? index;
public Oper Operation {
get { return (index.HasValue && Enum.IsDefined(typeof(Oper), index.Value)) ? (Oper)index : Oper.errno; }
set { index = (sbyte)value; }
}
public DateTime StartDateTime { get; set; }
public sbyte? Index { get; set; }
}
}

View File

@@ -0,0 +1,20 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataClient.Struct
{
public class TechCyclesParams
{
public sbyte[] Index { get; set; }
public string[] Colors { get; set; }
public string[] Names { get; set; }
public TechCyclesParams()
{
}
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DataClient.Struct
{
public class TechCycles
{
public DateTime StartDateTime { get; set; }
public sbyte? Index { get; set; }
}
}

View File

@@ -74,7 +74,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.300\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.201\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -7,7 +7,7 @@
<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>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.10.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.11.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Admin\.nuget\packages\" />

View File

@@ -1 +1 @@
dd97bd7f2ddb5e6bfbcd5e8344f0cae7dc566df2
f748f4988e8b501940eb9e6565732f937ded3bd0

View File

@@ -20,7 +20,6 @@ F:\GIT\ASCKU_PC\DataClient\bin\Debug\net5.0\DataClient.dll
F:\GIT\ASCKU_PC\DataClient\bin\Debug\net5.0\ref\DataClient.dll
F:\GIT\ASCKU_PC\DataClient\bin\Debug\net5.0\DataClient.pdb
F:\GIT\ASCKU_PC\DataClient\bin\Debug\net5.0\DataClient.xml
F:\GIT\ASCKU_PC\DataClient\obj\Debug\net5.0\DataClient.csproj.AssemblyReference.cache
F:\GIT\ASCKU_PC\DataClient\obj\Debug\net5.0\DataClient.GeneratedMSBuildEditorConfig.editorconfig
F:\GIT\ASCKU_PC\DataClient\obj\Debug\net5.0\DataClient.AssemblyInfoInputs.cache
F:\GIT\ASCKU_PC\DataClient\obj\Debug\net5.0\DataClient.AssemblyInfo.cs

View File

@@ -3,6 +3,8 @@ build_property.TargetFramework = net5.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.PublishSingleFile =
build_property.IncludeAllContentForSelfExtract =
build_property._SupportedPlatformList = Android,iOS,Linux,macOS,Windows
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = DataClient
build_property.ProjectDir = F:\GIT\ASCKU_PC\DataClient\

View File

@@ -1 +1 @@
85eae5e91d48b2b6604876303fc37a94b53d66ee
7981c22a0647261d92af6b144cbd8cd93e91915b

View File

@@ -18,7 +18,6 @@ F:\GIT\ASCKU_PC\DataClient\bin\Release\net5.0\DataClient.deps.json
F:\GIT\ASCKU_PC\DataClient\bin\Release\net5.0\DataClient.dll
F:\GIT\ASCKU_PC\DataClient\bin\Release\net5.0\ref\DataClient.dll
F:\GIT\ASCKU_PC\DataClient\bin\Release\net5.0\DataClient.pdb
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.csproj.AssemblyReference.cache
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.GeneratedMSBuildEditorConfig.editorconfig
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.AssemblyInfoInputs.cache
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.AssemblyInfo.cs
@@ -26,3 +25,4 @@ F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.csproj.CoreCompileInput
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.dll
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\ref\DataClient.dll
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.pdb
F:\GIT\ASCKU_PC\DataClient\obj\Release\net5.0\DataClient.csproj.AssemblyReference.cache

View File

@@ -435,7 +435,7 @@
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.300\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.201\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,6 +1,6 @@
{
"version": 2,
"dgSpecHash": "lCVOnkDSpCDkY6mFU39PPTK/8UioIwkzLSm5l9U0BI9kmvrQU3GBEeKlZLkvo3I3Vmgv8BfwOMFxbII4ikrnzA==",
"dgSpecHash": "0RhodP/lxgO9Rqo63kX24KtRh4luItLPyJjTY8wHfjSUMTSTT7J5Np+z1myWzh9AARikCjzF21sdzNhR8ewAXg==",
"success": true,
"projectFilePath": "F:\\GIT\\ASCKU_PC\\DataClient\\DataClient.csproj",
"expectedPackageFiles": [