mirror of
https://gitee.com/farsunset/cim.git
synced 2025-06-17 15:45:24 +08:00
fix
This commit is contained in:
parent
bf9b2860df
commit
35762f5ec9
Binary file not shown.
BIN
cim-client-sdk/cim-dotnet-sdk/.vs/CIM_SDK/v16/.suo
Normal file
BIN
cim-client-sdk/cim-dotnet-sdk/.vs/CIM_SDK/v16/.suo
Normal file
Binary file not shown.
31
cim-client-sdk/cim-dotnet-sdk/CIM_SDK.sln
Normal file
31
cim-client-sdk/cim-dotnet-sdk/CIM_SDK.sln
Normal file
@ -0,0 +1,31 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 16
|
||||
VisualStudioVersion = 16.0.31313.79
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CIM_Standard", "CIM_Standard\CIM_Standard.csproj", "{7CF35A93-CD9E-4A34-8B79-6835E4523BF7}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CIM_SDK_Tests", "CIM_SDK_Tests\CIM_SDK_Tests.csproj", "{372F9F86-C3E8-49B7-A434-09E95BF42F84}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{7CF35A93-CD9E-4A34-8B79-6835E4523BF7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{7CF35A93-CD9E-4A34-8B79-6835E4523BF7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{7CF35A93-CD9E-4A34-8B79-6835E4523BF7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{7CF35A93-CD9E-4A34-8B79-6835E4523BF7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{372F9F86-C3E8-49B7-A434-09E95BF42F84}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{372F9F86-C3E8-49B7-A434-09E95BF42F84}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{372F9F86-C3E8-49B7-A434-09E95BF42F84}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{372F9F86-C3E8-49B7-A434-09E95BF42F84}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {48F81742-18F6-4EE4-9390-12A19B39B0D7}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
@ -0,0 +1,12 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>netcoreapp3.1</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\CIM_Standard\CIM_Standard.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
53
cim-client-sdk/cim-dotnet-sdk/CIM_SDK_Tests/Program.cs
Normal file
53
cim-client-sdk/cim-dotnet-sdk/CIM_SDK_Tests/Program.cs
Normal file
@ -0,0 +1,53 @@
|
||||
using CIM_Standard;
|
||||
using Google.Protobuf;
|
||||
using System;
|
||||
using System.Net.Sockets;
|
||||
using static CIM_Standard.SocketHelper;
|
||||
|
||||
namespace CIM_SDK_Tests
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
Console.WriteLine("-------------应用启动中-------------");
|
||||
CIMConnect("192.168.10.133",23456,ReceiveMessage).Wait();
|
||||
}
|
||||
|
||||
public static void ReceiveMessage()
|
||||
{
|
||||
NetworkStream networkStream = client.GetStream();
|
||||
while (true)
|
||||
{
|
||||
byte[] buffer = new byte[3];
|
||||
networkStream.Read(buffer, 0, buffer.Length);
|
||||
int l = (buffer[1] & 0xff);
|
||||
int h = (buffer[2] & 0xff);
|
||||
int length = (l | h << 8);
|
||||
if (buffer[0] == PING_TYPE)
|
||||
{
|
||||
byte[] msg = new byte[length];
|
||||
networkStream.Read(msg, 0, msg.Length);
|
||||
Pong().Wait();
|
||||
}
|
||||
else if (buffer[0] == REPLY_BODY)
|
||||
{
|
||||
byte[] msg = new byte[length];
|
||||
networkStream.Read(msg, 0, msg.Length);
|
||||
ReplyBodyModel model = new ReplyBodyModel();
|
||||
model.MergeFrom(msg);
|
||||
Console.WriteLine(model.Key);
|
||||
}
|
||||
else if (buffer[0] == MESSAGE_TYPE)
|
||||
{
|
||||
byte[] msg = new byte[length];
|
||||
networkStream.Read(msg, 0, msg.Length);
|
||||
MessageModel model = new MessageModel();
|
||||
model.MergeFrom(msg);
|
||||
Console.WriteLine(model.Content);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,74 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v3.1",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v3.1": {
|
||||
"CIM_SDK_Tests/1.0.0": {
|
||||
"dependencies": {
|
||||
"CIM_Standard": "1.0.0"
|
||||
},
|
||||
"runtime": {
|
||||
"CIM_SDK_Tests.dll": {}
|
||||
}
|
||||
},
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"dependencies": {
|
||||
"System.Memory": "4.5.3",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {
|
||||
"assemblyVersion": "3.19.1.0",
|
||||
"fileVersion": "3.19.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Memory/4.5.3": {},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {},
|
||||
"CIM_Standard/1.0.0": {
|
||||
"dependencies": {
|
||||
"Google.Protobuf": "3.19.1"
|
||||
},
|
||||
"runtime": {
|
||||
"CIM_Standard.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"CIM_SDK_Tests/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-M6yun2BPdHkBjD3V14muZSt72azWHRJEx88ME2TyyH2+/ww6R3hIptjBFQQtO6pmkfLXW/NGQ4hADWSa9AmK2A==",
|
||||
"path": "google.protobuf/3.19.1",
|
||||
"hashPath": "google.protobuf.3.19.1.nupkg.sha512"
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
|
||||
"path": "system.memory/4.5.3",
|
||||
"hashPath": "system.memory.4.5.3.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.5.2",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
||||
},
|
||||
"CIM_Standard/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,10 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\smeb\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\smeb\\.nuget\\packages",
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet"
|
||||
]
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "netcoreapp3.1",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "3.1.0"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,139 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj",
|
||||
"projectName": "CIM_SDK_Tests",
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj",
|
||||
"packagesPath": "C:\\Users\\smeb\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\smeb\\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": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
"targetAlias": "netcoreapp3.1",
|
||||
"projectReferences": {
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj": {
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
"targetAlias": "netcoreapp3.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.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
},
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"projectName": "CIM_Standard",
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"packagesPath": "C:\\Users\\smeb\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\smeb\\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": [
|
||||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
"targetAlias": "netstandard2.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
"targetAlias": "netstandard2.0",
|
||||
"dependencies": {
|
||||
"Google.Protobuf": {
|
||||
"target": "Package",
|
||||
"version": "[3.19.1, )"
|
||||
},
|
||||
"NETStandard.Library": {
|
||||
"suppressParent": "All",
|
||||
"target": "Package",
|
||||
"version": "[2.0.3, )",
|
||||
"autoReferenced": true
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<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\smeb\.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.9.1</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\smeb\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
|
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("CIM_SDK_Tests")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("CIM_SDK_Tests")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("CIM_SDK_Tests")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
@ -0,0 +1 @@
|
||||
43b12813ced9e02e5719303093f7b8ba6c6bf070
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
d78c082c3dc7637e9e44833a0f67a1c78943c384
|
@ -0,0 +1,17 @@
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.csprojAssemblyReference.cache
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.AssemblyInfoInputs.cache
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.AssemblyInfo.cs
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.csproj.CoreCompileInputs.cache
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_SDK_Tests.exe
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_SDK_Tests.deps.json
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_SDK_Tests.runtimeconfig.json
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_SDK_Tests.runtimeconfig.dev.json
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_SDK_Tests.dll
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_SDK_Tests.pdb
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\Google.Protobuf.dll
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_Standard.dll
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\bin\Debug\netcoreapp3.1\CIM_Standard.pdb
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.csproj.CopyComplete
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.dll
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.pdb
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_SDK_Tests\obj\Debug\netcoreapp3.1\CIM_SDK_Tests.genruntimeconfig.cache
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1 @@
|
||||
5e8a804079a130513afe03f6e4163a6c4841e4da
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,201 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v3.1": {
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"System.Memory": "4.5.3",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"compile": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {}
|
||||
}
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netcoreapp2.1/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp2.1/_._": {}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
|
||||
}
|
||||
},
|
||||
"CIM_Standard/1.0.0": {
|
||||
"type": "project",
|
||||
"framework": ".NETStandard,Version=v2.0",
|
||||
"dependencies": {
|
||||
"Google.Protobuf": "3.19.1"
|
||||
},
|
||||
"compile": {
|
||||
"bin/placeholder/CIM_Standard.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"bin/placeholder/CIM_Standard.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"sha512": "M6yun2BPdHkBjD3V14muZSt72azWHRJEx88ME2TyyH2+/ww6R3hIptjBFQQtO6pmkfLXW/NGQ4hADWSa9AmK2A==",
|
||||
"type": "package",
|
||||
"path": "google.protobuf/3.19.1",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"google.protobuf.3.19.1.nupkg.sha512",
|
||||
"google.protobuf.nuspec",
|
||||
"lib/net45/Google.Protobuf.dll",
|
||||
"lib/net45/Google.Protobuf.pdb",
|
||||
"lib/net45/Google.Protobuf.xml",
|
||||
"lib/net5.0/Google.Protobuf.dll",
|
||||
"lib/net5.0/Google.Protobuf.pdb",
|
||||
"lib/net5.0/Google.Protobuf.xml",
|
||||
"lib/netstandard1.1/Google.Protobuf.dll",
|
||||
"lib/netstandard1.1/Google.Protobuf.pdb",
|
||||
"lib/netstandard1.1/Google.Protobuf.xml",
|
||||
"lib/netstandard2.0/Google.Protobuf.dll",
|
||||
"lib/netstandard2.0/Google.Protobuf.pdb",
|
||||
"lib/netstandard2.0/Google.Protobuf.xml"
|
||||
]
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"sha512": "3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
|
||||
"type": "package",
|
||||
"path": "system.memory/4.5.3",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netcoreapp2.1/_._",
|
||||
"lib/netstandard1.1/System.Memory.dll",
|
||||
"lib/netstandard1.1/System.Memory.xml",
|
||||
"lib/netstandard2.0/System.Memory.dll",
|
||||
"lib/netstandard2.0/System.Memory.xml",
|
||||
"ref/netcoreapp2.1/_._",
|
||||
"system.memory.4.5.3.nupkg.sha512",
|
||||
"system.memory.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"sha512": "wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==",
|
||||
"type": "package",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.5.2",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512",
|
||||
"system.runtime.compilerservices.unsafe.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"CIM_Standard/1.0.0": {
|
||||
"type": "project",
|
||||
"path": "../CIM_Standard/CIM_Standard.csproj",
|
||||
"msbuildProject": "../CIM_Standard/CIM_Standard.csproj"
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
".NETCoreApp,Version=v3.1": [
|
||||
"CIM_Standard >= 1.0.0"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj",
|
||||
"projectName": "CIM_SDK_Tests",
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj",
|
||||
"packagesPath": "C:\\Users\\smeb\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\smeb\\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": [
|
||||
"netcoreapp3.1"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
"targetAlias": "netcoreapp3.1",
|
||||
"projectReferences": {
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj": {
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"netcoreapp3.1": {
|
||||
"targetAlias": "netcoreapp3.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.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "0Yi79qmwre4UmWBoQKgRxXGDZLg9pGIebCuu+93E0q2gBmjEeCYjaeom7TowPRX8AX/6aEE/b3+RE/TWTsiung==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_SDK_Tests\\CIM_SDK_Tests.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\google.protobuf\\3.19.1\\google.protobuf.3.19.1.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\system.memory\\4.5.3\\system.memory.4.5.3.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.2\\system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
@ -0,0 +1,15 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<TargetFramework>netstandard2.0</TargetFramework>
|
||||
</PropertyGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<Folder Include="Protobuf\" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<PackageReference Include="Google.Protobuf" Version="3.19.1" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
527
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/Protobuf/Message.cs
Normal file
527
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/Protobuf/Message.cs
Normal file
@ -0,0 +1,527 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: Message.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
/// <summary>Holder for reflection information generated from Message.proto</summary>
|
||||
public static partial class MessageReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for Message.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static MessageReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cg1NZXNzYWdlLnByb3RvIpcBCgVNb2RlbBIKCgJpZBgBIAEoAxIOCgZhY3Rp",
|
||||
"b24YAiABKAkSDwoHY29udGVudBgDIAEoCRIOCgZzZW5kZXIYBCABKAkSEAoI",
|
||||
"cmVjZWl2ZXIYBSABKAkSDQoFZXh0cmEYBiABKAkSDQoFdGl0bGUYByABKAkS",
|
||||
"DgoGZm9ybWF0GAggASgJEhEKCXRpbWVzdGFtcBgJIAEoA2IGcHJvdG8z"));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::MessageModel), global::MessageModel.Parser, new[]{ "Id", "Action", "Content", "Sender", "Receiver", "Extra", "Title", "Format", "Timestamp" }, null, null, null, null)
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class MessageModel : pb::IMessage<MessageModel>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<MessageModel> _parser = new pb::MessageParser<MessageModel>(() => new MessageModel());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<MessageModel> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::MessageReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MessageModel() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MessageModel(MessageModel other) : this() {
|
||||
id_ = other.id_;
|
||||
action_ = other.action_;
|
||||
content_ = other.content_;
|
||||
sender_ = other.sender_;
|
||||
receiver_ = other.receiver_;
|
||||
extra_ = other.extra_;
|
||||
title_ = other.title_;
|
||||
format_ = other.format_;
|
||||
timestamp_ = other.timestamp_;
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public MessageModel Clone() {
|
||||
return new MessageModel(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "id" field.</summary>
|
||||
public const int IdFieldNumber = 1;
|
||||
private long id_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long Id {
|
||||
get { return id_; }
|
||||
set {
|
||||
id_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "action" field.</summary>
|
||||
public const int ActionFieldNumber = 2;
|
||||
private string action_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Action {
|
||||
get { return action_; }
|
||||
set {
|
||||
action_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "content" field.</summary>
|
||||
public const int ContentFieldNumber = 3;
|
||||
private string content_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Content {
|
||||
get { return content_; }
|
||||
set {
|
||||
content_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "sender" field.</summary>
|
||||
public const int SenderFieldNumber = 4;
|
||||
private string sender_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Sender {
|
||||
get { return sender_; }
|
||||
set {
|
||||
sender_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "receiver" field.</summary>
|
||||
public const int ReceiverFieldNumber = 5;
|
||||
private string receiver_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Receiver {
|
||||
get { return receiver_; }
|
||||
set {
|
||||
receiver_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "extra" field.</summary>
|
||||
public const int ExtraFieldNumber = 6;
|
||||
private string extra_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Extra {
|
||||
get { return extra_; }
|
||||
set {
|
||||
extra_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "title" field.</summary>
|
||||
public const int TitleFieldNumber = 7;
|
||||
private string title_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Title {
|
||||
get { return title_; }
|
||||
set {
|
||||
title_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "format" field.</summary>
|
||||
public const int FormatFieldNumber = 8;
|
||||
private string format_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Format {
|
||||
get { return format_; }
|
||||
set {
|
||||
format_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "timestamp" field.</summary>
|
||||
public const int TimestampFieldNumber = 9;
|
||||
private long timestamp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long Timestamp {
|
||||
get { return timestamp_; }
|
||||
set {
|
||||
timestamp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as MessageModel);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(MessageModel other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Id != other.Id) return false;
|
||||
if (Action != other.Action) return false;
|
||||
if (Content != other.Content) return false;
|
||||
if (Sender != other.Sender) return false;
|
||||
if (Receiver != other.Receiver) return false;
|
||||
if (Extra != other.Extra) return false;
|
||||
if (Title != other.Title) return false;
|
||||
if (Format != other.Format) return false;
|
||||
if (Timestamp != other.Timestamp) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Id != 0L) hash ^= Id.GetHashCode();
|
||||
if (Action.Length != 0) hash ^= Action.GetHashCode();
|
||||
if (Content.Length != 0) hash ^= Content.GetHashCode();
|
||||
if (Sender.Length != 0) hash ^= Sender.GetHashCode();
|
||||
if (Receiver.Length != 0) hash ^= Receiver.GetHashCode();
|
||||
if (Extra.Length != 0) hash ^= Extra.GetHashCode();
|
||||
if (Title.Length != 0) hash ^= Title.GetHashCode();
|
||||
if (Format.Length != 0) hash ^= Format.GetHashCode();
|
||||
if (Timestamp != 0L) hash ^= Timestamp.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Id != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(Id);
|
||||
}
|
||||
if (Action.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Action);
|
||||
}
|
||||
if (Content.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Content);
|
||||
}
|
||||
if (Sender.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Sender);
|
||||
}
|
||||
if (Receiver.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Receiver);
|
||||
}
|
||||
if (Extra.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(Extra);
|
||||
}
|
||||
if (Title.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(Title);
|
||||
}
|
||||
if (Format.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(Format);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt64(Timestamp);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Id != 0L) {
|
||||
output.WriteRawTag(8);
|
||||
output.WriteInt64(Id);
|
||||
}
|
||||
if (Action.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Action);
|
||||
}
|
||||
if (Content.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Content);
|
||||
}
|
||||
if (Sender.Length != 0) {
|
||||
output.WriteRawTag(34);
|
||||
output.WriteString(Sender);
|
||||
}
|
||||
if (Receiver.Length != 0) {
|
||||
output.WriteRawTag(42);
|
||||
output.WriteString(Receiver);
|
||||
}
|
||||
if (Extra.Length != 0) {
|
||||
output.WriteRawTag(50);
|
||||
output.WriteString(Extra);
|
||||
}
|
||||
if (Title.Length != 0) {
|
||||
output.WriteRawTag(58);
|
||||
output.WriteString(Title);
|
||||
}
|
||||
if (Format.Length != 0) {
|
||||
output.WriteRawTag(66);
|
||||
output.WriteString(Format);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
output.WriteRawTag(72);
|
||||
output.WriteInt64(Timestamp);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Id != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Id);
|
||||
}
|
||||
if (Action.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Action);
|
||||
}
|
||||
if (Content.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Content);
|
||||
}
|
||||
if (Sender.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Sender);
|
||||
}
|
||||
if (Receiver.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Receiver);
|
||||
}
|
||||
if (Extra.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Extra);
|
||||
}
|
||||
if (Title.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Title);
|
||||
}
|
||||
if (Format.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Format);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp);
|
||||
}
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(MessageModel other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Id != 0L) {
|
||||
Id = other.Id;
|
||||
}
|
||||
if (other.Action.Length != 0) {
|
||||
Action = other.Action;
|
||||
}
|
||||
if (other.Content.Length != 0) {
|
||||
Content = other.Content;
|
||||
}
|
||||
if (other.Sender.Length != 0) {
|
||||
Sender = other.Sender;
|
||||
}
|
||||
if (other.Receiver.Length != 0) {
|
||||
Receiver = other.Receiver;
|
||||
}
|
||||
if (other.Extra.Length != 0) {
|
||||
Extra = other.Extra;
|
||||
}
|
||||
if (other.Title.Length != 0) {
|
||||
Title = other.Title;
|
||||
}
|
||||
if (other.Format.Length != 0) {
|
||||
Format = other.Format;
|
||||
}
|
||||
if (other.Timestamp != 0L) {
|
||||
Timestamp = other.Timestamp;
|
||||
}
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Action = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Content = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Sender = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Receiver = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
Extra = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
Title = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
Format = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
Timestamp = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 8: {
|
||||
Id = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Action = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Content = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 34: {
|
||||
Sender = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
Receiver = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 50: {
|
||||
Extra = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 58: {
|
||||
Title = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 66: {
|
||||
Format = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 72: {
|
||||
Timestamp = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#endregion Designer generated code
|
368
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/Protobuf/ReplyBody.cs
Normal file
368
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/Protobuf/ReplyBody.cs
Normal file
@ -0,0 +1,368 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: ReplyBody.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
/// <summary>Holder for reflection information generated from ReplyBody.proto</summary>
|
||||
public static partial class ReplyBodyReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for ReplyBody.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static ReplyBodyReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cg9SZXBseUJvZHkucHJvdG8ikwEKBU1vZGVsEgsKA2tleRgBIAEoCRIMCgRj",
|
||||
"b2RlGAIgASgJEg8KB21lc3NhZ2UYAyABKAkSEQoJdGltZXN0YW1wGAQgASgD",
|
||||
"Eh4KBGRhdGEYBSADKAsyEC5Nb2RlbC5EYXRhRW50cnkaKwoJRGF0YUVudHJ5",
|
||||
"EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAFiBnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::ReplyBodyModel), global::ReplyBodyModel.Parser, new[]{ "Key", "Code", "Message", "Timestamp", "Data" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class ReplyBodyModel : pb::IMessage<ReplyBodyModel>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<ReplyBodyModel> _parser = new pb::MessageParser<ReplyBodyModel>(() => new ReplyBodyModel());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<ReplyBodyModel> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::ReplyBodyReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ReplyBodyModel() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ReplyBodyModel(ReplyBodyModel other) : this() {
|
||||
key_ = other.key_;
|
||||
code_ = other.code_;
|
||||
message_ = other.message_;
|
||||
timestamp_ = other.timestamp_;
|
||||
data_ = other.data_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public ReplyBodyModel Clone() {
|
||||
return new ReplyBodyModel(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "key" field.</summary>
|
||||
public const int KeyFieldNumber = 1;
|
||||
private string key_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Key {
|
||||
get { return key_; }
|
||||
set {
|
||||
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "code" field.</summary>
|
||||
public const int CodeFieldNumber = 2;
|
||||
private string code_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Code {
|
||||
get { return code_; }
|
||||
set {
|
||||
code_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "message" field.</summary>
|
||||
public const int MessageFieldNumber = 3;
|
||||
private string message_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Message {
|
||||
get { return message_; }
|
||||
set {
|
||||
message_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "timestamp" field.</summary>
|
||||
public const int TimestampFieldNumber = 4;
|
||||
private long timestamp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long Timestamp {
|
||||
get { return timestamp_; }
|
||||
set {
|
||||
timestamp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "data" field.</summary>
|
||||
public const int DataFieldNumber = 5;
|
||||
private static readonly pbc::MapField<string, string>.Codec _map_data_codec
|
||||
= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 42);
|
||||
private readonly pbc::MapField<string, string> data_ = new pbc::MapField<string, string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::MapField<string, string> Data {
|
||||
get { return data_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as ReplyBodyModel);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(ReplyBodyModel other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Key != other.Key) return false;
|
||||
if (Code != other.Code) return false;
|
||||
if (Message != other.Message) return false;
|
||||
if (Timestamp != other.Timestamp) return false;
|
||||
if (!Data.Equals(other.Data)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Key.Length != 0) hash ^= Key.GetHashCode();
|
||||
if (Code.Length != 0) hash ^= Code.GetHashCode();
|
||||
if (Message.Length != 0) hash ^= Message.GetHashCode();
|
||||
if (Timestamp != 0L) hash ^= Timestamp.GetHashCode();
|
||||
hash ^= Data.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Key.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (Code.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Code);
|
||||
}
|
||||
if (Message.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Message);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt64(Timestamp);
|
||||
}
|
||||
data_.WriteTo(output, _map_data_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Key.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (Code.Length != 0) {
|
||||
output.WriteRawTag(18);
|
||||
output.WriteString(Code);
|
||||
}
|
||||
if (Message.Length != 0) {
|
||||
output.WriteRawTag(26);
|
||||
output.WriteString(Message);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
output.WriteRawTag(32);
|
||||
output.WriteInt64(Timestamp);
|
||||
}
|
||||
data_.WriteTo(ref output, _map_data_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Key.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
|
||||
}
|
||||
if (Code.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Code);
|
||||
}
|
||||
if (Message.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Message);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp);
|
||||
}
|
||||
size += data_.CalculateSize(_map_data_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(ReplyBodyModel other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Key.Length != 0) {
|
||||
Key = other.Key;
|
||||
}
|
||||
if (other.Code.Length != 0) {
|
||||
Code = other.Code;
|
||||
}
|
||||
if (other.Message.Length != 0) {
|
||||
Message = other.Message;
|
||||
}
|
||||
if (other.Timestamp != 0L) {
|
||||
Timestamp = other.Timestamp;
|
||||
}
|
||||
data_.Add(other.data_);
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Code = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Message = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Timestamp = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
data_.AddEntriesFrom(input, _map_data_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 18: {
|
||||
Code = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
Message = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 32: {
|
||||
Timestamp = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 42: {
|
||||
data_.AddEntriesFrom(ref input, _map_data_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#endregion Designer generated code
|
294
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/Protobuf/SentBody.cs
Normal file
294
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/Protobuf/SentBody.cs
Normal file
@ -0,0 +1,294 @@
|
||||
// <auto-generated>
|
||||
// Generated by the protocol buffer compiler. DO NOT EDIT!
|
||||
// source: SentBody.proto
|
||||
// </auto-generated>
|
||||
#pragma warning disable 1591, 0612, 3021
|
||||
#region Designer generated code
|
||||
|
||||
using pb = global::Google.Protobuf;
|
||||
using pbc = global::Google.Protobuf.Collections;
|
||||
using pbr = global::Google.Protobuf.Reflection;
|
||||
using scg = global::System.Collections.Generic;
|
||||
/// <summary>Holder for reflection information generated from SentBody.proto</summary>
|
||||
public static partial class SentBodyReflection {
|
||||
|
||||
#region Descriptor
|
||||
/// <summary>File descriptor for SentBody.proto</summary>
|
||||
public static pbr::FileDescriptor Descriptor {
|
||||
get { return descriptor; }
|
||||
}
|
||||
private static pbr::FileDescriptor descriptor;
|
||||
|
||||
static SentBodyReflection() {
|
||||
byte[] descriptorData = global::System.Convert.FromBase64String(
|
||||
string.Concat(
|
||||
"Cg5TZW50Qm9keS5wcm90byJ0CgVNb2RlbBILCgNrZXkYASABKAkSEQoJdGlt",
|
||||
"ZXN0YW1wGAIgASgDEh4KBGRhdGEYAyADKAsyEC5Nb2RlbC5EYXRhRW50cnka",
|
||||
"KwoJRGF0YUVudHJ5EgsKA2tleRgBIAEoCRINCgV2YWx1ZRgCIAEoCToCOAFi",
|
||||
"BnByb3RvMw=="));
|
||||
descriptor = pbr::FileDescriptor.FromGeneratedCode(descriptorData,
|
||||
new pbr::FileDescriptor[] { },
|
||||
new pbr::GeneratedClrTypeInfo(null, null, new pbr::GeneratedClrTypeInfo[] {
|
||||
new pbr::GeneratedClrTypeInfo(typeof(global::SentBodyModel), global::SentBodyModel.Parser, new[]{ "Key", "Timestamp", "Data" }, null, null, null, new pbr::GeneratedClrTypeInfo[] { null, })
|
||||
}));
|
||||
}
|
||||
#endregion
|
||||
|
||||
}
|
||||
#region Messages
|
||||
public sealed partial class SentBodyModel : pb::IMessage<SentBodyModel>
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
, pb::IBufferMessage
|
||||
#endif
|
||||
{
|
||||
private static readonly pb::MessageParser<SentBodyModel> _parser = new pb::MessageParser<SentBodyModel>(() => new SentBodyModel());
|
||||
private pb::UnknownFieldSet _unknownFields;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pb::MessageParser<SentBodyModel> Parser { get { return _parser; } }
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public static pbr::MessageDescriptor Descriptor {
|
||||
get { return global::SentBodyReflection.Descriptor.MessageTypes[0]; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
pbr::MessageDescriptor pb::IMessage.Descriptor {
|
||||
get { return Descriptor; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SentBodyModel() {
|
||||
OnConstruction();
|
||||
}
|
||||
|
||||
partial void OnConstruction();
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SentBodyModel(SentBodyModel other) : this() {
|
||||
key_ = other.key_;
|
||||
timestamp_ = other.timestamp_;
|
||||
data_ = other.data_.Clone();
|
||||
_unknownFields = pb::UnknownFieldSet.Clone(other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public SentBodyModel Clone() {
|
||||
return new SentBodyModel(this);
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "key" field.</summary>
|
||||
public const int KeyFieldNumber = 1;
|
||||
private string key_ = "";
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public string Key {
|
||||
get { return key_; }
|
||||
set {
|
||||
key_ = pb::ProtoPreconditions.CheckNotNull(value, "value");
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "timestamp" field.</summary>
|
||||
public const int TimestampFieldNumber = 2;
|
||||
private long timestamp_;
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public long Timestamp {
|
||||
get { return timestamp_; }
|
||||
set {
|
||||
timestamp_ = value;
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>Field number for the "data" field.</summary>
|
||||
public const int DataFieldNumber = 3;
|
||||
private static readonly pbc::MapField<string, string>.Codec _map_data_codec
|
||||
= new pbc::MapField<string, string>.Codec(pb::FieldCodec.ForString(10, ""), pb::FieldCodec.ForString(18, ""), 26);
|
||||
private readonly pbc::MapField<string, string> data_ = new pbc::MapField<string, string>();
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public pbc::MapField<string, string> Data {
|
||||
get { return data_; }
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override bool Equals(object other) {
|
||||
return Equals(other as SentBodyModel);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public bool Equals(SentBodyModel other) {
|
||||
if (ReferenceEquals(other, null)) {
|
||||
return false;
|
||||
}
|
||||
if (ReferenceEquals(other, this)) {
|
||||
return true;
|
||||
}
|
||||
if (Key != other.Key) return false;
|
||||
if (Timestamp != other.Timestamp) return false;
|
||||
if (!Data.Equals(other.Data)) return false;
|
||||
return Equals(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override int GetHashCode() {
|
||||
int hash = 1;
|
||||
if (Key.Length != 0) hash ^= Key.GetHashCode();
|
||||
if (Timestamp != 0L) hash ^= Timestamp.GetHashCode();
|
||||
hash ^= Data.GetHashCode();
|
||||
if (_unknownFields != null) {
|
||||
hash ^= _unknownFields.GetHashCode();
|
||||
}
|
||||
return hash;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public override string ToString() {
|
||||
return pb::JsonFormatter.ToDiagnosticString(this);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void WriteTo(pb::CodedOutputStream output) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
output.WriteRawMessage(this);
|
||||
#else
|
||||
if (Key.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt64(Timestamp);
|
||||
}
|
||||
data_.WriteTo(output, _map_data_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(output);
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalWriteTo(ref pb::WriteContext output) {
|
||||
if (Key.Length != 0) {
|
||||
output.WriteRawTag(10);
|
||||
output.WriteString(Key);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
output.WriteRawTag(16);
|
||||
output.WriteInt64(Timestamp);
|
||||
}
|
||||
data_.WriteTo(ref output, _map_data_codec);
|
||||
if (_unknownFields != null) {
|
||||
_unknownFields.WriteTo(ref output);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public int CalculateSize() {
|
||||
int size = 0;
|
||||
if (Key.Length != 0) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeStringSize(Key);
|
||||
}
|
||||
if (Timestamp != 0L) {
|
||||
size += 1 + pb::CodedOutputStream.ComputeInt64Size(Timestamp);
|
||||
}
|
||||
size += data_.CalculateSize(_map_data_codec);
|
||||
if (_unknownFields != null) {
|
||||
size += _unknownFields.CalculateSize();
|
||||
}
|
||||
return size;
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(SentBodyModel other) {
|
||||
if (other == null) {
|
||||
return;
|
||||
}
|
||||
if (other.Key.Length != 0) {
|
||||
Key = other.Key;
|
||||
}
|
||||
if (other.Timestamp != 0L) {
|
||||
Timestamp = other.Timestamp;
|
||||
}
|
||||
data_.Add(other.data_);
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
|
||||
}
|
||||
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
public void MergeFrom(pb::CodedInputStream input) {
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
input.ReadRawMessage(this);
|
||||
#else
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
|
||||
break;
|
||||
case 10: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Timestamp = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
data_.AddEntriesFrom(input, _map_data_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
#if !GOOGLE_PROTOBUF_REFSTRUCT_COMPATIBILITY_MODE
|
||||
[global::System.Diagnostics.DebuggerNonUserCodeAttribute]
|
||||
[global::System.CodeDom.Compiler.GeneratedCode("protoc", null)]
|
||||
void pb::IBufferMessage.InternalMergeFrom(ref pb::ParseContext input) {
|
||||
uint tag;
|
||||
while ((tag = input.ReadTag()) != 0) {
|
||||
switch(tag) {
|
||||
default:
|
||||
_unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, ref input);
|
||||
break;
|
||||
case 10: {
|
||||
Key = input.ReadString();
|
||||
break;
|
||||
}
|
||||
case 16: {
|
||||
Timestamp = input.ReadInt64();
|
||||
break;
|
||||
}
|
||||
case 26: {
|
||||
data_.AddEntriesFrom(ref input, _map_data_codec);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
#endregion Designer generated code
|
129
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/SocketHelper.cs
Normal file
129
cim-client-sdk/cim-dotnet-sdk/CIM_Standard/SocketHelper.cs
Normal file
@ -0,0 +1,129 @@
|
||||
using Google.Protobuf;
|
||||
using Google.Protobuf.Collections;
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Net;
|
||||
using System.Net.Sockets;
|
||||
using System.Runtime.Serialization;
|
||||
using System.Runtime.Serialization.Formatters.Binary;
|
||||
using System.Threading;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace CIM_Standard
|
||||
{
|
||||
public static class SocketHelper
|
||||
{
|
||||
public static TcpClient client = new TcpClient();
|
||||
|
||||
public const byte PONG = 0;
|
||||
|
||||
public const byte PING_TYPE = 1;
|
||||
|
||||
public const byte MESSAGE_TYPE = 2;
|
||||
|
||||
public const byte SEND_BODY = 3;
|
||||
|
||||
public const byte REPLY_BODY = 4;
|
||||
|
||||
public const int FORCE_LGOUT = 255;
|
||||
|
||||
public const string APP_CHANNEL = "DotNet";
|
||||
|
||||
public const string APP_VERSION = "1.0.0";
|
||||
|
||||
public const string APP_PACKAGE = "com.farsunset.cim";
|
||||
|
||||
public static bool LoginState = false;
|
||||
|
||||
public async static Task CIMConnect(string host,int port,Action action)
|
||||
{
|
||||
|
||||
try
|
||||
{
|
||||
await client.ConnectAsync(host,port);
|
||||
|
||||
|
||||
while (true)
|
||||
{
|
||||
Thread.Sleep(1000);
|
||||
if (client.Connected)
|
||||
{
|
||||
LoginState = true;
|
||||
Console.WriteLine("-------------------开始登录-------------");
|
||||
await SendLoginMessage();
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
await Task.Run(new Action(action));//开启线程,不停接收消息
|
||||
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
public async static Task Pong()
|
||||
{
|
||||
byte[] body = System.Text.Encoding.UTF8.GetBytes("PONG");
|
||||
byte[] header = createLengthHeader(PONG, body.Length);
|
||||
byte[] data = new byte[body.Length + 3];
|
||||
data[0] = header[0];
|
||||
data[1] = header[1];
|
||||
data[2] = header[2];
|
||||
body.CopyTo(data,3);
|
||||
await SendMessage(data);
|
||||
}
|
||||
|
||||
public async static Task SendLoginMessage()
|
||||
{
|
||||
try
|
||||
{
|
||||
long timestamp =Convert.ToInt64 ((DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0)).TotalSeconds);
|
||||
var body = new SentBodyModel();
|
||||
body.Key = "client_bind";
|
||||
body.Timestamp = timestamp;
|
||||
body.Data.Add("uid", "111111111111");
|
||||
body.Data.Add("channel", APP_CHANNEL);
|
||||
body.Data.Add("appVersion", APP_VERSION);
|
||||
body.Data.Add("osVersion", "NetStandard2.0");
|
||||
body.Data.Add("packageName", APP_PACKAGE);
|
||||
body.Data.Add("deviceId", "34519adfsdsfdfdf");
|
||||
body.Data.Add("deviceName", "NetCore3.1");
|
||||
body.Data.Add("language", "Zh_cn");
|
||||
byte[] body_data = body.ToByteArray();
|
||||
byte[] data = new byte[body_data.Length + 3];
|
||||
byte[] header = createLengthHeader(SEND_BODY, body_data.Length);
|
||||
data[0] = header[0];
|
||||
data[1] = header[1];
|
||||
data[2] = header[2];
|
||||
body_data.CopyTo(data, 3);
|
||||
await SendMessage(data);
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine(ex.Message);
|
||||
}
|
||||
}
|
||||
|
||||
private static async Task SendMessage(byte[] bytes)
|
||||
{
|
||||
NetworkStream networkStream = client.GetStream();
|
||||
await networkStream.WriteAsync(bytes, 0, bytes.Length);
|
||||
}
|
||||
|
||||
private static byte[] createLengthHeader(byte type, int length)
|
||||
{
|
||||
byte[] header = new byte[3];
|
||||
header[0] = type;
|
||||
header[1] = (byte)(length & 0xff);
|
||||
header[2] = (byte)((length >> 8) & 0xff);
|
||||
return header;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
}
|
@ -0,0 +1,132 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETStandard,Version=v2.0/",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.0": {},
|
||||
".NETStandard,Version=v2.0/": {
|
||||
"CIM_Standard/1.0.0": {
|
||||
"dependencies": {
|
||||
"Google.Protobuf": "3.19.1",
|
||||
"NETStandard.Library": "2.0.3"
|
||||
},
|
||||
"runtime": {
|
||||
"CIM_Standard.dll": {}
|
||||
}
|
||||
},
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"dependencies": {
|
||||
"System.Memory": "4.5.3",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {
|
||||
"assemblyVersion": "3.19.1.0",
|
||||
"fileVersion": "3.19.1.0"
|
||||
}
|
||||
}
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.1.0"
|
||||
}
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Buffers.dll": {
|
||||
"assemblyVersion": "4.0.2.0",
|
||||
"fileVersion": "4.6.25519.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.4.0",
|
||||
"System.Numerics.Vectors": "4.4.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Memory.dll": {
|
||||
"assemblyVersion": "4.0.1.1",
|
||||
"fileVersion": "4.6.27617.2"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll": {
|
||||
"assemblyVersion": "4.1.3.0",
|
||||
"fileVersion": "4.6.25519.3"
|
||||
}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
|
||||
"assemblyVersion": "4.0.4.1",
|
||||
"fileVersion": "4.6.26919.2"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"CIM_Standard/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
},
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-M6yun2BPdHkBjD3V14muZSt72azWHRJEx88ME2TyyH2+/ww6R3hIptjBFQQtO6pmkfLXW/NGQ4hADWSa9AmK2A==",
|
||||
"path": "google.protobuf/3.19.1",
|
||||
"hashPath": "google.protobuf.3.19.1.nupkg.sha512"
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||
"path": "microsoft.netcore.platforms/1.1.0",
|
||||
"hashPath": "microsoft.netcore.platforms.1.1.0.nupkg.sha512"
|
||||
},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
||||
"path": "netstandard.library/2.0.3",
|
||||
"hashPath": "netstandard.library.2.0.3.nupkg.sha512"
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==",
|
||||
"path": "system.buffers/4.4.0",
|
||||
"hashPath": "system.buffers.4.4.0.nupkg.sha512"
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
|
||||
"path": "system.memory/4.5.3",
|
||||
"hashPath": "system.memory.4.5.3.nupkg.sha512"
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
|
||||
"path": "system.numerics.vectors/4.4.0",
|
||||
"hashPath": "system.numerics.vectors.4.4.0.nupkg.sha512"
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"type": "package",
|
||||
"serviceable": true,
|
||||
"sha512": "sha512-wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.5.2",
|
||||
"hashPath": "system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
||||
}
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -0,0 +1,75 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"projectName": "CIM_Standard",
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"packagesPath": "C:\\Users\\smeb\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\smeb\\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": [
|
||||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
"targetAlias": "netstandard2.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
"targetAlias": "netstandard2.0",
|
||||
"dependencies": {
|
||||
"Google.Protobuf": {
|
||||
"target": "Package",
|
||||
"version": "[3.19.1, )"
|
||||
},
|
||||
"NETStandard.Library": {
|
||||
"suppressParent": "All",
|
||||
"target": "Package",
|
||||
"version": "[2.0.3, )",
|
||||
"autoReferenced": true
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<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\smeb\.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.9.1</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\smeb\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft\Xamarin\NuGet\" />
|
||||
</ItemGroup>
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
</Project>
|
@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup>
|
||||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
|
||||
</PropertyGroup>
|
||||
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<Import Project="$(NuGetPackageRoot)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
|
||||
</ImportGroup>
|
||||
</Project>
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]
|
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// 此代码由工具生成。
|
||||
// 运行时版本:4.0.30319.42000
|
||||
//
|
||||
// 对此文件的更改可能会导致不正确的行为,并且如果
|
||||
// 重新生成代码,这些更改将会丢失。
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("CIM_Standard")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("CIM_Standard")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("CIM_Standard")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// 由 MSBuild WriteCodeFragment 类生成。
|
||||
|
@ -0,0 +1 @@
|
||||
c640ffd6968abc4da51ad107bdf7f65344ac163b
|
Binary file not shown.
@ -0,0 +1 @@
|
||||
4ac43369ce2ba8d4c6d6415c1b6d560187912688
|
@ -0,0 +1,9 @@
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\obj\Debug\netstandard2.0\CIM_Standard.csprojAssemblyReference.cache
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\obj\Debug\netstandard2.0\CIM_Standard.AssemblyInfoInputs.cache
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\obj\Debug\netstandard2.0\CIM_Standard.AssemblyInfo.cs
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\obj\Debug\netstandard2.0\CIM_Standard.csproj.CoreCompileInputs.cache
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\bin\Debug\netstandard2.0\CIM_Standard.deps.json
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\bin\Debug\netstandard2.0\CIM_Standard.dll
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\bin\Debug\netstandard2.0\CIM_Standard.pdb
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\obj\Debug\netstandard2.0\CIM_Standard.dll
|
||||
C:\Users\smeb\Desktop\电小牛V2\CIM_SDK\CIM_Standard\obj\Debug\netstandard2.0\CIM_Standard.pdb
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,446 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
".NETStandard,Version=v2.0": {
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"System.Memory": "4.5.3",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"compile": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/Google.Protobuf.dll": {}
|
||||
}
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"lib/netstandard1.0/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard1.0/_._": {}
|
||||
}
|
||||
},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"Microsoft.NETCore.Platforms": "1.1.0"
|
||||
},
|
||||
"compile": {
|
||||
"lib/netstandard1.0/_._": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard1.0/_._": {}
|
||||
},
|
||||
"build": {
|
||||
"build/netstandard2.0/NETStandard.Library.targets": {}
|
||||
}
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netstandard2.0/System.Buffers.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Buffers.dll": {}
|
||||
}
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"type": "package",
|
||||
"dependencies": {
|
||||
"System.Buffers": "4.4.0",
|
||||
"System.Numerics.Vectors": "4.4.0",
|
||||
"System.Runtime.CompilerServices.Unsafe": "4.5.2"
|
||||
},
|
||||
"compile": {
|
||||
"lib/netstandard2.0/System.Memory.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Memory.dll": {}
|
||||
}
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll": {}
|
||||
}
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"type": "package",
|
||||
"compile": {
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
|
||||
},
|
||||
"runtime": {
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Google.Protobuf/3.19.1": {
|
||||
"sha512": "M6yun2BPdHkBjD3V14muZSt72azWHRJEx88ME2TyyH2+/ww6R3hIptjBFQQtO6pmkfLXW/NGQ4hADWSa9AmK2A==",
|
||||
"type": "package",
|
||||
"path": "google.protobuf/3.19.1",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"google.protobuf.3.19.1.nupkg.sha512",
|
||||
"google.protobuf.nuspec",
|
||||
"lib/net45/Google.Protobuf.dll",
|
||||
"lib/net45/Google.Protobuf.pdb",
|
||||
"lib/net45/Google.Protobuf.xml",
|
||||
"lib/net5.0/Google.Protobuf.dll",
|
||||
"lib/net5.0/Google.Protobuf.pdb",
|
||||
"lib/net5.0/Google.Protobuf.xml",
|
||||
"lib/netstandard1.1/Google.Protobuf.dll",
|
||||
"lib/netstandard1.1/Google.Protobuf.pdb",
|
||||
"lib/netstandard1.1/Google.Protobuf.xml",
|
||||
"lib/netstandard2.0/Google.Protobuf.dll",
|
||||
"lib/netstandard2.0/Google.Protobuf.pdb",
|
||||
"lib/netstandard2.0/Google.Protobuf.xml"
|
||||
]
|
||||
},
|
||||
"Microsoft.NETCore.Platforms/1.1.0": {
|
||||
"sha512": "kz0PEW2lhqygehI/d6XsPCQzD7ff7gUJaVGPVETX611eadGsA3A877GdSlU0LRVMCTH/+P3o2iDTak+S08V2+A==",
|
||||
"type": "package",
|
||||
"path": "microsoft.netcore.platforms/1.1.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"ThirdPartyNotices.txt",
|
||||
"dotnet_library_license.txt",
|
||||
"lib/netstandard1.0/_._",
|
||||
"microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||
"microsoft.netcore.platforms.nuspec",
|
||||
"runtime.json"
|
||||
]
|
||||
},
|
||||
"NETStandard.Library/2.0.3": {
|
||||
"sha512": "st47PosZSHrjECdjeIzZQbzivYBJFv6P2nv4cj2ypdI204DO+vZ7l5raGMiX4eXMJ53RfOIg+/s4DHVZ54Nu2A==",
|
||||
"type": "package",
|
||||
"path": "netstandard.library/2.0.3",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"build/netstandard2.0/NETStandard.Library.targets",
|
||||
"build/netstandard2.0/ref/Microsoft.Win32.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.AppContext.dll",
|
||||
"build/netstandard2.0/ref/System.Collections.Concurrent.dll",
|
||||
"build/netstandard2.0/ref/System.Collections.NonGeneric.dll",
|
||||
"build/netstandard2.0/ref/System.Collections.Specialized.dll",
|
||||
"build/netstandard2.0/ref/System.Collections.dll",
|
||||
"build/netstandard2.0/ref/System.ComponentModel.Composition.dll",
|
||||
"build/netstandard2.0/ref/System.ComponentModel.EventBasedAsync.dll",
|
||||
"build/netstandard2.0/ref/System.ComponentModel.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.ComponentModel.TypeConverter.dll",
|
||||
"build/netstandard2.0/ref/System.ComponentModel.dll",
|
||||
"build/netstandard2.0/ref/System.Console.dll",
|
||||
"build/netstandard2.0/ref/System.Core.dll",
|
||||
"build/netstandard2.0/ref/System.Data.Common.dll",
|
||||
"build/netstandard2.0/ref/System.Data.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.Contracts.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.Debug.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.FileVersionInfo.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.Process.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.StackTrace.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.TextWriterTraceListener.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.Tools.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.TraceSource.dll",
|
||||
"build/netstandard2.0/ref/System.Diagnostics.Tracing.dll",
|
||||
"build/netstandard2.0/ref/System.Drawing.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.Drawing.dll",
|
||||
"build/netstandard2.0/ref/System.Dynamic.Runtime.dll",
|
||||
"build/netstandard2.0/ref/System.Globalization.Calendars.dll",
|
||||
"build/netstandard2.0/ref/System.Globalization.Extensions.dll",
|
||||
"build/netstandard2.0/ref/System.Globalization.dll",
|
||||
"build/netstandard2.0/ref/System.IO.Compression.FileSystem.dll",
|
||||
"build/netstandard2.0/ref/System.IO.Compression.ZipFile.dll",
|
||||
"build/netstandard2.0/ref/System.IO.Compression.dll",
|
||||
"build/netstandard2.0/ref/System.IO.FileSystem.DriveInfo.dll",
|
||||
"build/netstandard2.0/ref/System.IO.FileSystem.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.IO.FileSystem.Watcher.dll",
|
||||
"build/netstandard2.0/ref/System.IO.FileSystem.dll",
|
||||
"build/netstandard2.0/ref/System.IO.IsolatedStorage.dll",
|
||||
"build/netstandard2.0/ref/System.IO.MemoryMappedFiles.dll",
|
||||
"build/netstandard2.0/ref/System.IO.Pipes.dll",
|
||||
"build/netstandard2.0/ref/System.IO.UnmanagedMemoryStream.dll",
|
||||
"build/netstandard2.0/ref/System.IO.dll",
|
||||
"build/netstandard2.0/ref/System.Linq.Expressions.dll",
|
||||
"build/netstandard2.0/ref/System.Linq.Parallel.dll",
|
||||
"build/netstandard2.0/ref/System.Linq.Queryable.dll",
|
||||
"build/netstandard2.0/ref/System.Linq.dll",
|
||||
"build/netstandard2.0/ref/System.Net.Http.dll",
|
||||
"build/netstandard2.0/ref/System.Net.NameResolution.dll",
|
||||
"build/netstandard2.0/ref/System.Net.NetworkInformation.dll",
|
||||
"build/netstandard2.0/ref/System.Net.Ping.dll",
|
||||
"build/netstandard2.0/ref/System.Net.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.Net.Requests.dll",
|
||||
"build/netstandard2.0/ref/System.Net.Security.dll",
|
||||
"build/netstandard2.0/ref/System.Net.Sockets.dll",
|
||||
"build/netstandard2.0/ref/System.Net.WebHeaderCollection.dll",
|
||||
"build/netstandard2.0/ref/System.Net.WebSockets.Client.dll",
|
||||
"build/netstandard2.0/ref/System.Net.WebSockets.dll",
|
||||
"build/netstandard2.0/ref/System.Net.dll",
|
||||
"build/netstandard2.0/ref/System.Numerics.dll",
|
||||
"build/netstandard2.0/ref/System.ObjectModel.dll",
|
||||
"build/netstandard2.0/ref/System.Reflection.Extensions.dll",
|
||||
"build/netstandard2.0/ref/System.Reflection.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.Reflection.dll",
|
||||
"build/netstandard2.0/ref/System.Resources.Reader.dll",
|
||||
"build/netstandard2.0/ref/System.Resources.ResourceManager.dll",
|
||||
"build/netstandard2.0/ref/System.Resources.Writer.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.CompilerServices.VisualC.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Extensions.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Handles.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.InteropServices.RuntimeInformation.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.InteropServices.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Numerics.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Serialization.Formatters.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Serialization.Json.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Serialization.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Serialization.Xml.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.Serialization.dll",
|
||||
"build/netstandard2.0/ref/System.Runtime.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Claims.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Cryptography.Algorithms.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Cryptography.Csp.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Cryptography.Encoding.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Cryptography.Primitives.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Cryptography.X509Certificates.dll",
|
||||
"build/netstandard2.0/ref/System.Security.Principal.dll",
|
||||
"build/netstandard2.0/ref/System.Security.SecureString.dll",
|
||||
"build/netstandard2.0/ref/System.ServiceModel.Web.dll",
|
||||
"build/netstandard2.0/ref/System.Text.Encoding.Extensions.dll",
|
||||
"build/netstandard2.0/ref/System.Text.Encoding.dll",
|
||||
"build/netstandard2.0/ref/System.Text.RegularExpressions.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.Overlapped.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.Tasks.Parallel.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.Tasks.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.Thread.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.ThreadPool.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.Timer.dll",
|
||||
"build/netstandard2.0/ref/System.Threading.dll",
|
||||
"build/netstandard2.0/ref/System.Transactions.dll",
|
||||
"build/netstandard2.0/ref/System.ValueTuple.dll",
|
||||
"build/netstandard2.0/ref/System.Web.dll",
|
||||
"build/netstandard2.0/ref/System.Windows.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.Linq.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.ReaderWriter.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.Serialization.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.XDocument.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.XPath.XDocument.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.XPath.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.XmlDocument.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.XmlSerializer.dll",
|
||||
"build/netstandard2.0/ref/System.Xml.dll",
|
||||
"build/netstandard2.0/ref/System.dll",
|
||||
"build/netstandard2.0/ref/mscorlib.dll",
|
||||
"build/netstandard2.0/ref/netstandard.dll",
|
||||
"build/netstandard2.0/ref/netstandard.xml",
|
||||
"lib/netstandard1.0/_._",
|
||||
"netstandard.library.2.0.3.nupkg.sha512",
|
||||
"netstandard.library.nuspec"
|
||||
]
|
||||
},
|
||||
"System.Buffers/4.4.0": {
|
||||
"sha512": "AwarXzzoDwX6BgrhjoJsk6tUezZEozOT5Y9QKF94Gl4JK91I4PIIBkBco9068Y9/Dra8Dkbie99kXB8+1BaYKw==",
|
||||
"type": "package",
|
||||
"path": "system.buffers/4.4.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netcoreapp2.0/_._",
|
||||
"lib/netstandard1.1/System.Buffers.dll",
|
||||
"lib/netstandard1.1/System.Buffers.xml",
|
||||
"lib/netstandard2.0/System.Buffers.dll",
|
||||
"lib/netstandard2.0/System.Buffers.xml",
|
||||
"ref/netcoreapp2.0/_._",
|
||||
"ref/netstandard1.1/System.Buffers.dll",
|
||||
"ref/netstandard1.1/System.Buffers.xml",
|
||||
"ref/netstandard2.0/System.Buffers.dll",
|
||||
"ref/netstandard2.0/System.Buffers.xml",
|
||||
"system.buffers.4.4.0.nupkg.sha512",
|
||||
"system.buffers.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"System.Memory/4.5.3": {
|
||||
"sha512": "3oDzvc/zzetpTKWMShs1AADwZjQ/36HnsufHRPcOjyRAAMLDlu2iD33MBI2opxnezcVUtXyqDXXjoFMOU9c7SA==",
|
||||
"type": "package",
|
||||
"path": "system.memory/4.5.3",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netcoreapp2.1/_._",
|
||||
"lib/netstandard1.1/System.Memory.dll",
|
||||
"lib/netstandard1.1/System.Memory.xml",
|
||||
"lib/netstandard2.0/System.Memory.dll",
|
||||
"lib/netstandard2.0/System.Memory.xml",
|
||||
"ref/netcoreapp2.1/_._",
|
||||
"system.memory.4.5.3.nupkg.sha512",
|
||||
"system.memory.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"System.Numerics.Vectors/4.4.0": {
|
||||
"sha512": "UiLzLW+Lw6HLed1Hcg+8jSRttrbuXv7DANVj0DkL9g6EnnzbL75EB7EWsw5uRbhxd/4YdG8li5XizGWepmG3PQ==",
|
||||
"type": "package",
|
||||
"path": "system.numerics.vectors/4.4.0",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/MonoAndroid10/_._",
|
||||
"lib/MonoTouch10/_._",
|
||||
"lib/net46/System.Numerics.Vectors.dll",
|
||||
"lib/net46/System.Numerics.Vectors.xml",
|
||||
"lib/netcoreapp2.0/_._",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"lib/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.dll",
|
||||
"lib/portable-net45+win8+wp8+wpa81/System.Numerics.Vectors.xml",
|
||||
"lib/xamarinios10/_._",
|
||||
"lib/xamarinmac20/_._",
|
||||
"lib/xamarintvos10/_._",
|
||||
"lib/xamarinwatchos10/_._",
|
||||
"ref/MonoAndroid10/_._",
|
||||
"ref/MonoTouch10/_._",
|
||||
"ref/net46/System.Numerics.Vectors.dll",
|
||||
"ref/net46/System.Numerics.Vectors.xml",
|
||||
"ref/netcoreapp2.0/_._",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard1.0/System.Numerics.Vectors.xml",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.dll",
|
||||
"ref/netstandard2.0/System.Numerics.Vectors.xml",
|
||||
"ref/xamarinios10/_._",
|
||||
"ref/xamarinmac20/_._",
|
||||
"ref/xamarintvos10/_._",
|
||||
"ref/xamarinwatchos10/_._",
|
||||
"system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||
"system.numerics.vectors.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
},
|
||||
"System.Runtime.CompilerServices.Unsafe/4.5.2": {
|
||||
"sha512": "wprSFgext8cwqymChhrBLu62LMg/1u92bU+VOwyfBimSPVFXtsNqEWC92Pf9ofzJFlk4IHmJA75EDJn1b2goAQ==",
|
||||
"type": "package",
|
||||
"path": "system.runtime.compilerservices.unsafe/4.5.2",
|
||||
"files": [
|
||||
".nupkg.metadata",
|
||||
".signature.p7s",
|
||||
"LICENSE.TXT",
|
||||
"THIRD-PARTY-NOTICES.TXT",
|
||||
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"ref/netstandard1.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
|
||||
"ref/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
|
||||
"system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512",
|
||||
"system.runtime.compilerservices.unsafe.nuspec",
|
||||
"useSharedDesignerContext.txt",
|
||||
"version.txt"
|
||||
]
|
||||
}
|
||||
},
|
||||
"projectFileDependencyGroups": {
|
||||
".NETStandard,Version=v2.0": [
|
||||
"Google.Protobuf >= 3.19.1",
|
||||
"NETStandard.Library >= 2.0.3"
|
||||
]
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {},
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"projectName": "CIM_Standard",
|
||||
"projectPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"packagesPath": "C:\\Users\\smeb\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages",
|
||||
"C:\\Program Files (x86)\\Microsoft\\Xamarin\\NuGet\\"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\smeb\\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": [
|
||||
"netstandard2.0"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
"targetAlias": "netstandard2.0",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"netstandard2.0": {
|
||||
"targetAlias": "netstandard2.0",
|
||||
"dependencies": {
|
||||
"Google.Protobuf": {
|
||||
"target": "Package",
|
||||
"version": "[3.19.1, )"
|
||||
},
|
||||
"NETStandard.Library": {
|
||||
"suppressParent": "All",
|
||||
"target": "Package",
|
||||
"version": "[2.0.3, )",
|
||||
"autoReferenced": true
|
||||
}
|
||||
},
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.203\\RuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,16 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "h5Szc/icCH7lJDznceJZrdsMozKiBoBka+29+wqa3q+Ach15NH3m+XBOL7MzgPgYGXTvBoflikXiundTVJMOqg==",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\smeb\\Desktop\\电小牛V2\\CIM_SDK\\CIM_Standard\\CIM_Standard.csproj",
|
||||
"expectedPackageFiles": [
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\google.protobuf\\3.19.1\\google.protobuf.3.19.1.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\system.buffers\\4.4.0\\system.buffers.4.4.0.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\system.memory\\4.5.3\\system.memory.4.5.3.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\system.numerics.vectors\\4.4.0\\system.numerics.vectors.4.4.0.nupkg.sha512",
|
||||
"C:\\Users\\smeb\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.2\\system.runtime.compilerservices.unsafe.4.5.2.nupkg.sha512"
|
||||
],
|
||||
"logs": []
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user