change - Init

main
Wen JY 3 months ago
commit 3a9c10151e

@ -0,0 +1,13 @@
# Default ignored files
/shelf/
/workspace.xml
# Rider ignored files
/contentModel.xml
/projectSettingsUpdater.xml
/.idea.Sln.Iot.iml
/modules.xml
# Editor-based HTTP Client requests
/httpRequests/
# Datasource local storage ignored files
/dataSources/
/dataSources.local.xml

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
</project>

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="UserContentModel">
<attachedFolders />
<explicitIncludes />
<explicitExcludes />
</component>
</project>

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="$PROJECT_DIR$" vcs="Git" />
</component>
</project>

Binary file not shown.

Binary file not shown.

@ -0,0 +1,36 @@
{
"Version": 1,
"WorkspaceRootPath": "\\\\Mac\\Home\\Public\\WorkSpace\\Mesnac\\\u9879\u76EE\u8D44\u6599\\IOT\u7269\u8054\u7F51\u6570\u636E\u91C7\u96C6\\Sln.Iot\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{C7F34379-D764-44C5-A1FE-B54CCB5355F5}|Sln.Iot\\Sln.Iot.csproj|\\\\mac\\home\\public\\workspace\\mesnac\\\u9879\u76EE\u8D44\u6599\\iot\u7269\u8054\u7F51\u6570\u636E\u91C7\u96C6\\sln.iot\\sln.iot\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "Program.cs",
"DocumentMoniker": "\\\\Mac\\Home\\Public\\WorkSpace\\Mesnac\\\u9879\u76EE\u8D44\u6599\\IOT\u7269\u8054\u7F51\u6570\u636E\u91C7\u96C6\\Sln.Iot\\Sln.Iot\\Program.cs",
"RelativeDocumentMoniker": "Sln.Iot\\Program.cs",
"ToolTip": "\\\\Mac\\Home\\Public\\WorkSpace\\Mesnac\\\u9879\u76EE\u8D44\u6599\\IOT\u7269\u8054\u7F51\u6570\u636E\u91C7\u96C6\\Sln.Iot\\Sln.Iot\\Program.cs",
"RelativeToolTip": "Sln.Iot\\Program.cs",
"ViewState": "AQIAAAAAAAAAAAAAAADwvxMAAAAIAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2025-04-11T03:28:10.52Z",
"EditorCaption": ""
}
]
}
]
}
]
}

@ -0,0 +1,79 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Business
* AF7CD4B2-87AF-4F91-BECA-13779B05170C
*
* WenJY
*
* 2025-04-11 16:04:07
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using Sln.Iot.Business.@base;
using Sln.Iot.Common;
using Sln.Iot.Config;
using Sln.Iot.Model.dto;
using Sln.Iot.Serilog;
using Sln.Iot.Socket.Adapter;
using TouchSocket.Core;
using TouchSocket.Sockets;
namespace Sln.Iot.Business
{
/// <summary>
/// 心跳指令
/// </summary>
public class HeartBusiness:BaseBusiness
{
public HeartBusiness(SerilogHelper logger, AppConfig appConfig,StringChange stringChange) : base(logger, appConfig,stringChange)
{
}
public override FilterResult BufferAnalysis(ISocketClient client, BufferRequestInfo requestInfo, int bodyLength)
{
//心跳没有业务逻辑处理
return FilterResult.Success;
}
/// <summary>
/// 应答处理
/// </summary>
/// <param name="client"></param>
/// <param name="buffer"></param>
public override void ResponseHandle(ISocketClient client, byte[] buffer)
{
MessagePack SendMessagePackInfo = new MessagePack()
{
m_MessageType = 0xA4
};
base.GetMessagePack(ref SendMessagePackInfo,buffer);
//ByteBlock byteBlock = new ByteBlock(requestInfo.Body);
//byteBlock.Read(out byte[] b_MeterID, 2);
//var MeterID_1 = "00" + Convert.ToInt32(b_MeterID[0]).ToString();
//MeterID_1 = MeterID_1.Substring(MeterID_1.Length - 2, 2);
//var MeterID_2 = "00" + Convert.ToInt32(b_MeterID[1]).ToString();
//MeterID_2 = MeterID_2.Substring(MeterID_2.Length - 2, 2);
//var equipId = requestInfo.ColletEquipCOde + "_" + MeterID_1 + MeterID_2;
//Console.WriteLine($"心跳:::::{}");
base.SendMessageAsync(client, SendMessagePackInfo);
}
}
}

@ -0,0 +1,247 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Business
* 7C26094C-5352-4997-866A-FA618F2E5D27
*
* WenJY
*
* 2025-04-11 15:47:06
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System;
using System.Collections.Generic;
using Microsoft.Extensions.Logging;
using Newtonsoft.Json;
using Sln.Iot.Business.@base;
using Sln.Iot.Common;
using Sln.Iot.Config;
using Sln.Iot.Model.dao;
using Sln.Iot.Model.dto;
using Sln.Iot.Repository.service;
using Sln.Iot.Serilog;
using Sln.Iot.Socket.Adapter;
using TouchSocket.Core;
using TouchSocket.Sockets;
namespace Sln.Iot.Business
{
/// <summary>
/// 物联网环境:温度、湿度、照度、噪音、振动
/// </summary>
public class IotEnvBusiness:BaseBusiness
{
private readonly IRecordIotEnvInstantService? _service;
public IotEnvBusiness(SerilogHelper logger, AppConfig appConfig, StringChange stringChange, IRecordIotEnvInstantService? service) : base(logger, appConfig, stringChange)
{
_service = service;
}
public override FilterResult BufferAnalysis(ISocketClient client, BufferRequestInfo requestInfo, int bodyLength)
{
ByteBlock byteBlock = new ByteBlock(requestInfo.Body);
if (byteBlock.CanReadLen < 1)
{
return FilterResult.Cache;
}
int pos = byteBlock.Pos;
try
{
List<RecordIotEnvInstant> result = new List<RecordIotEnvInstant>();
var amount = requestInfo.BufferLength / bodyLength;
_logger.Info($"收到{amount}个物联网环境数据,开始循环解析......");
for (int i = 0; i < amount; i++)
{
RecordIotEnvInstant iotEnvInstant = new RecordIotEnvInstant();
#region 表号解析 Add By Wenjy 2024-04-18
byteBlock.Read(out byte[] b_MeterID, 2);
var MeterID_1 = "00" + Convert.ToInt32(b_MeterID[0]).ToString();
MeterID_1 = MeterID_1.Substring(MeterID_1.Length - 2, 2);
var MeterID_2 = "00" + Convert.ToInt32(b_MeterID[1]).ToString();
MeterID_2 = MeterID_2.Substring(MeterID_2.Length - 2, 2);
var equipId = requestInfo.ColletEquipCOde + "_" + MeterID_1 + MeterID_2;
#endregion
iotEnvInstant.monitorId = equipId;
#region 物联网参数解析 Add By Wenjy 2024-09-19
do
{
byteBlock.Read(out byte[] b_UA_flag, 2);
base._stringChange.ConvertBytesToUInt16(b_UA_flag, out uint flag);
switch (flag)
{
case CommParams.TTempreture: //温度
byteBlock.Read(out byte[] tempreture, 4);
base._stringChange.SwapBytes(ref tempreture);
float f_tempreture = BitConverter.ToSingle(tempreture, 0);
if (double.IsNaN(f_tempreture))
{
f_tempreture = 0;
}
iotEnvInstant.tempreture = (decimal) f_tempreture;
break;
case CommParams.Humidity: //湿度
byteBlock.Read(out byte[] humidity, 4);
base._stringChange.SwapBytes(ref humidity);
float f_humidity = BitConverter.ToSingle(humidity, 0);
if (double.IsNaN(f_humidity))
{
f_humidity = 0;
}
iotEnvInstant.humidity = (decimal) f_humidity;
break;
case CommParams.Noise: //噪音
byteBlock.Read(out byte[] noise, 4);
base._stringChange.SwapBytes(ref noise);
float f_noise = BitConverter.ToSingle(noise, 0);
if (double.IsNaN(f_noise))
{
f_noise = 0;
}
iotEnvInstant.noise = (decimal) f_noise;
break;
case CommParams.VibrationSpeed: //振动-速度
byteBlock.Read(out byte[] vibrationSpeed, 4);
base._stringChange.SwapBytes(ref vibrationSpeed);
float f_vibrationSpeed = BitConverter.ToSingle(vibrationSpeed, 0);
if (double.IsNaN(f_vibrationSpeed))
{
f_vibrationSpeed = 0;
}
iotEnvInstant.VibrationSpeed = (decimal) f_vibrationSpeed;
break;
case CommParams.VibrationDisplacement: //振动-位移
bodyLength = 58;
byteBlock.Read(out byte[] vibrationDisplacement, 4);
base._stringChange.SwapBytes(ref vibrationDisplacement);
float f_vibrationDisplacement = BitConverter.ToSingle(vibrationDisplacement, 0);
if (double.IsNaN(f_vibrationDisplacement))
{
f_vibrationDisplacement = 0;
}
iotEnvInstant.VibrationDisplacement = (decimal)f_vibrationDisplacement;
break;
case CommParams.VibrationAcceleration: //振动-加速度
byteBlock.Read(out byte[] vibrationAcceleration, 4);
base._stringChange.SwapBytes(ref vibrationAcceleration);
float f_vibrationAcceleration = BitConverter.ToSingle(vibrationAcceleration, 0);
if (double.IsNaN(f_vibrationAcceleration))
{
f_vibrationAcceleration = 0;
}
iotEnvInstant.VibrationAcceleration = (decimal)f_vibrationAcceleration;
break;
case CommParams.VibrationTemp: //振动-温度
byteBlock.Read(out byte[] vibrationTemp, 4);
base._stringChange.SwapBytes(ref vibrationTemp);
float f_vibrationTemp = BitConverter.ToSingle(vibrationTemp, 0);
if (double.IsNaN(f_vibrationTemp))
{
f_vibrationTemp = 0;
}
iotEnvInstant.VibrationTemp = (decimal)f_vibrationTemp;
break;
case CommParams.CJSJ:
byteBlock.Read(out byte[] b_CJSJ, 6);
string strDateTime = "20" + b_CJSJ[5].ToString("x2")
+ "-" + b_CJSJ[4].ToString("x2")
+ "-" + b_CJSJ[3].ToString("x2")
+ " " + b_CJSJ[2].ToString("x2")
+ ":" + b_CJSJ[1].ToString("x2")
+ ":" + b_CJSJ[0].ToString("x2");
iotEnvInstant.collectTime = Convert.ToDateTime(strDateTime);
break;
}
} while (byteBlock.Pos % bodyLength != 0);
#endregion
iotEnvInstant.recordTime = DateTime.Now;
var serializeObject = JsonConvert.SerializeObject(iotEnvInstant);
_logger.Info($"第{i+1}个物联网表{iotEnvInstant.monitorId}解析完成:{serializeObject}");
result.Add(iotEnvInstant);
}
if (result.Count > 0)
{
//var inRes = _service.Insert(result);
/*Task.Run(() => //保存至TD引擎
{
base.SaveDnbToTDengine(result);
this.RefreshMonitorInfo(result);
});*/
//_logger.Info($"{amount}个物联网数据解析处理完成,数据保存{(inRes ? "成功" : "失败")}");
}
else
{
_logger.Info($"{amount}个物联网数据解析处理完成,没有需要保存的数据");
}
return FilterResult.Success;
}
catch (Exception e)
{
base._logger.Error($"物联网数据解析异常:{e.Message}");
}
return FilterResult.Cache;
}
/// <summary>
/// 回复指令
/// </summary>
/// <param name="client"></param>
/// <param name="buffer"></param>
public override void ResponseHandle(ISocketClient client, byte[] buffer)
{
MessagePack SendMessagePackInfo = new MessagePack()
{
m_MessageType = 0xB5
};
base.GetMessagePack(ref SendMessagePackInfo, buffer);
base.SendMessageAsync(client,SendMessagePackInfo);
}
}
}

