修复提交

This commit is contained in:
赵正易 2025-04-22 15:26:25 +08:00
parent daf69f6a9d
commit 555ce4c4fb
29 changed files with 1376 additions and 1 deletions

1
.gitignore vendored
View File

@ -17,4 +17,3 @@
/linesider_screen_bankend/Tests/linesider_screen_bankend.Modules.ModuleName.Tests/bin/Debug/net6.0-windows
/linesider_screen_bankend/Tests/linesider_screen_bankend.Modules.ModuleName.Tests/obj/Debug/net6.0-windows
/.vs
/linesider_screen_tool

View File

@ -0,0 +1,272 @@
using System;
using System.Collections.Generic;
using BarTender;
namespace linesider_screen_tool
{
public class BartenderPrintHelper : IDisposable
{
private Application _btApp;
private Format _btFormat;
private bool _disposed = false;
/// <summary>
/// 初始化 Bartender 应用程序
/// </summary>
public BartenderPrintHelper()
{
try
{
_btApp = new Application();
}
catch (Exception ex)
{
throw new Exception("无法初始化 Bartender 应用程序。请确保 BarTender 已安装。", ex);
}
}
/// <summary>
/// 打印标签
/// </summary>
/// <param name="templatePath">标签模板路径</param>
/// <param name="subStringValues">标签变量键值对</param>
/// <param name="copies">打印份数</param>
/// <param name="serializedLabels">序列化标签数量</param>
/// <returns>是否打印成功</returns>
public bool PrintLabel(string templatePath, Dictionary<string, string> subStringValues, int copies = 1, int serializedLabels = 1)
{
if (_disposed)
throw new ObjectDisposedException("BartenderPrintHelper", "对象已被释放,不能执行打印操作。");
try
{
Console.WriteLine("正在启动 BarTender...");
// 2. 创建 BarTender 应用实例
var btApp = new Application();
// 3. 设置可见性(调试时建议开启)
// btApp.Visible = false; // 设置为 true 可以看到 BarTender 界面
Console.WriteLine("BarTender 启动成功!");
// 4. 打开模板文件
Console.WriteLine($"正在打开模板: {templatePath}");
Format btFormat = btApp.Formats.Open(templatePath);
Console.WriteLine("模板加载成功!");
// 5. 设置打印份数
btFormat.PrintSetup.NumberSerializedLabels = 1;
// 6. 设置变量值(添加日志输出)
Console.WriteLine("正在设置变量值...");
foreach (var a in subStringValues)
{
btFormat.SetNamedSubStringValue(a.Key, a.Value);
}
// 8. 执行打印
Console.WriteLine("正在发送打印任务...");
btFormat.PrintOut(false, false); // 不显示对话框,不等待打印完成
Console.WriteLine("打印任务已发送!");
// 9. 关闭模板
btFormat.Close(BtSaveOptions.btDoNotSaveChanges);
return true;
}
catch (Exception ex)
{
return false;
}
}
/// <summary>
/// 释放资源
/// </summary>
public void Dispose()
{
Dispose(true);
GC.SuppressFinalize(this);
}
protected virtual void Dispose(bool disposing)
{
if (!_disposed)
{
if (disposing)
{
// 清理托管资源
}
// 清理非托管资源
if (_btFormat != null)
{
_btFormat.Close(BtSaveOptions.btDoNotSaveChanges);
System.Runtime.InteropServices.Marshal.ReleaseComObject(_btFormat);
_btFormat = null;
}
if (_btApp != null)
{
_btApp.Quit(BtSaveOptions.btDoNotSaveChanges);
System.Runtime.InteropServices.Marshal.ReleaseComObject(_btApp);
_btApp = null;
}
_disposed = true;
}
}
/// <summary>
/// 批量打印多个List标签
/// </summary>
/// <param name="templatePath">标签模板路径</param>
/// <param name="items">包含多个标签数据的列表</param>
/// <param name="copiesPerItem">每个标签的打印份数</param>
/// <param name="serializedLabels">序列化标签数量</param>
/// <param name="getSubStringValues">从列表项获取标签变量的委托</param>
/// <returns>是否全部打印成功</returns>
public bool PrintLabels<T>(
string templatePath,
List<T> items,
int copiesPerItem = 1,
int serializedLabels = 1,
Func<T, Dictionary<string, string>> getSubStringValues = null)
{
if (_disposed)
throw new ObjectDisposedException("BartenderPrintHelper", "对象已被释放,不能执行打印操作。");
if (items == null || items.Count == 0)
return false;
try
{
// 打开标签模板
_btFormat = _btApp.Formats.Open(templatePath);
// 设置打印参数
_btFormat.PrintSetup.IdenticalCopiesOfLabel = copiesPerItem;
_btFormat.PrintSetup.NumberSerializedLabels = serializedLabels;
bool allSuccess = true;
// 遍历所有项目并打印
foreach (var item in items)
{
try
{
// 获取当前项的变量值
var subStringValues = getSubStringValues?.Invoke(item);
// 设置标签变量值
if (subStringValues != null)
{
foreach (var kvp in subStringValues)
{
_btFormat.SetNamedSubStringValue(kvp.Key, kvp.Value);
}
}
// 执行打印
_btFormat.PrintOut(false, false);
}
catch (Exception ex)
{
// 记录错误但继续打印其他项
allSuccess = false;
// 可以在这里添加日志记录
Console.WriteLine($"打印标签时出错: {ex.Message}");
}
}
return allSuccess;
}
catch (Exception ex)
{
throw new Exception($"批量打印标签时出错: {ex.Message}", ex);
}
finally
{
if (_btFormat != null)
{
_btFormat.Close(BtSaveOptions.btDoNotSaveChanges);
System.Runtime.InteropServices.Marshal.ReleaseComObject(_btFormat);
_btFormat = null;
}
}
}
/// <summary>
/// 批量打印多个标签(新增方法)
/// </summary>
/// <param name="templatePath">标签模板路径</param>
/// <param name="batchSubStringValues">多个标签的变量键值对列表</param>
/// <param name="copiesPerLabel">每个标签的打印份数</param>
/// <param name="serializedLabels">序列化标签数量</param>
/// <returns>是否全部打印成功</returns>
public bool PrintBatchLabels(
string templatePath,
List<Dictionary<string, string>> batchSubStringValues,
int copiesPerLabel = 1,
int serializedLabels = 1)
{
if (_disposed)
throw new ObjectDisposedException(nameof(BartenderPrintHelper), "对象已被释放,不能执行打印操作。");
if (batchSubStringValues == null || batchSubStringValues.Count == 0)
return false;
try
{
// 打开标签模板(只打开一次,提升性能)
_btFormat = _btApp.Formats.Open(templatePath);
_btFormat.PrintSetup.IdenticalCopiesOfLabel = copiesPerLabel;
_btFormat.PrintSetup.NumberSerializedLabels = serializedLabels;
bool allSuccess = true;
// 遍历所有标签数据并打印
foreach (var subStringValues in batchSubStringValues)
{
try
{
// 设置变量值
foreach (var kvp in subStringValues)
{
_btFormat.SetNamedSubStringValue(kvp.Key, kvp.Value);
}
// 执行打印(不关闭模板,继续复用)
_btFormat.PrintOut(false, false);
}
catch (Exception ex)
{
allSuccess = false;
// 可记录日志或抛出特定异常
Console.WriteLine($"打印标签时出错: {ex.Message}");
}
}
return allSuccess;
}
catch (Exception ex)
{
throw new Exception($"批量打印标签时出错: {ex.Message}", ex);
}
finally
{
// 确保释放资源
if (_btFormat != null)
{
_btFormat.Close(BtSaveOptions.btDoNotSaveChanges);
System.Runtime.InteropServices.Marshal.ReleaseComObject(_btFormat);
_btFormat = null;
}
}
}
~BartenderPrintHelper()
{
Dispose(false);
}
}
}

