This commit is contained in:
wyw 2024-03-01 15:49:08 +08:00
commit 92486a9a09
17 changed files with 2091 additions and 0 deletions

Binary file not shown.

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

25
AdapterTaskService.sln Normal file
View File

@ -0,0 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio Version 17
VisualStudioVersion = 17.1.32228.430
MinimumVisualStudioVersion = 10.0.40219.1
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "TPMTaskService", "AdapterTaskService\TPMTaskService.csproj", "{0FECDF44-F852-442E-A626-EFEBD5627945}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{0FECDF44-F852-442E-A626-EFEBD5627945}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{0FECDF44-F852-442E-A626-EFEBD5627945}.Debug|Any CPU.Build.0 = Debug|Any CPU
{0FECDF44-F852-442E-A626-EFEBD5627945}.Release|Any CPU.ActiveCfg = Release|Any CPU
{0FECDF44-F852-442E-A626-EFEBD5627945}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {2103B3F7-84EB-4B06-9AC5-66A2F3D8EF4A}
EndGlobalSection
EndGlobal

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<appSettings>
<add key="ThreadSleep" value="60000"/>
<add key="OrgID" value="B043B28B-BBC3-C452-6052-4FBA1457ABFA"/>
</appSettings>
<connectionStrings>
<add name="connSPS" connectionString="Server=47.122.43.22;Database=mh_db;uid=sa;pwd=mhsafe!2021"/>
<add name="connTPM" connectionString="Data Source=10.2.7.17;Initial Catalog=QLTPMDB;Persist Security Info=True;User ID=MHUser;Password=MHUser2024ok%"/>
</connectionStrings>
</configuration>

View File

@ -0,0 +1,33 @@
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
using System.IO;
using System.Text;
namespace OptServevice
{
public static class ConfigurationManager
{
private static IConfigurationRoot _configurationRoot;
public static IConfigurationRoot Configuration
{
get
{
if (_configurationRoot == null)
InitConfig();
return _configurationRoot;
}
}
private static void InitConfig()
{
var builder = new ConfigurationBuilder()
.SetBasePath(AppContext.BaseDirectory)
.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true)
.AddEnvironmentVariables();
_configurationRoot = builder.Build();
}
}
}

View File

@ -0,0 +1,20 @@
namespace AdapterTaskService
{
class Program
{
static void Main(string[] args)
{
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]启动TPMTaskService");
try
{
AdapterService service = new AdapterService();
service.Start();
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]启动TPMTaskService服务成功");
}
catch (Exception ex)
{
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]启动TPMTaskService服务失败详情" + ex.Message);
}
}
}
}

View File