@ -0,0 +1,98 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Business
* 71034873-2FF6-4081-AC87-DFCCCCCF51F2
*
* WenJY
*
* 2025-04-11 16:03:28
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System;
using Microsoft.Extensions.Logging;
using Sln.Iot.Business.@base;
using Sln.Iot.Common;
using Sln.Iot.Config;
using Sln.Iot.Model.dto;
using Sln.Iot.Serilog;
using Sln.Iot.Socket.Adapter;
using TouchSocket.Core;
using TouchSocket.Sockets;
namespace Sln.Iot.Business
{
/// <summary>
/// 登录指令
/// </summary>
public class LoginBusiness:BaseBusiness
{
public LoginBusiness(SerilogHelper logger, AppConfig appConfig,StringChange stringChange) : base(logger, appConfig,stringChange)
{
}
/// <summary>
/// 指令解析
/// </summary>
/// <param name="client"></param>
/// <param name="requestInfo"></param>
/// <param name="bodyLength"></param>
/// <returns></returns>
public override FilterResult BufferAnalysis(ISocketClient client, BufferRequestInfo requestInfo, int bodyLength)
{
var flag = "";
byte[] bDeviceType = new byte[1];
byte[] bDeviceID = new byte[2];
Array.Copy(requestInfo.buffer, 1, bDeviceType, 0, 1);
Array.Copy(requestInfo.buffer, 2, bDeviceID, 0, 2);
flag = base._stringChange.ConverToString(bDeviceType);
flag += base._stringChange.ConverToString(bDeviceID);
string clientIdStr = flag.ToString();
if (clientIdStr.Contains("45"))
{
if (client.Id != clientIdStr)
{
client.ResetId(clientIdStr);
//更新客户端状态
}
}
return FilterResult.Success;
}
/// <summary>
/// 应答处理
/// </summary>
/// <param name="client"></param>
/// <param name="buffer"></param>
public override void ResponseHandle(ISocketClient client, byte[] buffer)
{
MessagePack SendMessagePackInfo = new MessagePack()
{
m_MessageType = 0xA1
};
base.GetMessagePack(ref SendMessagePackInfo,buffer);
base.SendMessageAsync(client, SendMessagePackInfo);
}
}
}

@ -0,0 +1,16 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Sln.Iot.Common\Sln.Iot.Common.csproj" />
<ProjectReference Include="..\Sln.Iot.Model\Sln.Iot.Model.csproj" />
<ProjectReference Include="..\Sln.Iot.Repository\Sln.Iot.Repository.csproj" />
<ProjectReference Include="..\Sln.Iot.Serilog\Sln.Iot.Serilog.csproj" />
<ProjectReference Include="..\Sln.Iot.Socket\Sln.Iot.Socket.csproj" />
</ItemGroup>
</Project>

@ -0,0 +1,134 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Business.base
* AA8CCDD9-6D6B-47B7-8309-5C9D41FFC822
*
* WenJY
*
* 2025-04-11 15:04:43
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System;
using Microsoft.Extensions.Logging;
using Sln.Iot.Common;
using Sln.Iot.Config;
using Sln.Iot.Model.dto;
using Sln.Iot.Serilog;
using Sln.Iot.Socket.Adapter;
using TouchSocket.Core;
using TouchSocket.Sockets;
namespace Sln.Iot.Business.@base
{
public abstract class BaseBusiness
{
public SerilogHelper _logger;
public AppConfig _appConfig;
public StringChange _stringChange;
public BaseBusiness(SerilogHelper logger,AppConfig appConfig,StringChange stringChange)
{
_logger = logger;
_appConfig = appConfig;
_stringChange = stringChange;
}
/// <summary>
/// 指令解析方法
/// </summary>
/// <param name="client"></param>
/// <param name="requestInfo"></param>
public abstract FilterResult BufferAnalysis(ISocketClient client,BufferRequestInfo requestInfo,int bodyLength);
/// <summary>
/// 应答响应
/// </summary>
/// <param name="client"></param>
/// <param name="messagePack"></param>
public abstract void ResponseHandle(ISocketClient client, byte[] buffer);
/// <summary>
/// 封装回复指令
/// </summary>
/// <param name="SendMessagePackInfo"></param>
/// <param name="buffer"></param>
public void GetMessagePack(ref MessagePack SendMessagePackInfo,byte[] buffer)
{
SendMessagePackInfo.m_EnergyType = buffer[1];
Array.Copy(buffer, 2, SendMessagePackInfo.m_Meteraddr, 0, 2);
Array.Copy(buffer, 4, SendMessagePackInfo.m_Msta, 0, 2);
SendMessagePackInfo.m_StartFlag = buffer[6];
}
/// <summary>
/// 发送接收成功指令
/// </summary>
/// <param name="client"></param>
/// <param name="pMessagePack"></param>
/// <returns></returns>
public bool SendMessageAsync(ISocketClient client, MessagePack pMessagePack,byte[] buffer = null)
{
ushort num = 0;
try
{
byte[] SendBuffer = new byte[12];
if (buffer != null)
{
SendBuffer = new byte[12 + buffer.Length];
}
SendBuffer[num] = pMessagePack.m_BeginChar;
num = (ushort)(num + 1);
SendBuffer[num] = pMessagePack.m_EnergyType;
num = (ushort)(num + 1);
Array.Copy(pMessagePack.m_Meteraddr, 0, SendBuffer, num, pMessagePack.m_Meteraddr.Length);
num = (ushort)(num + 2);
Array.Copy(pMessagePack.m_Msta, 0, SendBuffer, num, pMessagePack.m_Msta.Length);
num = (ushort)(num + 2);
SendBuffer[num] = pMessagePack.m_StartFlag;
num = (ushort)(num + 1);
SendBuffer[num] = pMessagePack.m_MessageType;
num = (ushort)(num + 1);
Array.Copy(pMessagePack.m_PackLen, 0, SendBuffer, num, pMessagePack.m_PackLen.Length);
num = (ushort)(num + 2);
if (buffer != null)
{
Array.Copy(buffer, 0, SendBuffer, num, buffer.Length);
num = (ushort)(num + buffer.Length);
}
pMessagePack.m_Verify = _stringChange.CalculateVerifyToArray(SendBuffer, SendBuffer.Length - 1)[0];
SendBuffer[num] = pMessagePack.m_Verify;
num = (ushort)(num + 1);
SendBuffer[num] = pMessagePack.m_EndChar;
_logger.Info($"向客户端:{client.Id};地址:{client.GetIPPort()};发送终端消息:{_stringChange.bytesToHexStr(SendBuffer, SendBuffer.Length)}");
client.SendAsync(SendBuffer);
return true;
}
catch (Exception ex)
{
_logger.Error($"SendMessageToClient异常{ex.Message}");
return false;
}
}
}
}

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

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Sln.Iot.Business")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Sln.Iot.Business")]
[assembly: System.Reflection.AssemblyTitleAttribute("Sln.Iot.Business")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Sln.Iot.Business
build_property.ProjectDir = /Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/

@ -0,0 +1,23 @@
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Business.deps.json
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Business.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Business.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Common.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Config.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Model.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Serilog.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Socket.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Common.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Model.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Serilog.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Socket.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Config.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.csproj.AssemblyReference.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.GeneratedMSBuildEditorConfig.editorconfig
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.AssemblyInfoInputs.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.AssemblyInfo.cs
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.csproj.CoreCompileInputs.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.csproj.CopyComplete
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/Debug/netstandard2.1/Sln.Iot.Business.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Repository.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/bin/Debug/netstandard2.1/Sln.Iot.Repository.pdb

@ -0,0 +1,444 @@
{
"format": 1,
"restore": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj": {}
},
"projects": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj",
"projectName": "Sln.Iot.Business",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj"
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj"
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj"
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj"
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"projectName": "Sln.Iot.Common",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"System.Drawing.Common": {
"target": "Package",
"version": "[6.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"projectName": "Sln.Iot.Config",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"Microsoft.Extensions.Options": {
"target": "Package",
"version": "[9.0.4, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj",
"projectName": "Sln.Iot.Model",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"SqlSugarCore": {
"target": "Package",
"version": "[5.1.4.188, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj",
"projectName": "Sln.Iot.Repository",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj"
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj",
"projectName": "Sln.Iot.Serilog",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"Serilog": {
"target": "Package",
"version": "[4.2.0, )"
},
"Serilog.AspNetCore": {
"target": "Package",
"version": "[9.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
},
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj",
"projectName": "Sln.Iot.Socket",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj": {
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"TouchSocket": {
"target": "Package",
"version": "[2.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
}
}
}

@ -0,0 +1,18 @@
<?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)' == '' ">/Users/wenxiansheng/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/wenxiansheng/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/Users/wenxiansheng/.nuget/packages/" />
</ItemGroup>
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<PkgTouchSocket_Core Condition=" '$(PkgTouchSocket_Core)' == '' ">/Users/wenxiansheng/.nuget/packages/touchsocket.core/2.0.0</PkgTouchSocket_Core>
</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">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)system.text.json/9.0.0/buildTransitive/netstandard2.0/System.Text.Json.targets" Condition="Exists('$(NuGetPackageRoot)system.text.json/9.0.0/buildTransitive/netstandard2.0/System.Text.Json.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options/9.0.4/buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options/9.0.4/buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.configuration.binder/9.0.0/buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.configuration.binder/9.0.0/buildTransitive/netstandard2.0/Microsoft.Extensions.Configuration.Binder.targets')" />
<Import Project="$(NuGetPackageRoot)microsoft.extensions.logging.abstractions/9.0.0/buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.logging.abstractions/9.0.0/buildTransitive/netstandard2.0/Microsoft.Extensions.Logging.Abstractions.targets')" />
</ImportGroup>
</Project>

File diff suppressed because it is too large Load Diff

@ -0,0 +1,111 @@
{
"version": 2,
"dgSpecHash": "MSQMXEapKhk=",
"success": true,
"projectFilePath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj",
"expectedPackageFiles": [
"/Users/wenxiansheng/.nuget/packages/azure.core/1.38.0/azure.core.1.38.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/azure.identity/1.11.4/azure.identity.1.11.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.aspnetcore.hosting.abstractions/2.2.0/microsoft.aspnetcore.hosting.abstractions.2.2.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.aspnetcore.hosting.server.abstractions/2.2.0/microsoft.aspnetcore.hosting.server.abstractions.2.2.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.aspnetcore.http.abstractions/2.2.0/microsoft.aspnetcore.http.abstractions.2.2.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.aspnetcore.http.features/2.2.0/microsoft.aspnetcore.http.features.2.2.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.bcl.asyncinterfaces/9.0.0/microsoft.bcl.asyncinterfaces.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.csharp/4.5.0/microsoft.csharp.4.5.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.data.sqlclient/5.2.2/microsoft.data.sqlclient.5.2.2.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.data.sqlclient.sni.runtime/5.2.0/microsoft.data.sqlclient.sni.runtime.5.2.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.data.sqlite/9.0.0/microsoft.data.sqlite.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.data.sqlite.core/9.0.0/microsoft.data.sqlite.core.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.configuration.abstractions/9.0.0/microsoft.extensions.configuration.abstractions.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.configuration.binder/9.0.0/microsoft.extensions.configuration.binder.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.dependencyinjection/9.0.0/microsoft.extensions.dependencyinjection.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/9.0.4/microsoft.extensions.dependencyinjection.abstractions.9.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.dependencymodel/9.0.0/microsoft.extensions.dependencymodel.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.diagnostics.abstractions/9.0.0/microsoft.extensions.diagnostics.abstractions.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.fileproviders.abstractions/9.0.0/microsoft.extensions.fileproviders.abstractions.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.hosting.abstractions/9.0.0/microsoft.extensions.hosting.abstractions.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.logging/9.0.0/microsoft.extensions.logging.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.logging.abstractions/9.0.0/microsoft.extensions.logging.abstractions.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.options/9.0.4/microsoft.extensions.options.9.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.primitives/9.0.4/microsoft.extensions.primitives.9.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identity.client/4.61.3/microsoft.identity.client.4.61.3.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identity.client.extensions.msal/4.61.3/microsoft.identity.client.extensions.msal.4.61.3.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identitymodel.abstractions/6.35.0/microsoft.identitymodel.abstractions.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identitymodel.jsonwebtokens/6.35.0/microsoft.identitymodel.jsonwebtokens.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identitymodel.logging/6.35.0/microsoft.identitymodel.logging.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identitymodel.protocols/6.35.0/microsoft.identitymodel.protocols.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identitymodel.protocols.openidconnect/6.35.0/microsoft.identitymodel.protocols.openidconnect.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.identitymodel.tokens/6.35.0/microsoft.identitymodel.tokens.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.netcore.platforms/1.1.1/microsoft.netcore.platforms.1.1.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.netcore.targets/1.1.3/microsoft.netcore.targets.1.1.3.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.sqlserver.server/1.0.0/microsoft.sqlserver.server.1.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.win32.registry/5.0.0/microsoft.win32.registry.5.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/mysqlconnector/2.2.5/mysqlconnector.2.2.5.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/newtonsoft.json/13.0.3/newtonsoft.json.13.0.3.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/npgsql/5.0.18/npgsql.5.0.18.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/oracle.manageddataaccess.core/3.21.100/oracle.manageddataaccess.core.3.21.100.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/oscar.data.sqlclient/4.0.4/oscar.data.sqlclient.4.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog/4.2.0/serilog.4.2.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.aspnetcore/9.0.0/serilog.aspnetcore.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.extensions.hosting/9.0.0/serilog.extensions.hosting.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.extensions.logging/9.0.0/serilog.extensions.logging.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.formatting.compact/3.0.0/serilog.formatting.compact.3.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.settings.configuration/9.0.0/serilog.settings.configuration.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.sinks.console/6.0.0/serilog.sinks.console.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.sinks.debug/3.0.0/serilog.sinks.debug.3.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/serilog.sinks.file/6.0.0/serilog.sinks.file.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlitepclraw.bundle_e_sqlite3/2.1.10/sqlitepclraw.bundle_e_sqlite3.2.1.10.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlitepclraw.core/2.1.10/sqlitepclraw.core.2.1.10.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlitepclraw.lib.e_sqlite3/2.1.10/sqlitepclraw.lib.e_sqlite3.2.1.10.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlitepclraw.provider.e_sqlite3/2.1.10/sqlitepclraw.provider.e_sqlite3.2.1.10.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlsugarcore/5.1.4.188/sqlsugarcore.5.1.4.188.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlsugarcore.dm/8.6.0/sqlsugarcore.dm.8.6.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/sqlsugarcore.kdbndp/9.3.7.311/sqlsugarcore.kdbndp.9.3.7.311.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.buffers/4.5.1/system.buffers.4.5.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.clientmodel/1.0.0/system.clientmodel.1.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.collections/4.3.0/system.collections.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.componentmodel.annotations/5.0.0/system.componentmodel.annotations.5.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.configuration.configurationmanager/6.0.1/system.configuration.configurationmanager.6.0.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.data.common/4.3.0/system.data.common.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.diagnostics.diagnosticsource/9.0.0/system.diagnostics.diagnosticsource.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.diagnostics.performancecounter/6.0.1/system.diagnostics.performancecounter.6.0.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.directoryservices/6.0.1/system.directoryservices.6.0.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.directoryservices.protocols/6.0.1/system.directoryservices.protocols.6.0.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.drawing.common/6.0.0/system.drawing.common.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.globalization/4.3.0/system.globalization.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.identitymodel.tokens.jwt/6.35.0/system.identitymodel.tokens.jwt.6.35.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.io/4.3.0/system.io.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.io.filesystem.accesscontrol/5.0.0/system.io.filesystem.accesscontrol.5.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.io.pipelines/9.0.0/system.io.pipelines.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.memory/4.5.5/system.memory.4.5.5.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.memory.data/1.0.2/system.memory.data.1.0.2.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.numerics.vectors/4.5.0/system.numerics.vectors.4.5.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.reflection/4.3.0/system.reflection.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.reflection.emit.ilgeneration/4.3.0/system.reflection.emit.ilgeneration.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.reflection.emit.lightweight/4.3.0/system.reflection.emit.lightweight.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.reflection.primitives/4.3.0/system.reflection.primitives.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.resources.resourcemanager/4.3.0/system.resources.resourcemanager.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.runtime/4.3.1/system.runtime.4.3.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.runtime.caching/6.0.0/system.runtime.caching.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.runtime.extensions/4.3.1/system.runtime.extensions.4.3.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.runtime.loader/4.3.0/system.runtime.loader.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.security.accesscontrol/6.0.0/system.security.accesscontrol.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.security.cryptography.cng/5.0.0/system.security.cryptography.cng.5.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.security.cryptography.protecteddata/6.0.0/system.security.cryptography.protecteddata.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.security.permissions/6.0.0/system.security.permissions.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.security.principal.windows/5.0.0/system.security.principal.windows.5.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.text.encoding/4.3.0/system.text.encoding.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.text.encoding.codepages/6.0.0/system.text.encoding.codepages.6.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.text.encodings.web/9.0.0/system.text.encodings.web.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.text.json/9.0.0/system.text.json.9.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.text.regularexpressions/4.3.1/system.text.regularexpressions.4.3.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.threading/4.3.0/system.threading.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.threading.channels/8.0.0/system.threading.channels.8.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.threading.tasks/4.3.0/system.threading.tasks.4.3.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.threading.tasks.extensions/4.5.4/system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/touchsocket/2.0.0/touchsocket.2.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/touchsocket.core/2.0.0/touchsocket.core.2.0.0.nupkg.sha512"
],
"logs": []
}

@ -0,0 +1 @@
"restore":{"projectUniqueName":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj","projectName":"Sln.Iot.Business","projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/Sln.Iot.Business.csproj","outputPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Business/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["netstandard2.1"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netstandard2.1":{"targetAlias":"netstandard2.1","projectReferences":{"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj":{"projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj"},"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj":{"projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Model/Sln.Iot.Model.csproj"},"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj":{"projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Repository/Sln.Iot.Repository.csproj"},"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj":{"projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Serilog/Sln.Iot.Serilog.csproj"},"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj":{"projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Socket/Sln.Iot.Socket.csproj"}}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netstandard2.1":{"targetAlias":"netstandard2.1","imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"NETStandard.Library":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"}}

@ -0,0 +1,8 @@
using System;
namespace Sln.Iot.Common
{
public class Class1
{
}
}

@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="System.Drawing.Common" Version="6.0.0" />
</ItemGroup>
</Project>

@ -0,0 +1,320 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Common
* 78FCCE90-A4C0-4DCC-AB23-7C21EC7ECE05
*
* WenJY
*
* 2025-04-11 15:06:46
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System;
using System.Drawing;
using System.IO;
using System.Linq;
using System.Text;
namespace Sln.Iot.Common
{
public class StringChange
{
/// <summary>
/// 将字符串强制转换成int转换失败则返回0
/// </summary>
/// <param name="str"></param>
/// <returns></returns>
public int ParseToInt(string str)
{
int returnInt = 0;
if (str == null || str.Trim().Length < 1)
{
return returnInt;
}
if (int.TryParse(str, out returnInt))
{
return returnInt;
}
else
{
return 0;
}
}
/// <summary>
/// char数组转Array
/// </summary>
/// <param name="cha"></param>
/// <param name="len"></param>
/// <returns></returns>
public string CharArrayToString(char[] cha, int len)
{
string str = "";
for (int i = 0; i < len; i++)
{
str += string.Format("{0}", cha[i]);
}
return str;
}
public byte[] HexStrTorbytes(string strHex)//e.g. " 01 01" ---> { 0x01, 0x01}
{
strHex = strHex.Replace(" ", "");
if ((strHex.Length % 2) != 0)
strHex += " ";
byte[] returnBytes = new byte[strHex.Length / 2];
for (int i = 0; i < returnBytes.Length; i++)
returnBytes[i] = Convert.ToByte(strHex.Substring(i * 2, 2), 16);
return returnBytes;
}
public string StringToHexString(string s, Encoding encode)
{
byte[] b = encode.GetBytes(s); //按照指定编码将string编程字节数组
string result = string.Empty;
for (int i = 0; i < b.Length; i++) //逐字节变为16进制字符以%隔开
{
result += "%" + Convert.ToString(b[i], 16);
}
return result;
}
public string HexStringToString(string hs, Encoding encode)
{
//以%分割字符串,并去掉空字符
string[] chars = hs.Split(new char[] { '%' }, StringSplitOptions.RemoveEmptyEntries);
byte[] b = new byte[chars.Length];
//逐个字符变为16进制字节数据
for (int i = 0; i < chars.Length; i++)
{
b[i] = Convert.ToByte(chars[i], 16);
}
//按照指定编码将字节数组变为字符串
return encode.GetString(b);
}
public byte[] Swap16Bytes(byte[] OldU16)
{
byte[] ReturnBytes = new byte[2];
ReturnBytes[1] = OldU16[0];
ReturnBytes[0] = OldU16[1];
return ReturnBytes;
}
/// <param name="strbase64">64Base码</param>
/// <param name="path">保存路径</param>
/// <param name="filename">文件名称</param>
/// <returns></returns>
public bool Base64ToImage(string strbase64, string path, string filename)
{
bool Flag = false;
try
{
//base64编码的文本 转为 图片
//图片名称
byte[] arr = Convert.FromBase64String(strbase64);//将指定的字符串(它将二进制数据编码为 Base64 数字)转换为等效的 8 位无符号整数数组。
using (MemoryStream ms = new MemoryStream(arr))
{
Bitmap bmp = new Bitmap(ms);//加载图像
if (!Directory.Exists(path))//判断保存目录是否存在
{
Directory.CreateDirectory(path);
}
bmp.Save((path + "\\" + filename + ".png"), System.Drawing.Imaging.ImageFormat.Png);//将图片以JPEG格式保存在指定目录(可以选择其他图片格式)
ms.Close();//关闭流并释放
if (File.Exists(path + "\\" + filename + ".png"))//判断是否存在
{
Flag = true;
}
}
}
catch (Exception ex)
{
Console.WriteLine("图片保存失败:" + ex.Message);
}
return Flag;
}
/// <summary>
/// 获取时间戳
/// </summary>
/// <returns></returns>
public long GetTimeStamp()
{
TimeSpan ts = DateTime.UtcNow - new DateTime(1970, 1, 1, 0, 0, 0, 0);
return Convert.ToInt64(ts.TotalSeconds);
}
public byte[] ConvertFloatToINt(byte[] floatBytes)
{
byte[] intBytes = new byte[floatBytes.Length / 2];
for (int i = 0; i < intBytes.Length; i++)
{
intBytes[i] = floatBytes[i * 2];
}
return intBytes;
}
//CRC异或校验
public byte CalculateVerify(byte[] pMessage, int iLength)
{
UInt16 i;
byte iVerify = 0;
iVerify = pMessage[0];
for (i = 1; i < iLength; i++)
{
iVerify = (byte)(iVerify ^ pMessage[i]);
}
return iVerify;
}
public int HexStringToNegative(string strNumber)
{
int iNegate = 0;
int iNumber = Convert.ToInt32(strNumber, 16);
if (iNumber > 127)
{
int iComplement = iNumber - 1;
string strNegate = string.Empty;
char[] binchar = Convert.ToString(iComplement, 2).PadLeft(8, '0').ToArray();
foreach (char ch in binchar)
{
if (Convert.ToInt32(ch) == 48)
{
strNegate += "1";
}
else
{
strNegate += "0";
}
}
iNegate = -Convert.ToInt32(strNegate, 2);
}
return iNegate;
}
/// <summary>
/// Byte[] 转 uint16
/// </summary>
/// <param name="buffer"></param>
/// <param name="falg"></param>
/// <exception cref="ArgumentException"></exception>
public void ConvertBytesToUInt16(byte[] buffer,out uint falg)
{
if (buffer == null || buffer.Length < 2)
{
throw new ArgumentException("Input array length must be at least 2.");
}
var input = buffer.Reverse().ToArray();
falg = (uint) ((input[1] << 8) | input[0]);
}
/// <summary>
/// Byte[] 移位转换
/// </summary>
/// <param name="input"></param>
/// <exception cref="ArgumentException"></exception>
public void SwapBytes(ref byte[] input)
{
if (input == null || input.Length % 2 != 0)
{
throw new ArgumentException("Input array length must be a multiple of 2.");
}
byte[] result = new byte[input.Length];
for (int j = 0; j < input.Length; j += 2)
{
ushort swapped = (ushort)((input[j + 1] << 8) | input[j]);
result[j] = (byte)(swapped >> 8);
result[j + 1] = (byte)swapped;
}
input = result;
}
/// <summary>
/// Byte[] 转string
/// </summary>
/// <param name="data"></param>
/// <returns></returns>
public string ConverToString(byte[] data)
{
string str;
StringBuilder stb = new StringBuilder();
for (int i = 0; i < data.Length; i++)
{
if ((int)data[i] > 15)
{
stb.Append(Convert.ToString(data[i], 16).ToUpper()); //添加字符串
}
else //如果是小于0F需要加个零
{
stb.Append("0" + Convert.ToString(data[i], 16).ToUpper());
}
}
str = stb.ToString();
return str;
}
/// <summary>
/// Byte[] 转 Hex
/// </summary>
/// <param name="bytes"></param>
/// <param name="iLen"></param>
/// <returns></returns>
public string bytesToHexStr(byte[] bytes, int iLen)
{
StringBuilder sb = new StringBuilder();
if (bytes != null)
{
for (int i = 0; i < iLen; i++)
{
sb.Append(bytes[i].ToString("X2"));
}
}
return sb.ToString();
}
/// <summary>
/// 校验计算
/// </summary>
/// <param name="pMessage"></param>
/// <param name="iLength"></param>
/// <returns></returns>
public byte[] CalculateVerifyToArray(byte[] pMessage, int iLength)
{
UInt16 i;
int iVerify = 0;
iVerify = pMessage[0];
for (i = 0; i < iLength - 1; i++)
{
iVerify = iVerify + pMessage[i + 1];
}
return BitConverter.GetBytes(Convert.ToUInt16(iVerify));
}
}
}

@ -0,0 +1,42 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.1/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Sln.Iot.Common/1.0.0": {
"dependencies": {
"System.Drawing.Common": "6.0.0"
},
"runtime": {
"Sln.Iot.Common.dll": {}
}
},
"System.Drawing.Common/6.0.0": {
"runtime": {
"lib/netstandard2.0/System.Drawing.Common.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
}
}
},
"libraries": {
"Sln.Iot.Common/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"System.Drawing.Common/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
"path": "system.drawing.common/6.0.0",
"hashPath": "system.drawing.common.6.0.0.nupkg.sha512"
}
}
}

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

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Sln.Iot.Common")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Sln.Iot.Common")]
[assembly: System.Reflection.AssemblyTitleAttribute("Sln.Iot.Common")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Sln.Iot.Common
build_property.ProjectDir = /Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/

@ -0,0 +1,10 @@
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/bin/Debug/netstandard2.1/Sln.Iot.Common.deps.json
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/bin/Debug/netstandard2.1/Sln.Iot.Common.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/bin/Debug/netstandard2.1/Sln.Iot.Common.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.csproj.AssemblyReference.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.GeneratedMSBuildEditorConfig.editorconfig
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.AssemblyInfoInputs.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.AssemblyInfo.cs
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.csproj.CoreCompileInputs.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/Debug/netstandard2.1/Sln.Iot.Common.pdb

@ -0,0 +1,67 @@
{
"format": 1,
"restore": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj": {}
},
"projects": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"projectName": "Sln.Iot.Common",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"System.Drawing.Common": {
"target": "Package",
"version": "[6.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
}
}
}

@ -0,0 +1,15 @@
<?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)' == '' ">/Users/wenxiansheng/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/wenxiansheng/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/Users/wenxiansheng/.nuget/packages/" />
</ItemGroup>
</Project>

@ -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" />

@ -0,0 +1,128 @@
{
"version": 3,
"targets": {
".NETStandard,Version=v2.1": {
"System.Drawing.Common/6.0.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/System.Drawing.Common.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Drawing.Common.dll": {
"related": ".xml"
}
}
}
}
},
"libraries": {
"System.Drawing.Common/6.0.0": {
"sha512": "NfuoKUiP2nUWwKZN6twGqXioIe1zVD0RIj2t976A+czLHr2nY454RwwXs6JU9Htc6mwqL6Dn/nEL3dpVf2jOhg==",
"type": "package",
"path": "system.drawing.common/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/System.Drawing.Common.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net461/System.Drawing.Common.dll",
"lib/net461/System.Drawing.Common.xml",
"lib/net6.0/System.Drawing.Common.dll",
"lib/net6.0/System.Drawing.Common.xml",
"lib/netcoreapp3.1/System.Drawing.Common.dll",
"lib/netcoreapp3.1/System.Drawing.Common.xml",
"lib/netstandard2.0/System.Drawing.Common.dll",
"lib/netstandard2.0/System.Drawing.Common.xml",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"runtimes/unix/lib/net6.0/System.Drawing.Common.dll",
"runtimes/unix/lib/net6.0/System.Drawing.Common.xml",
"runtimes/unix/lib/netcoreapp3.1/System.Drawing.Common.dll",
"runtimes/unix/lib/netcoreapp3.1/System.Drawing.Common.xml",
"runtimes/win/lib/net6.0/System.Drawing.Common.dll",
"runtimes/win/lib/net6.0/System.Drawing.Common.xml",
"runtimes/win/lib/netcoreapp3.1/System.Drawing.Common.dll",
"runtimes/win/lib/netcoreapp3.1/System.Drawing.Common.xml",
"system.drawing.common.6.0.0.nupkg.sha512",
"system.drawing.common.nuspec",
"useSharedDesignerContext.txt"
]
}
},
"projectFileDependencyGroups": {
".NETStandard,Version=v2.1": [
"System.Drawing.Common >= 6.0.0"
]
},
"packageFolders": {
"/Users/wenxiansheng/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"projectName": "Sln.Iot.Common",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"System.Drawing.Common": {
"target": "Package",
"version": "[6.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
}
}