View File

@ -0,0 +1,172 @@

using MQTTnet;
using MQTTnet.Client;
using MQTTnet.Formatter;
using MQTTnet.Protocol;
using System;
using System.Collections.Concurrent;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
namespace linesider_screen_tool
{
public class MQTTHepler
{
public IMqttClient _mqttClient;
private MqttClientOptions _options;
private readonly string _clientId;
private readonly string _server;
private readonly int _port;
private readonly string _username;
private readonly string _password;
private readonly bool _cleanSession;
/// <summary>
/// 初始化 MQTT 客户端
/// </summary>
public MQTTHepler(string server, int port = 1883, string clientId = null,
string username = null, string password = null, bool cleanSession = true)
{
_server = server;
_port = port;
_clientId = clientId;
_username = username;
_password = password;
_cleanSession = cleanSession;
}
/// <summary>
/// 连接到 MQTT 服务器
/// </summary>
public async Task ConnectAsync()
{
if (_mqttClient != null && _mqttClient.IsConnected)
return;
var factory = new MqttFactory();
_mqttClient = factory.CreateMqttClient();
// 先注册事件处理器
//_mqttClient.ApplicationMessageReceivedAsync += HandleReceivedApplicationMessage;
var builder = new MqttClientOptionsBuilder()
.WithTcpServer(_server, _port)
.WithClientId(_clientId) // 确保指定了 ClientId
.WithCleanSession(_cleanSession);
if (!string.IsNullOrEmpty(_username))
builder.WithCredentials(_username, _password);
_options = builder.Build();
_mqttClient.DisconnectedAsync += async e =>
{
Console.WriteLine($"MQTT 断开: {e.Reason}");
await Task.Delay(5000);
await ReconnectAsync();
};
await _mqttClient.ConnectAsync(_options, CancellationToken.None);
Console.WriteLine("MQTT 连接成功");
}
/// <summary>
/// 订阅主题
/// </summary>
public async Task SubscribeAsync(string topic, MqttQualityOfServiceLevel qos = MqttQualityOfServiceLevel.AtLeastOnce)
{
if (_mqttClient == null || !_mqttClient.IsConnected)
await ConnectAsync();
var topicFilter = new MqttTopicFilterBuilder()
.WithTopic(topic)
.WithQualityOfServiceLevel(qos)
.Build();
var result = await _mqttClient.SubscribeAsync(topicFilter, CancellationToken.None);
Console.WriteLine($"订阅结果: {result.Items.First().ResultCode}");
}
/// <summary>
/// 发布消息
/// </summary>
public async Task PublishAsync(string topic, string payload,MqttQualityOfServiceLevel qos = MqttQualityOfServiceLevel.AtLeastOnce,
bool retain = false)
{
if (_mqttClient == null || !_mqttClient.IsConnected)
await ConnectAsync();
var message = new MqttApplicationMessageBuilder()
.WithTopic(topic)
.WithPayload(payload)
.WithQualityOfServiceLevel(qos)
.WithRetainFlag(retain)
.Build();
try
{
await _mqttClient.PublishAsync(message, CancellationToken.None);
Console.WriteLine($"已发布消息到主题 {topic}: {payload}");
}
catch (Exception ex)
{
Console.WriteLine($"发布消息失败: {ex.Message}");
throw;
}
}
/// <summary>
/// 取消订阅主题
/// </summary>
public async Task UnsubscribeAsync(string topic)
{
if (_mqttClient == null || !_mqttClient.IsConnected)
return;
try
{
await _mqttClient.UnsubscribeAsync(topic, CancellationToken.None);
Console.WriteLine($"已取消订阅主题: {topic}");
}
catch (Exception ex)
{
Console.WriteLine($"取消订阅主题失败: {ex.Message}");
throw;
}
}
private async Task ReconnectAsync()
{
try
{
await _mqttClient.ConnectAsync(_options, CancellationToken.None);
Console.WriteLine("MQTT 重新连接成功");
}
catch (Exception ex)
{
Console.WriteLine($"MQTT 重新连接失败: {ex.Message}");
}
}
public async Task DisconnectAsync()
{
if (_mqttClient == null || !_mqttClient.IsConnected)
return;
try
{
await _mqttClient.DisconnectAsync();
DisconnectAsync().Wait();
_mqttClient?.Dispose();
GC.SuppressFinalize(this);
Console.WriteLine("MQTT 已断开连接");
}
catch (Exception ex)
{
Console.WriteLine($"断开连接失败: {ex.Message}");
}
}
}
}

View File

@ -0,0 +1,87 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.IO.Ports;
using System.Text.RegularExpressions;
using MQTTnet;
using Newtonsoft.Json;
namespace linesider_screen_tool
{
public class SerialPortHepler:IDisposable
{
private SerialPort _serialPort;
// 内部缓冲区用于存储接收到的数据
private StringBuilder receiveBuffer = new StringBuilder();
public event Action<string> DataReceived;
public SerialPortHepler(string portName,int baudRaate,int parity,int dataBits,int stopBits)
{
_serialPort = new SerialPort(portName, baudRaate, (Parity)parity, dataBits, (StopBits)stopBits);
}
public async void Open()
{
if (_serialPort != null && _serialPort.IsOpen)
{
return;
}
try
{
_serialPort.Open();
_serialPort.DataReceived += SerialPort_DataReceived;
}
catch (Exception ex)
{
Console.WriteLine(ex.Message);
}
}
public void Close()
{
if (_serialPort == null || !_serialPort.IsOpen)
{
return;
}
try
{
_serialPort.DataReceived -= SerialPort_DataReceived;
_serialPort.Close();
}
catch (Exception ex)
{
Console.WriteLine(ex);
}
}
public void SerialPort_DataReceived(object sender, SerialDataReceivedEventArgs e)
{
string newData = _serialPort.ReadExisting();
receiveBuffer.Append(newData);
// 处理缓冲区中的数据
string bufferContent = receiveBuffer.ToString();
string[] lines = Regex.Split(bufferContent, @"\r\n|\n|\r", RegexOptions.None);
for (int i = 0; i < lines.Length - 1; i++)
{
string line = lines[i].Trim();
if (!string.IsNullOrEmpty(line))
DataReceived.Invoke(line); ;
}
// 将最后一行保留到缓冲区中
receiveBuffer.Clear();
if (lines.Length > 0)
{
receiveBuffer.Append(lines[lines.Length - 1]);
}
}
public void Dispose()
{
Close();
_serialPort?.Dispose();
_serialPort = null;
}
}
}

View File

@ -0,0 +1,186 @@
{
"runtimeTarget": {
"name": ".NETCoreApp,Version=v6.0",
"signature": ""
},
"compilationOptions": {},
"targets": {
".NETCoreApp,Version=v6.0": {
"linesider_screen_tool/1.0.0": {
"dependencies": {
"MQTTnet": "4.1.0.247",
"Newtonsoft.Json": "13.0.2",
"System.IO.Ports": "6.0.0"
},
"runtime": {
"linesider_screen_tool.dll": {}
}
},
"MQTTnet/4.1.0.247": {
"runtime": {
"lib/net6.0/MQTTnet.dll": {
"assemblyVersion": "4.1.0.247",
"fileVersion": "4.1.0.247"
}
}
},
"Newtonsoft.Json/13.0.2": {
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"assemblyVersion": "13.0.0.0",
"fileVersion": "13.0.2.27524"
}
}
},
"runtime.linux-arm.runtime.native.System.IO.Ports/6.0.0": {
"runtimeTargets": {
"runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-arm",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-arm64.runtime.native.System.IO.Ports/6.0.0": {
"runtimeTargets": {
"runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.linux-x64.runtime.native.System.IO.Ports/6.0.0": {
"runtimeTargets": {
"runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": {
"rid": "linux-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.native.System.IO.Ports/6.0.0": {
"dependencies": {
"runtime.linux-arm.runtime.native.System.IO.Ports": "6.0.0",
"runtime.linux-arm64.runtime.native.System.IO.Ports": "6.0.0",
"runtime.linux-x64.runtime.native.System.IO.Ports": "6.0.0",
"runtime.osx-arm64.runtime.native.System.IO.Ports": "6.0.0",
"runtime.osx-x64.runtime.native.System.IO.Ports": "6.0.0"
}
},
"runtime.osx-arm64.runtime.native.System.IO.Ports/6.0.0": {
"runtimeTargets": {
"runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": {
"rid": "osx-arm64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"runtime.osx-x64.runtime.native.System.IO.Ports/6.0.0": {
"runtimeTargets": {
"runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": {
"rid": "osx-x64",
"assetType": "native",
"fileVersion": "0.0.0.0"
}
}
},
"System.IO.Ports/6.0.0": {
"dependencies": {
"runtime.native.System.IO.Ports": "6.0.0"
},
"runtime": {
"lib/net6.0/System.IO.Ports.dll": {
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
},
"runtimeTargets": {
"runtimes/unix/lib/net6.0/System.IO.Ports.dll": {
"rid": "unix",
"assetType": "runtime",
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
},
"runtimes/win/lib/net6.0/System.IO.Ports.dll": {
"rid": "win",
"assetType": "runtime",
"assemblyVersion": "6.0.0.0",
"fileVersion": "6.0.21.52210"
}
}
}
}
},
"libraries": {
"linesider_screen_tool/1.0.0": {
"type": "project",
"serviceable": false,
"sha512": ""
},
"MQTTnet/4.1.0.247": {
"type": "package",
"serviceable": true,
"sha512": "sha512-Qlhj/+7AYQp0mEdisvRDAQWrpSXQ3gRa/T2XygNO4zOnk94cvamHzV/7OFLLDLNkGX7iDmFUnY5x+hIb/5HrKg==",
"path": "mqttnet/4.1.0.247",
"hashPath": "mqttnet.4.1.0.247.nupkg.sha512"
},
"Newtonsoft.Json/13.0.2": {
"type": "package",
"serviceable": true,
"sha512": "sha512-R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==",
"path": "newtonsoft.json/13.0.2",
"hashPath": "newtonsoft.json.13.0.2.nupkg.sha512"
},
"runtime.linux-arm.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-75q52H7CSpgIoIDwXb9o833EvBZIXJ0mdPhz1E6jSisEXUBlSCPalC29cj3EXsjpuDwr0dj1LRXZepIQH/oL4Q==",
"path": "runtime.linux-arm.runtime.native.system.io.ports/6.0.0",
"hashPath": "runtime.linux-arm.runtime.native.system.io.ports.6.0.0.nupkg.sha512"
},
"runtime.linux-arm64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-xn2bMThmXr3CsvOYmS8ex2Yz1xo+kcnhVg2iVhS9PlmqjZPAkrEo/I40wjrBZH/tU4kvH0s1AE8opAvQ3KIS8g==",
"path": "runtime.linux-arm64.runtime.native.system.io.ports/6.0.0",
"hashPath": "runtime.linux-arm64.runtime.native.system.io.ports.6.0.0.nupkg.sha512"
},
"runtime.linux-x64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-16nbNXwv0sC+gLGIuecri0skjuh6R1maIJggsaNP7MQBcbVcEfWFUOkEnsnvoLEjy0XerfibuRptfQ8AmdIcWA==",
"path": "runtime.linux-x64.runtime.native.system.io.ports/6.0.0",
"hashPath": "runtime.linux-x64.runtime.native.system.io.ports.6.0.0.nupkg.sha512"
},
"runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-KaaXlpOcuZjMdmyF5wzzx3b+PRKIzt6A5Ax9dKenPDQbVJAFpev+casD0BIig1pBcbs3zx7CqWemzUJKAeHdSQ==",
"path": "runtime.native.system.io.ports/6.0.0",
"hashPath": "runtime.native.system.io.ports.6.0.0.nupkg.sha512"
},
"runtime.osx-arm64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-fXG12NodG1QrCdoaeSQ1gVnk/koi4WYY4jZtarMkZeQMyReBm1nZlSRoPnUjLr2ZR36TiMjpcGnQfxymieUe7w==",
"path": "runtime.osx-arm64.runtime.native.system.io.ports/6.0.0",
"hashPath": "runtime.osx-arm64.runtime.native.system.io.ports.6.0.0.nupkg.sha512"
},
"runtime.osx-x64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-/As+zPY49+dSUXkh+fTUbyPhqrdGN//evLxo4Vue88pfh1BHZgF7q4kMblTkxYvwR6Vi03zSYxysSFktO8/SDQ==",
"path": "runtime.osx-x64.runtime.native.system.io.ports/6.0.0",
"hashPath": "runtime.osx-x64.runtime.native.system.io.ports.6.0.0.nupkg.sha512"
},
"System.IO.Ports/6.0.0": {
"type": "package",
"serviceable": true,
"sha512": "sha512-dRyGI7fUESar5ZLIpiBOaaNLW7YyOBGftjj5Of+xcduC/Rjl7RjhEnWDvvNBmHuF3d0tdXoqdVI/yrVA8f00XA==",
"path": "system.io.ports/6.0.0",
"hashPath": "system.io.ports.6.0.0.nupkg.sha512"
}
}
}

View File

@ -0,0 +1,27 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
</PropertyGroup>
<ItemGroup>
<COMReference Include="BarTender">
<WrapperTool>tlbimp</WrapperTool>
<VersionMinor>3</VersionMinor>
<VersionMajor>11</VersionMajor>
<Guid>d58562c1-e51b-11cf-8941-00a024a9083f</Guid>
<Lcid>0</Lcid>
<Isolated>false</Isolated>
<EmbedInteropTypes>true</EmbedInteropTypes>
</COMReference>
</ItemGroup>
<ItemGroup>
<PackageReference Include="MQTTnet" Version="4.1.0.247" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.2" />
<PackageReference Include="System.IO.Ports" Version="6.0.0" />
</ItemGroup>
</Project>

View File

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

View File

@ -0,0 +1,23 @@
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("linesider_screen_tool")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+1647984d51886fe4f743905af67a4bbc808e91e0")]
[assembly: System.Reflection.AssemblyProductAttribute("linesider_screen_tool")]
[assembly: System.Reflection.AssemblyTitleAttribute("linesider_screen_tool")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。

View File

@ -0,0 +1 @@
40a01cf4cfdc4af230114673f09cbdfa942d523bb9e1f52c34b4ab21098c8bbd

View File

@ -0,0 +1,15 @@
is_global = true
build_property.TargetFramework = net6.0
build_property.TargetPlatformMinVersion =
build_property.UsingMicrosoftNETSdkWeb =
build_property.ProjectTypeGuids =
build_property.InvariantGlobalization =
build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = linesider_screen_tool
build_property.ProjectDir = F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.EffectiveAnalysisLevelStyle = 6.0
build_property.EnableCodeStyleSeverity =

View File

@ -0,0 +1,8 @@
// <auto-generated/>
global using global::System;
global using global::System.Collections.Generic;
global using global::System.IO;
global using global::System.Linq;
global using global::System.Net.Http;
global using global::System.Threading;
global using global::System.Threading.Tasks;

View File

@ -0,0 +1 @@
624f5f27e3d0487decff92ad13ca8e87cf6e4b61dfce4b03d5c1712ff71fb3f2

View File

@ -0,0 +1,28 @@
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\bin\Debug\net6.0\linesider_screen_tool.deps.json
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\bin\Debug\net6.0\linesider_screen_tool.dll
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\bin\Debug\net6.0\linesider_screen_tool.pdb
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.csproj.AssemblyReference.cache
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.GeneratedMSBuildEditorConfig.editorconfig
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.AssemblyInfoInputs.cache
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.AssemblyInfo.cs
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.csproj.CoreCompileInputs.cache
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.dll
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\refint\linesider_screen_tool.dll
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.pdb
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\ref\linesider_screen_tool.dll
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\Interop.BarTender.dll
C:\Users\33134\Desktop\shgxtzcjhoudaosaomadayinwpf\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.csproj.ResolveComReference.cache
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\bin\Debug\net6.0\linesider_screen_tool.deps.json
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\bin\Debug\net6.0\linesider_screen_tool.dll
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\bin\Debug\net6.0\linesider_screen_tool.pdb
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.csproj.AssemblyReference.cache
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\Interop.BarTender.dll
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.csproj.ResolveComReference.cache
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.GeneratedMSBuildEditorConfig.editorconfig
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.AssemblyInfoInputs.cache
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.AssemblyInfo.cs
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.csproj.CoreCompileInputs.cache
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.dll
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\refint\linesider_screen_tool.dll
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\linesider_screen_tool.pdb
F:\Git仓库\上海干巷涂装车间-后道标签扫描-WPF\linesider_screen_tool\obj\Debug\net6.0\ref\linesider_screen_tool.dll

View File

@ -0,0 +1,101 @@
{
"format": 1,
"restore": {
"F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj": {}
},
"projects": {
"F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj",
"projectName": "linesider_screen_tool",
"projectPath": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"E:\\sk 2022\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"MQTTnet": {
"target": "Package",
"version": "[4.1.0.247, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.2, )"
},
"System.IO.Ports": {
"target": "Package",
"version": "[6.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.36, 6.0.36]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[6.0.36, 6.0.36]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[6.0.36, 6.0.36]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.203\\RuntimeIdentifierGraph.json"
}
}
}
}
}

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Administrator\.nuget\packages\;E:\sk 2022\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Administrator\.nuget\packages\" />
<SourceRoot Include="E:\sk 2022\NuGetPackages\" />
</ItemGroup>
</Project>