@ -0,0 +1,155 @@
using System;
using System.Data;
using System.Data.SqlClient;
using System.Text;
namespace AdapterTaskService
{
public class AdapterService
{
public static string connSPS = string.Empty;
public AdapterService()
{
connSPS = System.Configuration.ConfigurationManager.ConnectionStrings["connSPS"].ToString();
}
public void Start()
{
int ThreadSleep = 60000;//每分钟同步一次
try
{
ThreadSleep = int.Parse(System.Configuration.ConfigurationManager.AppSettings["ThreadSleep"].ToString());
}
catch { }
Guid OrgID = Guid.Empty;
try
{
OrgID = new Guid(System.Configuration.ConfigurationManager.AppSettings["OrgID"].ToString());
}
catch { }
string connTPM = System.Configuration.ConfigurationManager.ConnectionStrings["connTPM"].ToString();
DateTime dtNearlest = GetDtNearlest();
Task parent = new Task(() =>
{
new Task(() =>
{
while (true)
{
dtNearlest = SyncDataMatch(connTPM, connSPS, OrgID, dtNearlest);//轮循同步
Thread.Sleep(ThreadSleep);//1秒
}
}, TaskCreationOptions.AttachedToParent).Start();
}, TaskCreationOptions.LongRunning);
parent.Start();
parent.Wait();
}
/// <summary>
/// 数据同步
/// </summary>
private DateTime SyncDataMatch(string connTPM, string connSPS, Guid OrgID, DateTime dtNearlest)
{
DataTable Table = new DataTable();
using (SqlConnection connection = new SqlConnection(connTPM))
{
try
{
connection.Open();
string sql = "select * from vw_bi_DJExceptionXLK where crdate is not null ";
if (dtNearlest != DateTime.MinValue)//dtNearlest != DateTime.MinValue
{
sql += " and crdate>='" + dtNearlest + "'";
}
sql += " order by crdate desc";
using (SqlCommand Com = new SqlCommand(sql, connection))
{
SqlDataAdapter Data = new SqlDataAdapter(Com);
Data.Fill(Table);
}
connection.Close();
}
catch { }
}
if (Table != null && Table.Rows.Count > 0)
{
try
{
using (SqlConnection connection = new SqlConnection(connSPS))
{
connection.Open();
StringBuilder sb = new StringBuilder();//数据组装
foreach (DataRow item in Table.Rows)
{
sb.Append(@" INSERT INTO[dbo].[T_BS_RISK_TPM]([ID],[machinecode],[machinename],[usedepartmentname],[processworkerid],[processworkername],[description],[remark],[processresult],[crdate],[USER_ID],[DEPARTMENT_ID],[IS_REPORT],[IS_DELETED],[ORG_ID],[IS_MATCH],ENTITY_ORG_TPYE,FLOW_STATUS,FLOW_SEND_STATUS)VALUES(");
//,[MATCH_EXCEPTION],[ENTITY_ORG_TPYE],[FORM_ID],[FLOW_STATUS],[FLOW_SEND_STATUS],[FLOW_ID] ,[CREATE_TIME],[MODIFY_TIME],[CREATER_ID],[MODIFIER_ID]
sb.Append("'" + Guid.NewGuid() + "'");
sb.Append("," + (item["machinecode"] != null ? ("'" + item["machinecode"].ToString() + "'") : null));
sb.Append("," + (item["machinename"] != null ? ("'" + item["machinename"].ToString() + "'") : null));
sb.Append("," + (item["usedepartmentname"] != null ? ("'" + item["usedepartmentname"].ToString() + "'") : null));
sb.Append("," + (item["processworkerid"] != null ? ("'" + item["processworkerid"].ToString() + "'") : null));
sb.Append("," + (item["processworkername"] != null ? ("'" + item["processworkername"].ToString() + "'") : null));
sb.Append("," + (item["description"] != null ? "'" + item["description"].ToString() + "'" : null));
sb.Append("," + (item["remark"] != null ? ("'" + item["remark"].ToString() + "'") : null));
sb.Append("," + (item["processresult"] != null ? ("'" + item["processresult"].ToString() + "'") : null));
sb.Append("," + (item["crdate"] != null ? ("'" + Convert.ToDateTime(item["crdate"].ToString()) + "'") : ("'" + DateTime.Now + "'")));
sb.Append(",null,null,0,0,'" + OrgID + "',0,0,0,0");
sb.AppendLine(")");
}
using (SqlCommand Com = new SqlCommand(sb.ToString(), connection))
{
int result = Com.ExecuteNonQuery();
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]同步数据条数[" + result.ToString() + "]");
}
connection.Close();
}
dtNearlest = Convert.ToDateTime(Table.Rows[0]["crdate"]).AddSeconds(1);//更新最新时间
}
catch (Exception ex)
{
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]流程报错[" + ex.Message + "]");
}
}
else
{
Console.WriteLine("[" + DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss") + "]无同步数据");
}
return dtNearlest;
}
/// <summary>
/// 获取最近的时间
/// </summary>
/// <param name="connSPS"></param>
/// <returns></returns>
private DateTime GetDtNearlest()
{
DateTime dtNearlest = DateTime.MinValue;
DataTable Table = new DataTable();
using (SqlConnection connection = new SqlConnection(connSPS))
{
try
{
string sql = "select top 1 crdate from T_BS_RISK_TPM where crdate is not null order by T_BS_RISK_TPM.crdate desc";
connection.Open();
using (SqlCommand Com = new SqlCommand(sql, connection))
{
SqlDataAdapter Data = new SqlDataAdapter(Com);
Data.Fill(Table);
}
connection.Close();
}
catch { }
}
if (Table != null && Table.Rows.Count > 0)
{
dtNearlest = Convert.ToDateTime(Table.Rows[0]["crdate"]).AddSeconds(1);//时间多一点
}
return dtNearlest;
}
}
}