@ -0,0 +1,10 @@
{
"version": 2,
"dgSpecHash": "YVLj3gBAa5E=",
"success": true,
"projectFilePath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj",
"expectedPackageFiles": [
"/Users/wenxiansheng/.nuget/packages/system.drawing.common/6.0.0/system.drawing.common.6.0.0.nupkg.sha512"
],
"logs": []
}

@ -0,0 +1 @@
"restore":{"projectUniqueName":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj","projectName":"Sln.Iot.Common","projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/Sln.Iot.Common.csproj","outputPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Common/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["netstandard2.1"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netstandard2.1":{"targetAlias":"netstandard2.1","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netstandard2.1":{"targetAlias":"netstandard2.1","dependencies":{"System.Drawing.Common":{"target":"Package","version":"[6.0.0, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"NETStandard.Library":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"}}

@ -0,0 +1,70 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Config
* 132376EA-435B-4340-B8F3-44D61AAE1E99
*
* WenJY
*
* 2025-04-11 10:54:31
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
using System.Collections.Generic;
using Microsoft.Extensions.Options;
namespace Sln.Iot.Config
{
public class AppConfig: IOptions<AppConfig>
{
/// <summary>
/// 日志文件路径
/// </summary>
public string logPath { get; set; }
/// <summary>
/// 电量采集时间间隔,单位:分钟
/// </summary>
public string CollectElectricTime { get; set; }
/// <summary>
/// 监听端口
/// </summary>
public int listernPort { get; set; }
/// <summary>
/// 虚拟值用于过滤FFFFFF
/// </summary>
public long virtualValue { get; set; }
/// <summary>
/// 是否启用虚拟值
/// </summary>
public bool virtualFlag { get; set; }
/// <summary>
/// Sql连接配置
/// </summary>
public List<SqlConfig> sqlConfig { get; set; }
/// <summary>
/// Redis配置
/// </summary>
public string redisConfig { get; set; }
public AppConfig Value => this;
}
}

@ -0,0 +1,12 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Microsoft.Extensions.Options" Version="9.0.4" />
</ItemGroup>
</Project>

@ -0,0 +1,50 @@
#region << 版 本 注 释 >>
/*--------------------------------------------------------------------
* (c) 2025 WenJY
* CLR4.0.30319.42000
* Mr.Wen's MacBook Pro
* Sln.Iot.Config
* E59D09B8-4750-4486-BB59-5983CD7FB394
*
* WenJY
*
* 2025-04-11 13:40:21
* V1.0.0
*
*
*--------------------------------------------------------------------
*
*
*
*
* V1.0.0
*--------------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
namespace Sln.Iot.Config
{
public class SqlConfig
{
/// <summary>
/// Sql 配置ID实体通过该ID关联数据源
/// </summary>
public string configId { get; set; }
/// <summary>
/// 数据库类型MySql-0;SqlServer-1;Sqlite-2;Oracle-3
/// </summary>
public int dbType { get; set; }
/// <summary>
/// 是否启用true-是false-否
/// </summary>
public bool isFlag{get;set;}
/// <summary>
/// 连接字符串
/// </summary>
public string connStr { get; set; }
}
}

@ -0,0 +1,161 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.1/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Sln.Iot.Config/1.0.0": {
"dependencies": {
"Microsoft.Extensions.Options": "9.0.4"
},
"runtime": {
"Sln.Iot.Config.dll": {}
}
},
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.4": {
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.425.16305"
}
}
},
"Microsoft.Extensions.Options/9.0.4": {
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.4",
"Microsoft.Extensions.Primitives": "9.0.4",
"System.ComponentModel.Annotations": "5.0.0"
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.425.16305"
}
}
},
"Microsoft.Extensions.Primitives/9.0.4": {
"dependencies": {
"System.Memory": "4.5.5",
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
"assemblyVersion": "9.0.0.0",
"fileVersion": "9.0.425.16305"
}
}
},
"System.Buffers/4.5.1": {
"runtime": {
"lib/netstandard2.0/System.Buffers.dll": {
"assemblyVersion": "4.0.3.0",
"fileVersion": "4.6.28619.1"
}
}
},
"System.ComponentModel.Annotations/5.0.0": {
"runtime": {
"lib/netstandard2.1/System.ComponentModel.Annotations.dll": {
"assemblyVersion": "5.0.0.0",
"fileVersion": "5.0.20.51904"
}
}
},
"System.Memory/4.5.5": {
"dependencies": {
"System.Buffers": "4.5.1",
"System.Numerics.Vectors": "4.4.0",
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"runtime": {
"lib/netstandard2.0/System.Memory.dll": {
"assemblyVersion": "4.0.1.2",
"fileVersion": "4.6.31308.1"
}
}
},
"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/6.0.0": {
"runtime": {
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
}
}
},
"libraries": {
"Sln.Iot.Config/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-UI0TQPVkS78bFdjkTodmkH0Fe8lXv9LnhGFKgKrsgUJ5a5FVdFRcgjIkBVLbGgdRhxWirxH/8IXUtEyYJx6GQg==",
"path": "microsoft.extensions.dependencyinjection.abstractions/9.0.4",
"hashPath": "microsoft.extensions.dependencyinjection.abstractions.9.0.4.nupkg.sha512"
},
"Microsoft.Extensions.Options/9.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fiFI2+58kicqVZyt/6obqoFwHiab7LC4FkQ3mmiBJ28Yy4fAvy2+v9MRnSvvlOO8chTOjKsdafFl/K9veCPo5g==",
"path": "microsoft.extensions.options/9.0.4",
"hashPath": "microsoft.extensions.options.9.0.4.nupkg.sha512"
},
"Microsoft.Extensions.Primitives/9.0.4": {
"type": "package",
"serviceable": true,
"sha512": "sha512-SPFyMjyku1nqTFFJ928JAMd0QnRe4xjE7KeKnZMWXf3xk+6e0WiOZAluYtLdbJUXtsl2cCRSi8cBquJ408k8RA==",
"path": "microsoft.extensions.primitives/9.0.4",
"hashPath": "microsoft.extensions.primitives.9.0.4.nupkg.sha512"
},
"System.Buffers/4.5.1": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
"path": "system.buffers/4.5.1",
"hashPath": "system.buffers.4.5.1.nupkg.sha512"
},
"System.ComponentModel.Annotations/5.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dMkqfy2el8A8/I76n2Hi1oBFEbG1SfxD2l5nhwXV3XjlnOmwxJlQbYpJH4W51odnU9sARCSAgv7S3CyAFMkpYg==",
"path": "system.componentmodel.annotations/5.0.0",
"hashPath": "system.componentmodel.annotations.5.0.0.nupkg.sha512"
},
"System.Memory/4.5.5": {
"type": "package",
"serviceable": true,
"sha512": "sha512-XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"path": "system.memory/4.5.5",
"hashPath": "system.memory.4.5.5.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/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"hashPath": "system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
}
}
}

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

@ -0,0 +1,22 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Sln.Iot.Config")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Sln.Iot.Config")]
[assembly: System.Reflection.AssemblyTitleAttribute("Sln.Iot.Config")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Generated by the MSBuild WriteCodeFragment class.

@ -0,0 +1,3 @@
is_global = true
build_property.RootNamespace = Sln.Iot.Config
build_property.ProjectDir = /Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/

@ -0,0 +1,20 @@
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/bin/Debug/netstandard2.1/Sln.Iot.Config.deps.json
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/bin/Debug/netstandard2.1/Sln.Iot.Config.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/bin/Debug/netstandard2.1/Sln.Iot.Config.pdb
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.csproj.AssemblyReference.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.GeneratedMSBuildEditorConfig.editorconfig
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.AssemblyInfoInputs.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.AssemblyInfo.cs
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.csproj.CoreCompileInputs.cache
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.dll
/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/Debug/netstandard2.1/Sln.Iot.Config.pdb
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\bin\Debug\netstandard2.1\Sln.Iot.Config.deps.json
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\bin\Debug\netstandard2.1\Sln.Iot.Config.dll
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\bin\Debug\netstandard2.1\Sln.Iot.Config.pdb
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.csproj.AssemblyReference.cache
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.GeneratedMSBuildEditorConfig.editorconfig
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.AssemblyInfoInputs.cache
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.AssemblyInfo.cs
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.csproj.CoreCompileInputs.cache
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.dll
\\Mac\Home\Public\WorkSpace\Mesnac\项目资料\IOT物联网数据采集\Sln.Iot\Sln.Iot.Config\obj\Debug\netstandard2.1\Sln.Iot.Config.pdb

@ -0,0 +1,67 @@
{
"format": 1,
"restore": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj": {}
},
"projects": {
"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"projectName": "Sln.Iot.Config",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"Microsoft.Extensions.Options": {
"target": "Package",
"version": "[9.0.4, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
}
}
}

@ -0,0 +1,15 @@
<?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)' == '' ">/Users/wenxiansheng/.nuget/packages/</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/Users/wenxiansheng/.nuget/packages/</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.12.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="/Users/wenxiansheng/.nuget/packages/" />
</ItemGroup>
</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">
<ImportGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<Import Project="$(NuGetPackageRoot)microsoft.extensions.options/9.0.4/buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets" Condition="Exists('$(NuGetPackageRoot)microsoft.extensions.options/9.0.4/buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets')" />
</ImportGroup>
</Project>

@ -0,0 +1,512 @@
{
"version": 3,
"targets": {
".NETStandard,Version=v2.1": {
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.4": {
"type": "package",
"compile": {
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll": {
"related": ".xml"
}
}
},
"Microsoft.Extensions.Options/9.0.4": {
"type": "package",
"dependencies": {
"Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.4",
"Microsoft.Extensions.Primitives": "9.0.4",
"System.ComponentModel.Annotations": "5.0.0"
},
"compile": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/Microsoft.Extensions.Options.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets": {}
}
},
"Microsoft.Extensions.Primitives/9.0.4": {
"type": "package",
"dependencies": {
"System.Memory": "4.5.5",
"System.Runtime.CompilerServices.Unsafe": "6.0.0"
},
"compile": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll": {
"related": ".xml"
}
}
},
"System.Buffers/4.5.1": {
"type": "package",
"compile": {
"ref/netstandard2.0/System.Buffers.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Buffers.dll": {
"related": ".xml"
}
}
},
"System.ComponentModel.Annotations/5.0.0": {
"type": "package",
"compile": {
"ref/netstandard2.1/System.ComponentModel.Annotations.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.1/System.ComponentModel.Annotations.dll": {
"related": ".xml"
}
}
},
"System.Memory/4.5.5": {
"type": "package",
"dependencies": {
"System.Buffers": "4.5.1",
"System.Numerics.Vectors": "4.4.0",
"System.Runtime.CompilerServices.Unsafe": "4.5.3"
},
"compile": {
"lib/netstandard2.0/System.Memory.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Memory.dll": {
"related": ".xml"
}
}
},
"System.Numerics.Vectors/4.4.0": {
"type": "package",
"compile": {
"ref/netstandard2.0/System.Numerics.Vectors.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Numerics.Vectors.dll": {
"related": ".xml"
}
}
},
"System.Runtime.CompilerServices.Unsafe/6.0.0": {
"type": "package",
"compile": {
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll": {
"related": ".xml"
}
}
}
}
},
"libraries": {
"Microsoft.Extensions.DependencyInjection.Abstractions/9.0.4": {
"sha512": "UI0TQPVkS78bFdjkTodmkH0Fe8lXv9LnhGFKgKrsgUJ5a5FVdFRcgjIkBVLbGgdRhxWirxH/8IXUtEyYJx6GQg==",
"type": "package",
"path": "microsoft.extensions.dependencyinjection.abstractions/9.0.4",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets",
"buildTransitive/net462/_._",
"buildTransitive/net8.0/_._",
"buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets",
"lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll",
"lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml",
"microsoft.extensions.dependencyinjection.abstractions.9.0.4.nupkg.sha512",
"microsoft.extensions.dependencyinjection.abstractions.nuspec",
"useSharedDesignerContext.txt"
]
},
"Microsoft.Extensions.Options/9.0.4": {
"sha512": "fiFI2+58kicqVZyt/6obqoFwHiab7LC4FkQ3mmiBJ28Yy4fAvy2+v9MRnSvvlOO8chTOjKsdafFl/K9veCPo5g==",
"type": "package",
"path": "microsoft.extensions.options/9.0.4",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"analyzers/dotnet/roslyn4.4/cs/Microsoft.Extensions.Options.SourceGeneration.dll",
"analyzers/dotnet/roslyn4.4/cs/cs/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/de/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/es/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/fr/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/it/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ja/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ko/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pl/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/pt-BR/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/ru/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/tr/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hans/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"analyzers/dotnet/roslyn4.4/cs/zh-Hant/Microsoft.Extensions.Options.SourceGeneration.resources.dll",
"buildTransitive/net461/Microsoft.Extensions.Options.targets",
"buildTransitive/net462/Microsoft.Extensions.Options.targets",
"buildTransitive/net8.0/Microsoft.Extensions.Options.targets",
"buildTransitive/netcoreapp2.0/Microsoft.Extensions.Options.targets",
"buildTransitive/netstandard2.0/Microsoft.Extensions.Options.targets",
"lib/net462/Microsoft.Extensions.Options.dll",
"lib/net462/Microsoft.Extensions.Options.xml",
"lib/net8.0/Microsoft.Extensions.Options.dll",
"lib/net8.0/Microsoft.Extensions.Options.xml",
"lib/net9.0/Microsoft.Extensions.Options.dll",
"lib/net9.0/Microsoft.Extensions.Options.xml",
"lib/netstandard2.0/Microsoft.Extensions.Options.dll",
"lib/netstandard2.0/Microsoft.Extensions.Options.xml",
"lib/netstandard2.1/Microsoft.Extensions.Options.dll",
"lib/netstandard2.1/Microsoft.Extensions.Options.xml",
"microsoft.extensions.options.9.0.4.nupkg.sha512",
"microsoft.extensions.options.nuspec",
"useSharedDesignerContext.txt"
]
},
"Microsoft.Extensions.Primitives/9.0.4": {
"sha512": "SPFyMjyku1nqTFFJ928JAMd0QnRe4xjE7KeKnZMWXf3xk+6e0WiOZAluYtLdbJUXtsl2cCRSi8cBquJ408k8RA==",
"type": "package",
"path": "microsoft.extensions.primitives/9.0.4",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"PACKAGE.md",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/net461/Microsoft.Extensions.Primitives.targets",
"buildTransitive/net462/_._",
"buildTransitive/net8.0/_._",
"buildTransitive/netcoreapp2.0/Microsoft.Extensions.Primitives.targets",
"lib/net462/Microsoft.Extensions.Primitives.dll",
"lib/net462/Microsoft.Extensions.Primitives.xml",
"lib/net8.0/Microsoft.Extensions.Primitives.dll",
"lib/net8.0/Microsoft.Extensions.Primitives.xml",
"lib/net9.0/Microsoft.Extensions.Primitives.dll",
"lib/net9.0/Microsoft.Extensions.Primitives.xml",
"lib/netstandard2.0/Microsoft.Extensions.Primitives.dll",
"lib/netstandard2.0/Microsoft.Extensions.Primitives.xml",
"microsoft.extensions.primitives.9.0.4.nupkg.sha512",
"microsoft.extensions.primitives.nuspec",
"useSharedDesignerContext.txt"
]
},
"System.Buffers/4.5.1": {
"sha512": "Rw7ijyl1qqRS0YQD/WycNst8hUUMgrMH4FCn1nNm27M4VxchZ1js3fVjQaANHO5f3sN4isvP4a+Met9Y4YomAg==",
"type": "package",
"path": "system.buffers/4.5.1",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/System.Buffers.dll",
"lib/net461/System.Buffers.xml",
"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",
"lib/uap10.0.16299/_._",
"ref/net45/System.Buffers.dll",
"ref/net45/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",
"ref/uap10.0.16299/_._",
"system.buffers.4.5.1.nupkg.sha512",
"system.buffers.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.ComponentModel.Annotations/5.0.0": {
"sha512": "dMkqfy2el8A8/I76n2Hi1oBFEbG1SfxD2l5nhwXV3XjlnOmwxJlQbYpJH4W51odnU9sARCSAgv7S3CyAFMkpYg==",
"type": "package",
"path": "system.componentmodel.annotations/5.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/MonoAndroid10/_._",
"lib/MonoTouch10/_._",
"lib/net45/_._",
"lib/net461/System.ComponentModel.Annotations.dll",
"lib/netcore50/System.ComponentModel.Annotations.dll",
"lib/netstandard1.4/System.ComponentModel.Annotations.dll",
"lib/netstandard2.0/System.ComponentModel.Annotations.dll",
"lib/netstandard2.1/System.ComponentModel.Annotations.dll",
"lib/netstandard2.1/System.ComponentModel.Annotations.xml",
"lib/portable-net45+win8/_._",
"lib/win8/_._",
"lib/xamarinios10/_._",
"lib/xamarinmac20/_._",
"lib/xamarintvos10/_._",
"lib/xamarinwatchos10/_._",
"ref/MonoAndroid10/_._",
"ref/MonoTouch10/_._",
"ref/net45/_._",
"ref/net461/System.ComponentModel.Annotations.dll",
"ref/net461/System.ComponentModel.Annotations.xml",
"ref/netcore50/System.ComponentModel.Annotations.dll",
"ref/netcore50/System.ComponentModel.Annotations.xml",
"ref/netcore50/de/System.ComponentModel.Annotations.xml",
"ref/netcore50/es/System.ComponentModel.Annotations.xml",
"ref/netcore50/fr/System.ComponentModel.Annotations.xml",
"ref/netcore50/it/System.ComponentModel.Annotations.xml",
"ref/netcore50/ja/System.ComponentModel.Annotations.xml",
"ref/netcore50/ko/System.ComponentModel.Annotations.xml",
"ref/netcore50/ru/System.ComponentModel.Annotations.xml",
"ref/netcore50/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netcore50/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/System.ComponentModel.Annotations.dll",
"ref/netstandard1.1/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/de/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/es/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/fr/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/it/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/ja/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/ko/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/ru/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netstandard1.1/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/System.ComponentModel.Annotations.dll",
"ref/netstandard1.3/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/de/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/es/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/fr/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/it/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/ja/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/ko/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/ru/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netstandard1.3/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/System.ComponentModel.Annotations.dll",
"ref/netstandard1.4/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/de/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/es/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/fr/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/it/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/ja/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/ko/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/ru/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/zh-hans/System.ComponentModel.Annotations.xml",
"ref/netstandard1.4/zh-hant/System.ComponentModel.Annotations.xml",
"ref/netstandard2.0/System.ComponentModel.Annotations.dll",
"ref/netstandard2.0/System.ComponentModel.Annotations.xml",
"ref/netstandard2.1/System.ComponentModel.Annotations.dll",
"ref/netstandard2.1/System.ComponentModel.Annotations.xml",
"ref/portable-net45+win8/_._",
"ref/win8/_._",
"ref/xamarinios10/_._",
"ref/xamarinmac20/_._",
"ref/xamarintvos10/_._",
"ref/xamarinwatchos10/_._",
"system.componentmodel.annotations.5.0.0.nupkg.sha512",
"system.componentmodel.annotations.nuspec",
"useSharedDesignerContext.txt",
"version.txt"
]
},
"System.Memory/4.5.5": {
"sha512": "XIWiDvKPXaTveaB7HVganDlOCRoj03l+jrwNvcge/t8vhGYKvqV+dMv6G4SAX2NoNmN0wZfVPTAlFwZcZvVOUw==",
"type": "package",
"path": "system.memory/4.5.5",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"lib/net461/System.Memory.dll",
"lib/net461/System.Memory.xml",
"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.5.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/6.0.0": {
"sha512": "/iUeP3tq1S0XdNNoMz5C9twLSrM/TH+qElHkXWaPvuNOt+99G75NrV0OS2EqHx5wMN7popYjpc8oTjC1y16DLg==",
"type": "package",
"path": "system.runtime.compilerservices.unsafe/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/System.Runtime.CompilerServices.Unsafe.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/net461/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net461/System.Runtime.CompilerServices.Unsafe.xml",
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/net6.0/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netcoreapp3.1/System.Runtime.CompilerServices.Unsafe.xml",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.dll",
"lib/netstandard2.0/System.Runtime.CompilerServices.Unsafe.xml",
"system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512",
"system.runtime.compilerservices.unsafe.nuspec",
"useSharedDesignerContext.txt"
]
}
},
"projectFileDependencyGroups": {
".NETStandard,Version=v2.1": [
"Microsoft.Extensions.Options >= 9.0.4"
]
},
"packageFolders": {
"/Users/wenxiansheng/.nuget/packages/": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"projectName": "Sln.Iot.Config",
"projectPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"packagesPath": "/Users/wenxiansheng/.nuget/packages/",
"outputPath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/",
"projectStyle": "PackageReference",
"configFilePaths": [
"/Users/wenxiansheng/.nuget/NuGet/NuGet.Config"
],
"originalTargetFrameworks": [
"netstandard2.1"
],
"sources": {
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.1": {
"targetAlias": "netstandard2.1",
"dependencies": {
"Microsoft.Extensions.Options": {
"target": "Package",
"version": "[9.0.4, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"frameworkReferences": {
"NETStandard.Library": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"
}
}
}
}

@ -0,0 +1,17 @@
{
"version": 2,
"dgSpecHash": "nkJAnpZKV1g=",
"success": true,
"projectFilePath": "/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj",
"expectedPackageFiles": [
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.dependencyinjection.abstractions/9.0.4/microsoft.extensions.dependencyinjection.abstractions.9.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.options/9.0.4/microsoft.extensions.options.9.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/microsoft.extensions.primitives/9.0.4/microsoft.extensions.primitives.9.0.4.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.buffers/4.5.1/system.buffers.4.5.1.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.componentmodel.annotations/5.0.0/system.componentmodel.annotations.5.0.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.memory/4.5.5/system.memory.4.5.5.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.numerics.vectors/4.4.0/system.numerics.vectors.4.4.0.nupkg.sha512",
"/Users/wenxiansheng/.nuget/packages/system.runtime.compilerservices.unsafe/6.0.0/system.runtime.compilerservices.unsafe.6.0.0.nupkg.sha512"
],
"logs": []
}

@ -0,0 +1 @@
"restore":{"projectUniqueName":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj","projectName":"Sln.Iot.Config","projectPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/Sln.Iot.Config.csproj","outputPath":"/Users/wenxiansheng/Public/WorkSpace/Mesnac/项目资料/IOT物联网数据采集/Sln.Iot/Sln.Iot.Config/obj/","projectStyle":"PackageReference","originalTargetFrameworks":["netstandard2.1"],"sources":{"https://api.nuget.org/v3/index.json":{}},"frameworks":{"netstandard2.1":{"targetAlias":"netstandard2.1","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]}}"frameworks":{"netstandard2.1":{"targetAlias":"netstandard2.1","dependencies":{"Microsoft.Extensions.Options":{"target":"Package","version":"[9.0.4, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"NETStandard.Library":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"/usr/local/share/dotnet/sdk/6.0.417/RuntimeIdentifierGraph.json"}}

@ -0,0 +1,8 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
<Nullable>enable</Nullable>
</PropertyGroup>
</Project>

@ -0,0 +1,24 @@
{
"runtimeTarget": {
"name": ".NETStandard,Version=v2.1/",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETStandard,Version=v2.1": {},
".NETStandard,Version=v2.1/": {
"Sln.Iot.Extensions/1.0.0": {
"runtime": {
"Sln.Iot.Extensions.dll": {}
}
}
}
},
"libraries": {
"Sln.Iot.Extensions/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
}
}
}

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

Loading…
Cancel
Save