View File

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

View File

@ -0,0 +1,412 @@
{
"version": 3,
"targets": {
"net6.0": {
"MQTTnet/4.1.0.247": {
"type": "package",
"compile": {
"lib/net6.0/MQTTnet.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/MQTTnet.dll": {
"related": ".xml"
}
}
},
"Newtonsoft.Json/13.0.2": {
"type": "package",
"compile": {
"lib/net6.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/Newtonsoft.Json.dll": {
"related": ".xml"
}
}
},
"runtime.linux-arm.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"runtimeTargets": {
"runtimes/linux-arm/native/libSystem.IO.Ports.Native.so": {
"assetType": "native",
"rid": "linux-arm"
}
}
},
"runtime.linux-arm64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"runtimeTargets": {
"runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so": {
"assetType": "native",
"rid": "linux-arm64"
}
}
},
"runtime.linux-x64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"runtimeTargets": {
"runtimes/linux-x64/native/libSystem.IO.Ports.Native.so": {
"assetType": "native",
"rid": "linux-x64"
}
}
},
"runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"dependencies": {
"runtime.linux-arm.runtime.native.System.IO.Ports": "6.0.0",
"runtime.linux-arm64.runtime.native.System.IO.Ports": "6.0.0",
"runtime.linux-x64.runtime.native.System.IO.Ports": "6.0.0",
"runtime.osx-arm64.runtime.native.System.IO.Ports": "6.0.0",
"runtime.osx-x64.runtime.native.System.IO.Ports": "6.0.0"
}
},
"runtime.osx-arm64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"runtimeTargets": {
"runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib": {
"assetType": "native",
"rid": "osx-arm64"
}
}
},
"runtime.osx-x64.runtime.native.System.IO.Ports/6.0.0": {
"type": "package",
"runtimeTargets": {
"runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib": {
"assetType": "native",
"rid": "osx-x64"
}
}
},
"System.IO.Ports/6.0.0": {
"type": "package",
"dependencies": {
"runtime.native.System.IO.Ports": "6.0.0"
},
"compile": {
"lib/net6.0/System.IO.Ports.dll": {
"related": ".xml"
}
},
"runtime": {
"lib/net6.0/System.IO.Ports.dll": {
"related": ".xml"
}
},
"build": {
"buildTransitive/netcoreapp3.1/_._": {}
},
"runtimeTargets": {
"runtimes/unix/lib/net6.0/System.IO.Ports.dll": {
"assetType": "runtime",
"rid": "unix"
},
"runtimes/win/lib/net6.0/System.IO.Ports.dll": {
"assetType": "runtime",
"rid": "win"
}
}
}
}
},
"libraries": {
"MQTTnet/4.1.0.247": {
"sha512": "Qlhj/+7AYQp0mEdisvRDAQWrpSXQ3gRa/T2XygNO4zOnk94cvamHzV/7OFLLDLNkGX7iDmFUnY5x+hIb/5HrKg==",
"type": "package",
"path": "mqttnet/4.1.0.247",
"files": [
".nupkg.metadata",
".signature.p7s",
"lib/net452/MQTTnet.dll",
"lib/net452/MQTTnet.xml",
"lib/net461/MQTTnet.dll",
"lib/net461/MQTTnet.xml",
"lib/net5.0/MQTTnet.dll",
"lib/net5.0/MQTTnet.xml",
"lib/net6.0/MQTTnet.dll",
"lib/net6.0/MQTTnet.xml",
"lib/netcoreapp3.1/MQTTnet.dll",
"lib/netcoreapp3.1/MQTTnet.xml",
"lib/netstandard1.3/MQTTnet.dll",
"lib/netstandard1.3/MQTTnet.xml",
"lib/netstandard2.0/MQTTnet.dll",
"lib/netstandard2.0/MQTTnet.xml",
"lib/netstandard2.1/MQTTnet.dll",
"lib/netstandard2.1/MQTTnet.xml",
"lib/uap10.0.10240/MQTTnet.dll",
"lib/uap10.0.10240/MQTTnet.pri",
"lib/uap10.0.10240/MQTTnet.xml",
"mqttnet.4.1.0.247.nupkg.sha512",
"mqttnet.nuspec",
"nuget.png"
]
},
"Newtonsoft.Json/13.0.2": {
"sha512": "R2pZ3B0UjeyHShm9vG+Tu0EBb2lC8b0dFzV9gVn50ofHXh9Smjk6kTn7A/FdAsC8B5cKib1OnGYOXxRBz5XQDg==",
"type": "package",
"path": "newtonsoft.json/13.0.2",
"files": [
".nupkg.metadata",
".signature.p7s",
"LICENSE.md",
"README.md",
"lib/net20/Newtonsoft.Json.dll",
"lib/net20/Newtonsoft.Json.xml",
"lib/net35/Newtonsoft.Json.dll",
"lib/net35/Newtonsoft.Json.xml",
"lib/net40/Newtonsoft.Json.dll",
"lib/net40/Newtonsoft.Json.xml",
"lib/net45/Newtonsoft.Json.dll",
"lib/net45/Newtonsoft.Json.xml",
"lib/net6.0/Newtonsoft.Json.dll",
"lib/net6.0/Newtonsoft.Json.xml",
"lib/netstandard1.0/Newtonsoft.Json.dll",
"lib/netstandard1.0/Newtonsoft.Json.xml",
"lib/netstandard1.3/Newtonsoft.Json.dll",
"lib/netstandard1.3/Newtonsoft.Json.xml",
"lib/netstandard2.0/Newtonsoft.Json.dll",
"lib/netstandard2.0/Newtonsoft.Json.xml",
"newtonsoft.json.13.0.2.nupkg.sha512",
"newtonsoft.json.nuspec",
"packageIcon.png"
]
},
"runtime.linux-arm.runtime.native.System.IO.Ports/6.0.0": {
"sha512": "75q52H7CSpgIoIDwXb9o833EvBZIXJ0mdPhz1E6jSisEXUBlSCPalC29cj3EXsjpuDwr0dj1LRXZepIQH/oL4Q==",
"type": "package",
"path": "runtime.linux-arm.runtime.native.system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.linux-arm.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"runtime.linux-arm.runtime.native.system.io.ports.nuspec",
"runtimes/linux-arm/native/libSystem.IO.Ports.Native.so",
"useSharedDesignerContext.txt"
]
},
"runtime.linux-arm64.runtime.native.System.IO.Ports/6.0.0": {
"sha512": "xn2bMThmXr3CsvOYmS8ex2Yz1xo+kcnhVg2iVhS9PlmqjZPAkrEo/I40wjrBZH/tU4kvH0s1AE8opAvQ3KIS8g==",
"type": "package",
"path": "runtime.linux-arm64.runtime.native.system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.linux-arm64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"runtime.linux-arm64.runtime.native.system.io.ports.nuspec",
"runtimes/linux-arm64/native/libSystem.IO.Ports.Native.so",
"useSharedDesignerContext.txt"
]
},
"runtime.linux-x64.runtime.native.System.IO.Ports/6.0.0": {
"sha512": "16nbNXwv0sC+gLGIuecri0skjuh6R1maIJggsaNP7MQBcbVcEfWFUOkEnsnvoLEjy0XerfibuRptfQ8AmdIcWA==",
"type": "package",
"path": "runtime.linux-x64.runtime.native.system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.linux-x64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"runtime.linux-x64.runtime.native.system.io.ports.nuspec",
"runtimes/linux-x64/native/libSystem.IO.Ports.Native.so",
"useSharedDesignerContext.txt"
]
},
"runtime.native.System.IO.Ports/6.0.0": {
"sha512": "KaaXlpOcuZjMdmyF5wzzx3b+PRKIzt6A5Ax9dKenPDQbVJAFpev+casD0BIig1pBcbs3zx7CqWemzUJKAeHdSQ==",
"type": "package",
"path": "runtime.native.system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"runtime.native.system.io.ports.nuspec",
"useSharedDesignerContext.txt"
]
},
"runtime.osx-arm64.runtime.native.System.IO.Ports/6.0.0": {
"sha512": "fXG12NodG1QrCdoaeSQ1gVnk/koi4WYY4jZtarMkZeQMyReBm1nZlSRoPnUjLr2ZR36TiMjpcGnQfxymieUe7w==",
"type": "package",
"path": "runtime.osx-arm64.runtime.native.system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.osx-arm64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"runtime.osx-arm64.runtime.native.system.io.ports.nuspec",
"runtimes/osx-arm64/native/libSystem.IO.Ports.Native.dylib",
"useSharedDesignerContext.txt"
]
},
"runtime.osx-x64.runtime.native.System.IO.Ports/6.0.0": {
"sha512": "/As+zPY49+dSUXkh+fTUbyPhqrdGN//evLxo4Vue88pfh1BHZgF7q4kMblTkxYvwR6Vi03zSYxysSFktO8/SDQ==",
"type": "package",
"path": "runtime.osx-x64.runtime.native.system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"runtime.osx-x64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"runtime.osx-x64.runtime.native.system.io.ports.nuspec",
"runtimes/osx-x64/native/libSystem.IO.Ports.Native.dylib",
"useSharedDesignerContext.txt"
]
},
"System.IO.Ports/6.0.0": {
"sha512": "dRyGI7fUESar5ZLIpiBOaaNLW7YyOBGftjj5Of+xcduC/Rjl7RjhEnWDvvNBmHuF3d0tdXoqdVI/yrVA8f00XA==",
"type": "package",
"path": "system.io.ports/6.0.0",
"files": [
".nupkg.metadata",
".signature.p7s",
"Icon.png",
"LICENSE.TXT",
"THIRD-PARTY-NOTICES.TXT",
"buildTransitive/netcoreapp2.0/System.IO.Ports.targets",
"buildTransitive/netcoreapp3.1/_._",
"lib/net461/System.IO.Ports.dll",
"lib/net461/System.IO.Ports.xml",
"lib/net6.0/System.IO.Ports.dll",
"lib/net6.0/System.IO.Ports.xml",
"lib/netstandard2.0/System.IO.Ports.dll",
"lib/netstandard2.0/System.IO.Ports.xml",
"runtimes/unix/lib/net6.0/System.IO.Ports.dll",
"runtimes/unix/lib/net6.0/System.IO.Ports.xml",
"runtimes/unix/lib/netstandard2.0/System.IO.Ports.dll",
"runtimes/unix/lib/netstandard2.0/System.IO.Ports.xml",
"runtimes/win/lib/net461/System.IO.Ports.dll",
"runtimes/win/lib/net461/System.IO.Ports.xml",
"runtimes/win/lib/net6.0/System.IO.Ports.dll",
"runtimes/win/lib/net6.0/System.IO.Ports.xml",
"runtimes/win/lib/netstandard2.0/System.IO.Ports.dll",
"runtimes/win/lib/netstandard2.0/System.IO.Ports.xml",
"system.io.ports.6.0.0.nupkg.sha512",
"system.io.ports.nuspec",
"useSharedDesignerContext.txt"
]
}
},
"projectFileDependencyGroups": {
"net6.0": [
"MQTTnet >= 4.1.0.247",
"Newtonsoft.Json >= 13.0.2",
"System.IO.Ports >= 6.0.0"
]
},
"packageFolders": {
"C:\\Users\\Administrator\\.nuget\\packages\\": {},
"E:\\sk 2022\\NuGetPackages": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj",
"projectName": "linesider_screen_tool",
"projectPath": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj",
"packagesPath": "C:\\Users\\Administrator\\.nuget\\packages\\",
"outputPath": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"E:\\sk 2022\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Administrator\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"net6.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
},
"SdkAnalysisLevel": "9.0.200"
},
"frameworks": {
"net6.0": {
"targetAlias": "net6.0",
"dependencies": {
"MQTTnet": {
"target": "Package",
"version": "[4.1.0.247, )"
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.2, )"
},
"System.IO.Ports": {
"target": "Package",
"version": "[6.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48",
"net481"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.36, 6.0.36]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[6.0.36, 6.0.36]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[6.0.36, 6.0.36]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.203\\RuntimeIdentifierGraph.json"
}
}
}
}

View File

@ -0,0 +1,21 @@
{
"version": 2,
"dgSpecHash": "8VjwoYLsQ3c=",
"success": true,
"projectFilePath": "F:\\Git仓库\\上海干巷涂装车间-后道标签扫描-WPF\\linesider_screen_tool\\linesider_screen_tool.csproj",
"expectedPackageFiles": [
"C:\\Users\\Administrator\\.nuget\\packages\\mqttnet\\4.1.0.247\\mqttnet.4.1.0.247.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\newtonsoft.json\\13.0.2\\newtonsoft.json.13.0.2.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.linux-arm.runtime.native.system.io.ports\\6.0.0\\runtime.linux-arm.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.linux-arm64.runtime.native.system.io.ports\\6.0.0\\runtime.linux-arm64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.linux-x64.runtime.native.system.io.ports\\6.0.0\\runtime.linux-x64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.native.system.io.ports\\6.0.0\\runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.osx-arm64.runtime.native.system.io.ports\\6.0.0\\runtime.osx-arm64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\runtime.osx-x64.runtime.native.system.io.ports\\6.0.0\\runtime.osx-x64.runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\system.io.ports\\6.0.0\\system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\6.0.36\\microsoft.windowsdesktop.app.ref.6.0.36.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\microsoft.netcore.app.ref\\6.0.36\\microsoft.netcore.app.ref.6.0.36.nupkg.sha512",
"C:\\Users\\Administrator\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\6.0.36\\microsoft.aspnetcore.app.ref.6.0.36.nupkg.sha512"
],
"logs": []
}