View File

@ -0,0 +1,21 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<Compile Remove="ConfigurationManager.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Configuration.ConfigurationManager" Version="8.0.0" />
<PackageReference Include="System.Data.SqlClient" Version="4.8.6" />
</ItemGroup>
<ProjectExtensions><VisualStudio><UserProperties appsettings_1json__JsonSchema="" /></VisualStudio></ProjectExtensions>
</Project>

View File

@ -0,0 +1,76 @@
{
"format": 1,
"restore": {
"E:\\project\\mh-safe-adapter\\AdapterTaskService\\AdapterTaskService\\AdapterTaskService.csproj": {}
},
"projects": {
"E:\\project\\mh-safe-adapter\\AdapterTaskService\\AdapterTaskService\\AdapterTaskService.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "E:\\project\\mh-safe-adapter\\AdapterTaskService\\AdapterTaskService\\AdapterTaskService.csproj",
"projectName": "AdapterTaskService",
"projectPath": "E:\\project\\mh-safe-adapter\\AdapterTaskService\\AdapterTaskService\\AdapterTaskService.csproj",
"packagesPath": "C:\\Users\\MH00085\\.nuget\\packages\\",
"outputPath": "E:\\project\\mh-safe-adapter\\AdapterTaskService\\AdapterTaskService\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"F:\\insert\\vs\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\MH00085\\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"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"System.Configuration.ConfigurationManager": {
"target": "Package",
"version": "[8.0.0, )"
},
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.6, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.203\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?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\MH00085\.nuget\packages\;F:\insert\vs\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\MH00085\.nuget\packages\" />
<SourceRoot Include="F:\insert\vs\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,76 @@
{
"format": 1,
"restore": {
"E:\\project\\TPMTaskService\\AdapterTaskService\\TPMTaskService.csproj": {}
},
"projects": {
"E:\\project\\TPMTaskService\\AdapterTaskService\\TPMTaskService.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "E:\\project\\TPMTaskService\\AdapterTaskService\\TPMTaskService.csproj",
"projectName": "TPMTaskService",
"projectPath": "E:\\project\\TPMTaskService\\AdapterTaskService\\TPMTaskService.csproj",
"packagesPath": "C:\\Users\\MH00085\\.nuget\\packages\\",
"outputPath": "E:\\project\\TPMTaskService\\AdapterTaskService\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"F:\\insert\\vs\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\MH00085\\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"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"System.Configuration.ConfigurationManager": {
"target": "Package",
"version": "[8.0.0, )"
},
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.6, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.203\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?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\MH00085\.nuget\packages\;F:\insert\vs\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.1.0</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\MH00085\.nuget\packages\" />
<SourceRoot Include="F:\insert\vs\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />

View File

@ -0,0 +1,622 @@
{
"version": 3,
"targets": {
"net6.0": {
"Microsoft.NETCore.Platforms/3.1.0": {
"type": "package",
"compile": {
"lib/netstandard1.0/_._": {}
},
"runtime": {
"lib/netstandard1.0/_._": {}
}
},
"Microsoft.Win32.Registry/4.7.0": {
"type": "package",
"dependencies": {
"System.Security.AccessControl": "4.7.0",
"System.Security.Principal.Windows": "4.7.0"
},
"compile": {
"ref/netstandard2.0/_._": {}
},
"runtime": {
"lib/netstandard2.0/Microsoft.Win32.Registry.dll": {}
},
"runtimeTargets": {
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll": {
"assetType": "runtime",
"rid": "win"
}
}
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"type": "package",
"dependencies": {
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni": "4.4.0",
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni": "4.4.0"
}
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"runtimeTargets": {
"runtimes/win-arm64/native/sni.dll": {
"assetType": "native",
"rid": "win-arm64"
}
}
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"runtimeTargets": {
"runtimes/win-x64/native/sni.dll": {
"assetType": "native",
"rid": "win-x64"
}
}
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"type": "package",
"runtimeTargets": {
"runtimes/win-x86/native/sni.dll": {
"assetType": "native",
"rid": "win-x86"
}
}
},
"System.Configuration.ConfigurationManager/8.0.0": {
"type": "package",
"dependencies": {
"System.Security.Cryptography.ProtectedData": "8.0.0"
},
"compile": {
"lib/net6.0/System.Configuration.ConfigurationManager.dll": {}
},
"runtime": {
"lib/net6.0/System.Configuration.ConfigurationManager.dll": {}
},
"build": {
"buildTransitive/net6.0/_._": {}
}
},
"System.Data.SqlClient/4.8.6": {
"type": "package",
"dependencies": {
"Microsoft.Win32.Registry": "4.7.0",
"System.Security.Principal.Windows": "4.7.0",
"runtime.native.System.Data.SqlClient.sni": "4.7.0"
},
"compile": {
"ref/netcoreapp2.1/System.Data.SqlClient.dll": {}
},
"runtime": {
"lib/netcoreapp2.1/System.Data.SqlClient.dll": {}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll": {
"assetType": "runtime",
"rid": "win"
}
}
},
"System.Security.AccessControl/4.7.0": {
"type": "package",
"dependencies": {
"Microsoft.NETCore.Platforms": "3.1.0",
"System.Security.Principal.Windows": "4.7.0"
},
"compile": {
"ref/netstandard2.0/_._": {}
},
"runtime": {
"lib/netstandard2.0/System.Security.AccessControl.dll": {}
},
"runtimeTargets": {
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll": {
"assetType": "runtime",
"rid": "win"
}
}
},
"System.Security.Cryptography.ProtectedData/8.0.0": {
"type": "package",
"compile": {
"lib/net6.0/System.Security.Cryptography.ProtectedData.dll": {}
},
"runtime": {
"lib/net6.0/System.Security.Cryptography.ProtectedData.dll": {}
},
"build": {
"buildTransitive/net6.0/_._": {}
}
},
"System.Security.Principal.Windows/4.7.0": {
"type": "package",
"compile": {
"ref/netcoreapp3.0/_._": {}
},
"runtime": {
"lib/netstandard2.0/System.Security.Principal.Windows.dll": {}
},
"runtimeTargets": {
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll": {
"assetType": "runtime",
"rid": "win"
}
}
}
}
},
"libraries": {
"Microsoft.NETCore.Platforms/3.1.0": {
"sha512": "z7aeg8oHln2CuNulfhiLYxCVMPEwBl3rzicjvIX+4sUuCwvXw5oXQEtbiU2c0z4qYL5L3Kmx0mMA/+t/SbY67w==",
"type": "package",
"path": "microsoft.netcore.platforms/3.1.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/netstandard1.0/_._",
"microsoft.netcore.platforms.3.1.0.nupkg.sha512",
"microsoft.netcore.platforms.nuspec",
"runtime.json",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"Microsoft.Win32.Registry/4.7.0": {
"sha512": "KSrRMb5vNi0CWSGG1++id2ZOs/1QhRqROt+qgbEAdQuGjGrFcl4AOl4/exGPUYz2wUnU42nvJqon1T3U0kPXLA==",
"type": "package",
"path": "microsoft.win32.registry/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net46/Microsoft.Win32.Registry.dll",
"lib/net461/Microsoft.Win32.Registry.dll",
"lib/net461/Microsoft.Win32.Registry.xml",
"lib/netstandard1.3/Microsoft.Win32.Registry.dll",
"lib/netstandard2.0/Microsoft.Win32.Registry.dll",
"lib/netstandard2.0/Microsoft.Win32.Registry.xml",
"microsoft.win32.registry.4.7.0.nupkg.sha512",
"microsoft.win32.registry.nuspec",
"ref/net46/Microsoft.Win32.Registry.dll",
"ref/net461/Microsoft.Win32.Registry.dll",
"ref/net461/Microsoft.Win32.Registry.xml",
"ref/net472/Microsoft.Win32.Registry.dll",
"ref/net472/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/Microsoft.Win32.Registry.dll",
"ref/netstandard1.3/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/de/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/es/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/fr/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/it/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/ja/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/ko/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/ru/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/zh-hans/Microsoft.Win32.Registry.xml",
"ref/netstandard1.3/zh-hant/Microsoft.Win32.Registry.xml",
"ref/netstandard2.0/Microsoft.Win32.Registry.dll",
"ref/netstandard2.0/Microsoft.Win32.Registry.xml",
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.dll",
"runtimes/unix/lib/netstandard2.0/Microsoft.Win32.Registry.xml",
"runtimes/win/lib/net46/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/net461/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/net461/Microsoft.Win32.Registry.xml",
"runtimes/win/lib/netstandard1.3/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.dll",
"runtimes/win/lib/netstandard2.0/Microsoft.Win32.Registry.xml",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.native.System.Data.SqlClient.sni/4.7.0": {
"sha512": "9kyFSIdN3T0qjDQ2R0HRXYIhS3l5psBzQi6qqhdLz+SzFyEy4sVxNOke+yyYv8Cu8rPER12c3RDjLT8wF3WBYQ==",
"type": "package",
"path": "runtime.native.system.data.sqlclient.sni/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.native.system.data.sqlclient.sni.4.7.0.nupkg.sha512",
"runtime.native.system.data.sqlclient.sni.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.win-arm64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"sha512": "LbrynESTp3bm5O/+jGL8v0Qg5SJlTV08lpIpFesXjF6uGNMWqFnUQbYBJwZTeua6E/Y7FIM1C54Ey1btLWupdg==",
"type": "package",
"path": "runtime.win-arm64.runtime.native.system.data.sqlclient.sni/4.4.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"runtime.win-arm64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"runtime.win-arm64.runtime.native.system.data.sqlclient.sni.nuspec",
"runtimes/win-arm64/native/sni.dll",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.win-x64.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"sha512": "38ugOfkYJqJoX9g6EYRlZB5U2ZJH51UP8ptxZgdpS07FgOEToV+lS11ouNK2PM12Pr6X/PpT5jK82G3DwH/SxQ==",
"type": "package",
"path": "runtime.win-x64.runtime.native.system.data.sqlclient.sni/4.4.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"runtime.win-x64.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"runtime.win-x64.runtime.native.system.data.sqlclient.sni.nuspec",
"runtimes/win-x64/native/sni.dll",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"runtime.win-x86.runtime.native.System.Data.SqlClient.sni/4.4.0": {
"sha512": "YhEdSQUsTx+C8m8Bw7ar5/VesXvCFMItyZF7G1AUY+OM0VPZUOeAVpJ4Wl6fydBGUYZxojTDR3I6Bj/+BPkJNA==",
"type": "package",
"path": "runtime.win-x86.runtime.native.system.data.sqlclient.sni/4.4.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"ThirdPartyNotices.txt",
"dotnet_library_license.txt",
"runtime.win-x86.runtime.native.system.data.sqlclient.sni.4.4.0.nupkg.sha512",
"runtime.win-x86.runtime.native.system.data.sqlclient.sni.nuspec",
"runtimes/win-x86/native/sni.dll",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Configuration.ConfigurationManager/8.0.0": {
"sha512": "JlYi9XVvIREURRUlGMr1F6vOFLk7YSY4p1vHo4kX3tQ0AGrjqlRWHDi66ImHhy6qwXBG3BJ6Y1QlYQ+Qz6Xgww==",
"type": "package",
"path": "system.configuration.configurationmanager/8.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/System.Configuration.ConfigurationManager.targets",
"buildTransitive/net462/_._",
"buildTransitive/net6.0/_._",
"buildTransitive/netcoreapp2.0/System.Configuration.ConfigurationManager.targets",
"lib/net462/System.Configuration.ConfigurationManager.dll",
"lib/net462/System.Configuration.ConfigurationManager.xml",
"lib/net6.0/System.Configuration.ConfigurationManager.dll",
"lib/net6.0/System.Configuration.ConfigurationManager.xml",
"lib/net7.0/System.Configuration.ConfigurationManager.dll",
"lib/net7.0/System.Configuration.ConfigurationManager.xml",
"lib/net8.0/System.Configuration.ConfigurationManager.dll",
"lib/net8.0/System.Configuration.ConfigurationManager.xml",
"lib/netstandard2.0/System.Configuration.ConfigurationManager.dll",
"lib/netstandard2.0/System.Configuration.ConfigurationManager.xml",
"system.configuration.configurationmanager.8.0.0.nupkg.sha512",
"system.configuration.configurationmanager.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Data.SqlClient/4.8.6": {
"sha512": "2Ij/LCaTQRyAi5lAv7UUTV9R2FobC8xN9mE0fXBZohum/xLl8IZVmE98Rq5ugQHjCgTBRKqpXRb4ORulRdA6Ig==",
"type": "package",
"path": "system.data.sqlclient/4.8.6",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net451/System.Data.SqlClient.dll",
"lib/net46/System.Data.SqlClient.dll",
"lib/net461/System.Data.SqlClient.dll",
"lib/net461/System.Data.SqlClient.xml",
"lib/netcoreapp2.1/System.Data.SqlClient.dll",
"lib/netcoreapp2.1/System.Data.SqlClient.xml",
"lib/netstandard1.2/System.Data.SqlClient.dll",
"lib/netstandard1.2/System.Data.SqlClient.xml",
"lib/netstandard1.3/System.Data.SqlClient.dll",
"lib/netstandard1.3/System.Data.SqlClient.xml",
"lib/netstandard2.0/System.Data.SqlClient.dll",
"lib/netstandard2.0/System.Data.SqlClient.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net451/System.Data.SqlClient.dll",
"ref/net46/System.Data.SqlClient.dll",
"ref/net461/System.Data.SqlClient.dll",
"ref/net461/System.Data.SqlClient.xml",
"ref/netcoreapp2.1/System.Data.SqlClient.dll",
"ref/netcoreapp2.1/System.Data.SqlClient.xml",
"ref/netstandard1.2/System.Data.SqlClient.dll",
"ref/netstandard1.2/System.Data.SqlClient.xml",
"ref/netstandard1.2/de/System.Data.SqlClient.xml",
"ref/netstandard1.2/es/System.Data.SqlClient.xml",
"ref/netstandard1.2/fr/System.Data.SqlClient.xml",
"ref/netstandard1.2/it/System.Data.SqlClient.xml",
"ref/netstandard1.2/ja/System.Data.SqlClient.xml",
"ref/netstandard1.2/ko/System.Data.SqlClient.xml",
"ref/netstandard1.2/ru/System.Data.SqlClient.xml",
"ref/netstandard1.2/zh-hans/System.Data.SqlClient.xml",
"ref/netstandard1.2/zh-hant/System.Data.SqlClient.xml",
"ref/netstandard1.3/System.Data.SqlClient.dll",
"ref/netstandard1.3/System.Data.SqlClient.xml",
"ref/netstandard1.3/de/System.Data.SqlClient.xml",
"ref/netstandard1.3/es/System.Data.SqlClient.xml",
"ref/netstandard1.3/fr/System.Data.SqlClient.xml",
"ref/netstandard1.3/it/System.Data.SqlClient.xml",
"ref/netstandard1.3/ja/System.Data.SqlClient.xml",
"ref/netstandard1.3/ko/System.Data.SqlClient.xml",
"ref/netstandard1.3/ru/System.Data.SqlClient.xml",
"ref/netstandard1.3/zh-hans/System.Data.SqlClient.xml",
"ref/netstandard1.3/zh-hant/System.Data.SqlClient.xml",
"ref/netstandard2.0/System.Data.SqlClient.dll",
"ref/netstandard2.0/System.Data.SqlClient.xml",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.dll",
"runtimes/unix/lib/netcoreapp2.1/System.Data.SqlClient.xml",
"runtimes/unix/lib/netstandard1.3/System.Data.SqlClient.dll",
"runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.dll",
"runtimes/unix/lib/netstandard2.0/System.Data.SqlClient.xml",
"runtimes/win/lib/net451/System.Data.SqlClient.dll",
"runtimes/win/lib/net46/System.Data.SqlClient.dll",
"runtimes/win/lib/net461/System.Data.SqlClient.dll",
"runtimes/win/lib/net461/System.Data.SqlClient.xml",
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.dll",
"runtimes/win/lib/netcoreapp2.1/System.Data.SqlClient.xml",
"runtimes/win/lib/netstandard1.3/System.Data.SqlClient.dll",
"runtimes/win/lib/netstandard2.0/System.Data.SqlClient.dll",
"runtimes/win/lib/netstandard2.0/System.Data.SqlClient.xml",
"runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.dll",
"runtimes/win/lib/uap10.0.16299/System.Data.SqlClient.xml",
"system.data.sqlclient.4.8.6.nupkg.sha512",
"system.data.sqlclient.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Security.AccessControl/4.7.0": {
"sha512": "JECvTt5aFF3WT3gHpfofL2MNNP6v84sxtXxpqhLBCcDRzqsPBmHhQ6shv4DwwN2tRlzsUxtb3G9M3763rbXKDg==",
"type": "package",
"path": "system.security.accesscontrol/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net46/System.Security.AccessControl.dll",
"lib/net461/System.Security.AccessControl.dll",
"lib/net461/System.Security.AccessControl.xml",
"lib/netstandard1.3/System.Security.AccessControl.dll",
"lib/netstandard2.0/System.Security.AccessControl.dll",
"lib/netstandard2.0/System.Security.AccessControl.xml",
"lib/uap10.0.16299/_._",
"ref/net46/System.Security.AccessControl.dll",
"ref/net461/System.Security.AccessControl.dll",
"ref/net461/System.Security.AccessControl.xml",
"ref/netstandard1.3/System.Security.AccessControl.dll",
"ref/netstandard1.3/System.Security.AccessControl.xml",
"ref/netstandard1.3/de/System.Security.AccessControl.xml",
"ref/netstandard1.3/es/System.Security.AccessControl.xml",
"ref/netstandard1.3/fr/System.Security.AccessControl.xml",
"ref/netstandard1.3/it/System.Security.AccessControl.xml",
"ref/netstandard1.3/ja/System.Security.AccessControl.xml",
"ref/netstandard1.3/ko/System.Security.AccessControl.xml",
"ref/netstandard1.3/ru/System.Security.AccessControl.xml",
"ref/netstandard1.3/zh-hans/System.Security.AccessControl.xml",
"ref/netstandard1.3/zh-hant/System.Security.AccessControl.xml",
"ref/netstandard2.0/System.Security.AccessControl.dll",
"ref/netstandard2.0/System.Security.AccessControl.xml",
"ref/uap10.0.16299/_._",
"runtimes/win/lib/net46/System.Security.AccessControl.dll",
"runtimes/win/lib/net461/System.Security.AccessControl.dll",
"runtimes/win/lib/net461/System.Security.AccessControl.xml",
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.dll",
"runtimes/win/lib/netcoreapp2.0/System.Security.AccessControl.xml",
"runtimes/win/lib/netstandard1.3/System.Security.AccessControl.dll",
"runtimes/win/lib/uap10.0.16299/_._",
"system.security.accesscontrol.4.7.0.nupkg.sha512",
"system.security.accesscontrol.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Security.Cryptography.ProtectedData/8.0.0": {
"sha512": "+TUFINV2q2ifyXauQXRwy4CiBhqvDEDZeVJU7qfxya4aRYOKzVBpN+4acx25VcPB9ywUN6C0n8drWl110PhZEg==",
"type": "package",
"path": "system.security.cryptography.protecteddata/8.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/System.Security.Cryptography.ProtectedData.targets",
"buildTransitive/net462/_._",
"buildTransitive/net6.0/_._",
"buildTransitive/netcoreapp2.0/System.Security.Cryptography.ProtectedData.targets",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net462/System.Security.Cryptography.ProtectedData.dll",
"lib/net462/System.Security.Cryptography.ProtectedData.xml",
"lib/net6.0/System.Security.Cryptography.ProtectedData.dll",
"lib/net6.0/System.Security.Cryptography.ProtectedData.xml",
"lib/net7.0/System.Security.Cryptography.ProtectedData.dll",
"lib/net7.0/System.Security.Cryptography.ProtectedData.xml",
"lib/net8.0/System.Security.Cryptography.ProtectedData.dll",
"lib/net8.0/System.Security.Cryptography.ProtectedData.xml",
"lib/netstandard2.0/System.Security.Cryptography.ProtectedData.dll",
"lib/netstandard2.0/System.Security.Cryptography.ProtectedData.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"system.security.cryptography.protecteddata.8.0.0.nupkg.sha512",
"system.security.cryptography.protecteddata.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Security.Principal.Windows/4.7.0": {
"sha512": "ojD0PX0XhneCsUbAZVKdb7h/70vyYMDYs85lwEI+LngEONe/17A0cFaRFqZU+sOEidcVswYWikYOQ9PPfjlbtQ==",
"type": "package",
"path": "system.security.principal.windows/4.7.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net46/System.Security.Principal.Windows.dll",
"lib/net461/System.Security.Principal.Windows.dll",
"lib/net461/System.Security.Principal.Windows.xml",
"lib/netstandard1.3/System.Security.Principal.Windows.dll",
"lib/netstandard2.0/System.Security.Principal.Windows.dll",
"lib/netstandard2.0/System.Security.Principal.Windows.xml",
"lib/uap10.0.16299/_._",
"ref/net46/System.Security.Principal.Windows.dll",
"ref/net461/System.Security.Principal.Windows.dll",
"ref/net461/System.Security.Principal.Windows.xml",
"ref/netcoreapp3.0/System.Security.Principal.Windows.dll",
"ref/netcoreapp3.0/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/System.Security.Principal.Windows.dll",
"ref/netstandard1.3/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/de/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/es/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/fr/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/it/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/ja/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/ko/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/ru/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/zh-hans/System.Security.Principal.Windows.xml",
"ref/netstandard1.3/zh-hant/System.Security.Principal.Windows.xml",
"ref/netstandard2.0/System.Security.Principal.Windows.dll",
"ref/netstandard2.0/System.Security.Principal.Windows.xml",
"ref/uap10.0.16299/_._",
"runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.dll",
"runtimes/unix/lib/netcoreapp2.0/System.Security.Principal.Windows.xml",
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.dll",
"runtimes/unix/lib/netcoreapp2.1/System.Security.Principal.Windows.xml",
"runtimes/win/lib/net46/System.Security.Principal.Windows.dll",
"runtimes/win/lib/net461/System.Security.Principal.Windows.dll",
"runtimes/win/lib/net461/System.Security.Principal.Windows.xml",
"runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.dll",
"runtimes/win/lib/netcoreapp2.0/System.Security.Principal.Windows.xml",
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.dll",
"runtimes/win/lib/netcoreapp2.1/System.Security.Principal.Windows.xml",
"runtimes/win/lib/netstandard1.3/System.Security.Principal.Windows.dll",
"runtimes/win/lib/uap10.0.16299/_._",
"system.security.principal.windows.4.7.0.nupkg.sha512",
"system.security.principal.windows.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
}
},
"projectFileDependencyGroups": {
"net6.0": [
"System.Configuration.ConfigurationManager >= 8.0.0",
"System.Data.SqlClient >= 4.8.6"
]
},
"packageFolders": {
"C:\\Users\\MH00085\\.nuget\\packages\\": {},
"F:\\insert\\vs\\Shared\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "E:\\project\\TPMTaskService\\AdapterTaskService\\TPMTaskService.csproj",
"projectName": "TPMTaskService",
"projectPath": "E:\\project\\TPMTaskService\\AdapterTaskService\\TPMTaskService.csproj",
"packagesPath": "C:\\Users\\MH00085\\.nuget\\packages\\",
"outputPath": "E:\\project\\TPMTaskService\\AdapterTaskService\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"F:\\insert\\vs\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\MH00085\\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"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"System.Configuration.ConfigurationManager": {
"target": "Package",
"version": "[8.0.0, )"
},
"System.Data.SqlClient": {
"target": "Package",
"version": "[4.8.6, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.203\\RuntimeIdentifierGraph.json"
}
}
}
}