Commit 0f0a8474 authored by 谭长生's avatar 谭长生

20220614提交

parent 7af2ac70
using Jtext103.CFET2.Things.BasicAIModel;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jtext103.CFET2.Things.STM32AiLib
{
/// <summary>
/// 从配置文件中读取属性,配置简仪AI任务
/// </summary>
public static class STM32AIConfigMapper
{
/// <summary>
/// 使用AIChannelConfiguration进行简仪采集卡通道配置
/// </summary>
/// <param name="jyTask">需要配置的简仪采集卡任务</param>
/// <param name="channelConfiguration">通道配置</param>
public static void MapAndConfigChannel(JYPXI62022AITask jyTask, AIChannelConfiguration channelConfiguration)
{
//简仪采集卡通道用int表示,应该是一个int的集合
var channels = AIChannelNameTranslator.StringToListInt(channelConfiguration.ChannelName);
for (int i = 0; i < channels.Count(); i++)
{
jyTask.AddChannel(channels[i], channelConfiguration.MinimumValue, channelConfiguration.MaximumValue);
}
}
/// <summary>
/// 使用AIClockConfiguration进行简仪采集卡时钟配置
/// </summary>
/// <param name="jyTask">需要配置的简仪采集卡任务</param>
/// <param name="clockConfiguration">时钟配置</param>
public static void MapAndConfigClock(JYPXI62022AITask jyTask, AIClockConfiguration clockConfiguration)
{
//if (Enum.Parse(typeof(AIClockSource), clockConfiguration.ClkSource.ToString()).Equals(AIClockSource.Internal))
if (Enum.ToObject(typeof(AIClockSource), 0).Equals(AIClockSource.Internal))
{
//用内部时钟
jyTask.ClockSource = AIClockSource.Internal;
}
else
{
//ClockSource具体怎么改,只能找简仪要范例
throw new Exception("我还不知道怎么用外部时钟,咨询简仪吧!");
}
//采样率
jyTask.SampleRate = clockConfiguration.SampleRate;
//采样方式(有限、无限、单点)
switch (clockConfiguration.SampleMode)
{
case AIClockSampleMode.ContinuousSamples:
jyTask.Mode = AIMode.Continuous;
break;
case AIClockSampleMode.FiniteSamples:
jyTask.Mode = AIMode.Finite;
//每通道采样数
jyTask.SamplesToAcquire = clockConfiguration.Length;
break;
default:
throw new Exception("该简仪采集卡采样方式配置错误!");
}
//时钟边沿
jyTask.ClockEdge = AIClockEdge.Rising;
}
/// <summary>
/// 使用AITriggerConfiguration进行简仪采集卡触发及多卡同步配置
/// </summary>
/// <param name="jyTask">需要配置的简仪采集卡任务</param>
/// <param name="triggerConfiguration">触发配置</param>
public static void MapAndConfigTrigger(JYPXI62022AITask jyTask, AITriggerConfiguration triggerConfiguration)
{
//加了主卡带从卡的时候,如果从卡采样率设满,从卡有时触发不了
//jyTask.Trigger.Mode = AITriggerMode.Start;
//jyTask.Trigger.ReTriggerCount = 0;
//jyTask.Trigger.PreTriggerSamples = 0;
//jyTask.Trigger.Delay = 0;
switch (triggerConfiguration.TriggerType)
{
case BasicAIModel.AITriggerType.Immediate:
//无触发
jyTask.Trigger.Type = JYPXI62022.AITriggerType.Immediate;
break;
case BasicAIModel.AITriggerType.Digital:
//外部数字触发
jyTask.Trigger.Type = JYPXI62022.AITriggerType.Digital;
//触发边沿
jyTask.Trigger.Digital.Edge = AIDigitalTriggerEdge.Rising;
//触发源
jyTask.Trigger.Digital.Source = (AIDigitalTriggerSource)Enum.ToObject(typeof(AIDigitalTriggerSource), int.Parse((string)triggerConfiguration.TriggerSource));
jyTask.Trigger.Delay = triggerConfiguration.Delay * 1000000;
break;
case BasicAIModel.AITriggerType.Analog:
throw new Exception("该简仪采集卡无法使用模拟触发!");
default:
throw new Exception("触发方式配置错误!");
}
//主从卡不同,配置不同
switch (triggerConfiguration.MasterOrSlave)
{
case AITriggerMasterOrSlave.NonSync:
//不需要设置主从
jyTask.Sync.Topology = SyncTopology.Independent;
break;
case AITriggerMasterOrSlave.Master:
jyTask.Sync.Topology = SyncTopology.Master;
//主卡需要触发路由
jyTask.Trigger.Digital.Source = AIDigitalTriggerSource.Trig_IO;
//SSI的意思就是背板某条触发总线,驱动底层自动map
jyTask.Sync.TriggerRouting = SyncTriggerRouting.SSI;
jyTask.Sync.TimeBaseRouting = SyncTimeBaseRouting.SSI;
break;
case AITriggerMasterOrSlave.Slave:
jyTask.Sync.Topology = SyncTopology.Slave;
//从卡不需要配置触发路由
jyTask.Sync.TriggerRouting = SyncTriggerRouting.SSI;
jyTask.Sync.TimeBaseRouting = SyncTimeBaseRouting.SSI;
//覆盖之前设置的触发属性,应为digitial触发,触发源SSI
jyTask.Trigger.Type = JYPXI62022.AITriggerType.Digital;
jyTask.Trigger.Digital.Edge = AIDigitalTriggerEdge.Rising;
jyTask.Trigger.Digital.Source = AIDigitalTriggerSource.SSI;
break;
default:
throw new Exception("该简仪采集卡触发主从设置错误!");
}
}
/// <summary>
/// 配置简仪采集卡AI任务触发、同步、通道、时钟等各项属性
/// </summary>
/// <param name="jyTask"></param>
/// <param name="basicAIConifg"></param>
public static void MapAndConfigAll(JYPXI62022AITask jyTask, BasicAIStaticConfig basicAIConifg)
{
MapAndConfigChannel(jyTask, basicAIConifg.ChannelConfig);
MapAndConfigClock(jyTask, basicAIConifg.ClockConfig);
MapAndConfigTrigger(jyTask, basicAIConifg.TriggerConfig);
}
}
}
This diff is collapsed.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Jtext103.CFET2.Things.BasicAIModel;
namespace Jtext103.CFET2.Things.STM32AiLib
{
public static class STM32AIConfigMapper
{
/// <summary>
/// 使用AIChannelConfiguration进行简仪采集卡通道配置
/// </summary>
/// <param name="jyTask">需要配置的简仪采集卡任务</param>
/// <param name="channelConfiguration">通道配置</param>
public static void MapAndConfigChannel(AIChannelConfiguration channelConfiguration)
{
//简仪采集卡通道用int表示,应该是一个int的集合
//var channels = AIChannelNameTranslator.StringToListInt(channelConfiguration.ChannelName);
string[] channels = channelConfiguration.ChannelName.Split(',');
for (int i = 0; i < channels.Count(); i++)
{
// 开启ADC采集通道,待写!!!!!!!!!!!
// 还有 ChannelCount MinimumValue MaximumValue 参数
}
}
/// <summary>
/// 使用AIClockConfiguration进行简仪采集卡时钟配置
/// </summary>
/// <param name="jyTask">需要配置的简仪采集卡任务</param>
/// <param name="clockConfiguration">时钟配置</param>
public static void MapAndConfigClock(AIClockConfiguration clockConfiguration)
{
//采样率
int samleRate = (int)clockConfiguration.SampleRate;
//采样方式(有限、无限、单点)
switch (clockConfiguration.SampleMode)
{
case AIClockSampleMode.ContinuousSamples:
// 模式为1,连续采集
STM32AI.megToDo("202");
STM32AI.MAX_N = -1;
break;
case AIClockSampleMode.FiniteSamples:
// 模式为0,有限采集
//每通道采样数
int getNum = clockConfiguration.Length;
STM32AI.megToDo("201", getNum);
STM32AI.MAX_N = getNum;
break;
default:
throw new Exception("该简仪采集卡采样方式配置错误!");
}
}
/// <summary>
/// 使用AITriggerConfiguration进行简仪采集卡触发及多卡同步配置
/// </summary>
/// <param name="jyTask">需要配置的简仪采集卡任务</param>
/// <param name="triggerConfiguration">触发配置</param>
public static void MapAndConfigTrigger(AITriggerConfiguration triggerConfiguration)
{
switch (triggerConfiguration.TriggerType)
{
case BasicAIModel.AITriggerType.Immediate:
// 0 无触发
STM32AI.megToDo("302");
break;
case BasicAIModel.AITriggerType.Digital:
// 1 外部数字触发,有参数触发源 TriggerSource
STM32AI.megToDo("300");
break;
case BasicAIModel.AITriggerType.Analog:
// 2 ...
throw new Exception("该简仪采集卡无法使用模拟触发!");
default:
throw new Exception("触发方式配置错误!");
}
//主从卡...
switch (triggerConfiguration.MasterOrSlave)
{
case AITriggerMasterOrSlave.NonSync:
//不需要设置主从
break;
default:
throw new Exception("触发主从设置错误!");
}
}
/// <summary>
/// 配置简仪采集卡AI任务触发、同步、通道、时钟等各项属性
/// </summary>
/// <param name="jyTask"></param>
/// <param name="basicAIConifg"></param>
public static void MapAndConfigAll(BasicAIStaticConfig basicAIConifg)
{
MapAndConfigChannel(basicAIConifg.ChannelConfig);
MapAndConfigClock(basicAIConifg.ClockConfig);
MapAndConfigTrigger(basicAIConifg.TriggerConfig);
}
}
}
using Jtext103.CFET2.Things.BasicAIModel;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Jtext103.CFET2.Things.STM32AiLib
{
public class STM32AIStaticConfig : BasicAIStaticConfig
{
/// <summary>
/// 使用默认参数初始化配置文件属性
/// 部署到全新系统时使用该方法产生默认配置文件,并可在此基础上手动修改
/// 其余情况务必使用有参构造函数通过配置文件构造该类实例
/// </summary>
public STM32AIStaticConfig()
{
TriggerConfig = new AITriggerConfiguration();
ClockConfig = new AIClockConfiguration();
ChannelConfig = new AIChannelConfiguration();
}
/// <summary>
/// 通过配置文件构造实例
/// </summary>
/// <param name="filePath"></param>
public STM32AIStaticConfig(string filePath)
{
STM32AIStaticConfig config = (STM32AIStaticConfig)InitFromConfigFile(filePath);
CardType = config.CardType;
TriggerConfig = config.TriggerConfig;
ClockConfig = config.ClockConfig;
ChannelConfig = config.ChannelConfig;
StartTime = config.StartTime;
AutoWriteDataToFile = config.AutoWriteDataToFile;
DataFileParentDirectory = config.DataFileParentDirectory;
RemainShotsMax = config.RemainShotsMax;
RemainShotsMin = config.RemainShotsMin;
Enable = config.Enable;
}
}
}
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>
<OutputType>Library</OutputType>
</PropertyGroup>
<ItemGroup>
<Compile Remove="JYAIConfigMapper.cs" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="System.Device.Gpio" Version="2.1.0" />
<PackageReference Include="System.IO.Ports" Version="6.0.0" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\BasicAIModel\BasicAIModel.csproj" />
</ItemGroup>
</Project>
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyTitleAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。
is_global = true
build_property.RootNamespace = STM32DAQAI
build_property.ProjectDir = D:\Desktop\cfet2daq\code\STM32DAQAI\
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netcoreapp3.1\STM32DAQAI.deps.json
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netcoreapp3.1\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netcoreapp3.1\STM32DAQAI.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netcoreapp3.1\BasicAIModel.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netcoreapp3.1\BasicAIModel.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.csproj.AssemblyReference.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.GeneratedMSBuildEditorConfig.editorconfig
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.AssemblyInfoInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.AssemblyInfo.cs
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.csproj.CoreCompileInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.csproj.CopyComplete
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netcoreapp3.1\STM32DAQAI.pdb
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyTitleAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。
is_global = true
build_property.RootNamespace = STM32DAQAI
build_property.ProjectDir = D:\Desktop\cfet2daq\code\STM32DAQAI\
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.0\STM32DAQAI.deps.json
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.0\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.0\STM32DAQAI.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.0\BasicAIModel.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.0\BasicAIModel.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.csproj.AssemblyReference.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.GeneratedMSBuildEditorConfig.editorconfig
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.AssemblyInfoInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.AssemblyInfo.cs
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.csproj.CoreCompileInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.csproj.CopyComplete
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.0\STM32DAQAI.pdb
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.1", FrameworkDisplayName = "")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyTitleAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。
is_global = true
build_property.RootNamespace = STM32DAQAI
build_property.ProjectDir = D:\Desktop\cfet2daq\code\STM32DAQAI\
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.1\STM32DAQAI.deps.json
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.1\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.1\STM32DAQAI.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.1\BasicAIModel.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Debug\netstandard2.1\BasicAIModel.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.csproj.AssemblyReference.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.GeneratedMSBuildEditorConfig.editorconfig
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.AssemblyInfoInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.AssemblyInfo.cs
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.csproj.CoreCompileInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.csproj.CopyComplete
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Debug\netstandard2.1\STM32DAQAI.pdb
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETStandard,Version=v2.0", FrameworkDisplayName = "")]
//------------------------------------------------------------------------------
// <auto-generated>
// 此代码由工具生成。
// 运行时版本:4.0.30319.42000
//
// 对此文件的更改可能会导致不正确的行为,并且如果
// 重新生成代码,这些更改将会丢失。
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyTitleAttribute("STM32DAQAI")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// 由 MSBuild WriteCodeFragment 类生成。
is_global = true
build_property.RootNamespace = STM32DAQAI
build_property.ProjectDir = D:\Desktop\cfet2daq\code\STM32DAQAI\
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Release\netstandard2.0\STM32DAQAI.deps.json
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Release\netstandard2.0\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Release\netstandard2.0\STM32DAQAI.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Release\netstandard2.0\BasicAIModel.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\bin\Release\netstandard2.0\BasicAIModel.pdb
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.csproj.AssemblyReference.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.GeneratedMSBuildEditorConfig.editorconfig
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.AssemblyInfoInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.AssemblyInfo.cs
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.csproj.CoreCompileInputs.cache
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.csproj.CopyComplete
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.dll
D:\Desktop\cfet2daq\code\STM32DAQAI\obj\Release\netstandard2.0\STM32DAQAI.pdb
{
"format": 1,
"restore": {
"D:\\Desktop\\cfet2daq\\code\\STM32DAQAI\\STM32DAQAI.csproj": {}
},
"projects": {
"D:\\Desktop\\cfet2daq\\code\\BasicAIModel\\BasicAIModel.csproj": {
"version": "2.0.0",
"restore": {
"projectUniqueName": "D:\\Desktop\\cfet2daq\\code\\BasicAIModel\\BasicAIModel.csproj",
"projectName": "BasicAIModel",
"projectPath": "D:\\Desktop\\cfet2daq\\code\\BasicAIModel\\BasicAIModel.csproj",
"packagesPath": "C:\\Users\\cmsm\\.nuget\\packages\\",
"outputPath": "D:\\Desktop\\cfet2daq\\code\\BasicAIModel\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\cmsm\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://222.20.94.134:14999/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"Newtonsoft.Json": {
"target": "Package",
"version": "[13.0.1, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
}
},
"runtimes": {
"linux-arm64": {
"#import": []
}
}
},
"D:\\Desktop\\cfet2daq\\code\\STM32DAQAI\\STM32DAQAI.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "D:\\Desktop\\cfet2daq\\code\\STM32DAQAI\\STM32DAQAI.csproj",
"projectName": "STM32DAQAI",
"projectPath": "D:\\Desktop\\cfet2daq\\code\\STM32DAQAI\\STM32DAQAI.csproj",
"packagesPath": "C:\\Users\\cmsm\\.nuget\\packages\\",
"outputPath": "D:\\Desktop\\cfet2daq\\code\\STM32DAQAI\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\cmsm\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netstandard2.0"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"http://222.20.94.134:14999/nuget": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"projectReferences": {
"D:\\Desktop\\cfet2daq\\code\\BasicAIModel\\BasicAIModel.csproj": {
"projectPath": "D:\\Desktop\\cfet2daq\\code\\BasicAIModel\\BasicAIModel.csproj"
}
}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netstandard2.0": {
"targetAlias": "netstandard2.0",
"dependencies": {
"NETStandard.Library": {
"suppressParent": "All",
"target": "Package",
"version": "[2.0.3, )",
"autoReferenced": true
},
"System.Device.Gpio": {
"target": "Package",
"version": "[2.1.0, )"
},
"System.IO.Ports": {
"target": "Package",
"version": "[6.0.0, )"
}
},
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\6.0.101\\RuntimeIdentifierGraph.json"
}
}
}
}
}
\ No newline at end of file
<?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\cmsm\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.0.1</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\cmsm\.nuget\packages\" />
</ItemGroup>
</Project>
\ No newline at end of file
<?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)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets" Condition="Exists('$(NuGetPackageRoot)netstandard.library\2.0.3\build\netstandard2.0\NETStandard.Library.targets')" />
</ImportGroup>
</Project>
\ No newline at end of file
This diff is collapsed.
{
"version": 2,
"dgSpecHash": "odYF1eRZzlhvRUBUzRdjOr7CzTKZRXqXtqqjCal6M/4qQouByv2GcxXHED9SVXGy+FjSokPErTY02zsu4WLWvQ==",
"success": true,
"projectFilePath": "D:\\Desktop\\cfet2daq\\code\\STM32DAQAI\\STM32DAQAI.csproj",
"expectedPackageFiles": [
"C:\\Users\\cmsm\\.nuget\\packages\\microsoft.netcore.platforms\\1.1.0\\microsoft.netcore.platforms.1.1.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\microsoft.netcore.targets\\1.1.0\\microsoft.netcore.targets.1.1.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\microsoft.win32.registry\\5.0.0\\microsoft.win32.registry.5.0.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\netstandard.library\\2.0.3\\netstandard.library.2.0.3.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\newtonsoft.json\\13.0.1\\newtonsoft.json.13.0.1.nupkg.sha512",
"C:\\Users\\cmsm\\.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\\cmsm\\.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\\cmsm\\.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\\cmsm\\.nuget\\packages\\runtime.native.system.io.ports\\6.0.0\\runtime.native.system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\cmsm\\.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\\cmsm\\.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\\cmsm\\.nuget\\packages\\system.buffers\\4.5.1\\system.buffers.4.5.1.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.device.gpio\\2.1.0\\system.device.gpio.2.1.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.io.ports\\6.0.0\\system.io.ports.6.0.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.memory\\4.5.4\\system.memory.4.5.4.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.numerics.vectors\\4.4.0\\system.numerics.vectors.4.4.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.runtime\\4.3.0\\system.runtime.4.3.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.runtime.compilerservices.unsafe\\4.5.3\\system.runtime.compilerservices.unsafe.4.5.3.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.runtime.interopservices.windowsruntime\\4.3.0\\system.runtime.interopservices.windowsruntime.4.3.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.runtime.windowsruntime\\4.6.0\\system.runtime.windowsruntime.4.6.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.security.accesscontrol\\5.0.0\\system.security.accesscontrol.5.0.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.security.principal.windows\\5.0.0\\system.security.principal.windows.5.0.0.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\system.threading.tasks.extensions\\4.5.4\\system.threading.tasks.extensions.4.5.4.nupkg.sha512",
"C:\\Users\\cmsm\\.nuget\\packages\\basicaimodel\\2.0.0\\basicaimodel.2.0.0.nupkg.sha512"
],
"logs": []
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
{
"runtimeOptions": {
"tfm": "net6.0",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "6.0.0"
},
"configProperties": {
"System.Reflection.Metadata.MetadataUpdater.IsSupported": false
}
}
}
\ No newline at end of file
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment