change-分垛改货道型号设置,下线开放69码校验功能

dev
liuwf 1 year ago
parent e61a88c87d
commit 441bddc506

@ -6061,6 +6061,11 @@
创建时间 创建时间
</summary> </summary>
</member> </member>
<member name="T:Admin.Core.Model.ViewModels.ProductAllModel">
<summary>
分舵获取成品下线所有类型
</summary>
</member>
<member name="T:Admin.Core.Model.ViewModels.ProductInfoView"> <member name="T:Admin.Core.Model.ViewModels.ProductInfoView">
<summary> <summary>
工位信息 工位信息

@ -15,7 +15,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Api")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Api")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Api")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Api")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1 +1 @@
7ce13daf26e56bd8d3c3406081a61aabff4db9fa4cbea6946a0de6ad91f7687f 657de05911c5c4d0cacaf803801b5cfb9cac90ef

@ -9,11 +9,9 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Admin.Core.Api build_property.RootNamespace = Admin.Core.Api
build_property.RootNamespace = Admin.Core.Api build_property.RootNamespace = Admin.Core.Api
build_property.ProjectDir = E:\桌面\AUCMA_SCADA\Admin.Core.Api\ build_property.ProjectDir = E:\c#\AUCMA\new\Admin.Core.Api\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 6.0 build_property.RazorLangVersion = 6.0
build_property.SupportLocalizedComponentNames = build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes = build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = E:\桌面\AUCMA_SCADA\Admin.Core.Api build_property.MSBuildProjectDirectory = E:\c#\AUCMA\new\Admin.Core.Api
build_property._RazorSourceGeneratorDebug = build_property._RazorSourceGeneratorDebug =

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Common")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Common")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Common")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Common")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Common")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Common")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
3c08b2a6f95957043123cba0d01dcd1675663fc7 3c08b2a6f95957043123cba0d01dcd1675663fc7
=======
62ae8b13d646c1bee38f596428b0c65aebc8cacc7f8546b0fc7f279f33ddbb5f
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.EventBus")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.EventBus")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.EventBus")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.EventBus")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.EventBus")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.EventBus")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
2af60005099f8dd0481f84ac0dfadb89cc4b6f1d 2af60005099f8dd0481f84ac0dfadb89cc4b6f1d
=======
9f6d3940f2a70f8fd050d6fe20a1178b54354adc92bcb268eeb7e95d388fdd79
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Extensions")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Extensions")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Extensions")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Extensions")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Extensions")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Extensions")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
790ffd47e6e46a3c8a83558ad3550154a5c81377 790ffd47e6e46a3c8a83558ad3550154a5c81377
=======
6fb9d9c8187ad98357a41595af7692e35588e2f7d760b068489ada94d6798f74
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.FrameWork")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.FrameWork")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.FrameWork")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.FrameWork")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.FrameWork")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.FrameWork")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
7d60a94dd38c10522cbfe4a021ccb6e9c5da0354 7d60a94dd38c10522cbfe4a021ccb6e9c5da0354
=======
7a1813a9a5d1d19b18e25488399390e5b0d29d88f5978494e031c73a36870caf
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -19,5 +19,8 @@ namespace Admin.Core.IService
/// <param name="printName"></param> /// <param name="printName"></param>
/// <returns></returns> /// <returns></returns>
Task<bool> UpdatePrintName(BaseOrderInfo printName); Task<bool> UpdatePrintName(BaseOrderInfo printName);
} }
} }

@ -34,5 +34,13 @@ namespace Admin.Core.IService
/// </summary> /// </summary>
/// <returns></returns> /// <returns></returns>
Task<List<CodeBindingRecord>> QueryByTime(); Task<List<CodeBindingRecord>> QueryByTime();
/// <summary>
/// 查询所有成品型号
/// </summary>
/// <param name="printName"></param>
/// <returns></returns>
public List<ProductAllModel> GetAllProductModel();
} }
} }

@ -1,6 +1,7 @@
using Admin.Core.IService; using Admin.Core.IService;
using Admin.Core.Model; using Admin.Core.Model;
using Admin.Core.Model.Model_New; using Admin.Core.Model.Model_New;
using Admin.Core.Model.ViewModels;
using System; using System;
using System.Collections.Generic; using System.Collections.Generic;
using System.Linq.Expressions; using System.Linq.Expressions;
@ -14,6 +15,10 @@ namespace Admin.Core.IService
public interface IProductOffLineServices : IBaseServices<BaseTest> public interface IProductOffLineServices : IBaseServices<BaseTest>
{ {
/// <summary> /// <summary>
/// 条码系统获取校验字符串 /// 条码系统获取校验字符串
/// </summary> /// </summary>

@ -0,0 +1,25 @@
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Admin.Core.Model.ViewModels
{
/// <summary>
/// 分舵获取成品下线所有类型
/// </summary>
[SugarTable("GET_OFFLINE_ALL_MODEL", "AUCMA_SCADA")]
public class ProductAllModel
{
[SugarColumn(ColumnName = "PRODUCT_CODE")]
public string ProductCode { get; set; }
[SugarColumn(ColumnName = "PRODUCT_NAME")]
public string ProductName { get; set; }
[SugarColumn(ColumnName = "PRODUCT_MODEL")]
public string ProductModel { get; set; }
[SugarColumn(ColumnName = "PRODUCT_MASTER_MODEL")]
public string ProductMasterModel { get; set; }
}
}

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.RealTimeService")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.RealTimeService")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.RealTimeService")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.RealTimeService")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.RealTimeService")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.RealTimeService")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
0868e6bde5b49a65a126b91d794e990427a11761 0868e6bde5b49a65a126b91d794e990427a11761
=======
b90aaf21ce2e9da9e13b0fb64d65797eba9a93af543963c310c73e113c750708
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Serilog.Es")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Serilog.Es")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Serilog.Es")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Serilog.Es")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Serilog.Es")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Serilog.Es")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
dbec6c73777a8ebf7006f00f1928199755951ac1 dbec6c73777a8ebf7006f00f1928199755951ac1
=======
7e4c0482a63e6bdc9d58ba83f484a41ef7633ab886d66aa8de108234c74c3e9b
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -162,6 +162,7 @@ namespace Admin.Core.Service
return _baseOrderInfoRepository.UpdatePrintName(printName); return _baseOrderInfoRepository.UpdatePrintName(printName);
} }
} }
} }

@ -110,5 +110,20 @@ namespace Admin.Core.Service
} }
/// <summary>
/// 查询所有成品型号
/// </summary>
/// <param name="printName"></param>
/// <returns></returns>
public List<ProductAllModel> GetAllProductModel()
{
var _db = this.BaseDal.Db;
List<ProductAllModel> list = _db.Ado.SqlQuery<ProductAllModel>("select * from C##AUCMA_SCADA.GET_OFFLINE_ALL_MODEL");
return list;
}
} }
} }

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Tasks")] [assembly: System.Reflection.AssemblyCompanyAttribute("Admin.Core.Tasks")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Tasks")] [assembly: System.Reflection.AssemblyProductAttribute("Admin.Core.Tasks")]
[assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Tasks")] [assembly: System.Reflection.AssemblyTitleAttribute("Admin.Core.Tasks")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
da4240456d30e56fa6c5e71babf5565adb3e1436 da4240456d30e56fa6c5e71babf5565adb3e1436
=======
ed2444c9be6f03c06e36309150ba72a30e6eef0501c11fcb012bc3a49ae67b45
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -106,7 +106,7 @@ namespace Aucma.Core.DataCollector.Factory
Console.WriteLine($"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}采集设备用电数据"); Console.WriteLine($"{DateTime.Now.ToString("yyyy-MM-dd HH:mm:ss")}采集设备用电数据");
var plc = _plc.plc; var plc = _plc.plc;
var info = plc.Read("D7500", 40); var info = plc.Read("D7602", 40);
if (info != null) if (info != null)
{ {

@ -6,6 +6,11 @@
<SubType>Designer</SubType> <SubType>Designer</SubType>
</ApplicationDefinition> </ApplicationDefinition>
</ItemGroup> </ItemGroup>
<ItemGroup>
<Compile Update="Views\SetRangeWindow.xaml.cs">
<SubType>Code</SubType>
</Compile>
</ItemGroup>
<ItemGroup> <ItemGroup>
<Page Update="Views\HandPalletizView.xaml"> <Page Update="Views\HandPalletizView.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
@ -25,6 +30,9 @@
<Page Update="Views\SelectType.xaml"> <Page Update="Views\SelectType.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>
<Page Update="Views\SetRangeWindow.xaml">
<SubType>Designer</SubType>
</Page>
<Page Update="Views\SplitPlanView.xaml"> <Page Update="Views\SplitPlanView.xaml">
<SubType>Designer</SubType> <SubType>Designer</SubType>
</Page> </Page>

@ -316,6 +316,10 @@ namespace Aucma.Core.Palletiz.Business
spinFlag = 1; //4 spinFlag = 1; //4
} }
} }
if(prodWeight == 100)
{
}
msg = $"成品码:{asciiStr},仓库区域:{spaceinfo.SpaceArea},匹配货道:{spaceinfo.SpaceCode};旋转:{(spinFlag == 3 ? "0°" : "180°")};下发plc放行信号"; msg = $"成品码:{asciiStr},仓库区域:{spaceinfo.SpaceArea},匹配货道:{spaceinfo.SpaceCode};旋转:{(spinFlag == 3 ? "0°" : "180°")};下发plc放行信号";
RefreshMsgEvent?.Invoke(msg); RefreshMsgEvent?.Invoke(msg);

@ -138,6 +138,8 @@ namespace Aucma.Core.Palletiz.ViewModels
private ObservableCollection<BaseSpaceInfo> spaceItems = new ObservableCollection<BaseSpaceInfo>(); private ObservableCollection<BaseSpaceInfo> spaceItems = new ObservableCollection<BaseSpaceInfo>();
private ObservableCollection<BaseSpaceInfo> spaceItemsB = new ObservableCollection<BaseSpaceInfo>();
/// <summary> /// <summary>
/// 刷新界面提示信息 /// 刷新界面提示信息
@ -163,42 +165,43 @@ namespace Aucma.Core.Palletiz.ViewModels
private void Init() private void Init()
{ {
App.Current.Dispatcher.BeginInvoke((Action)(() =>
{
var info = inStoreBusiness.GetBaseSpaceinfos("A"); var info = inStoreBusiness.GetBaseSpaceinfos("A");
info = info.OrderByDescending(x => x.ObjId).ToList();
if (info != null) if (info != null)
{
App.Current.Dispatcher.BeginInvoke((Action)(() =>
{ {
if (spaceItems.Count > 0) if (spaceItems.Count > 0)
{ {
spaceItems.Clear(); spaceItems.Clear();
} }
info = info.OrderBy(x => x.ObjId).ToList();
foreach (var item in info) foreach (var item in info)
{ {
spaceItems.Add(item); spaceItems.Add(item);
} }
AreaA_SpaceInfo = spaceItems; AreaA_SpaceInfo = spaceItems;
}
})); }));
App.Current.Dispatcher.BeginInvoke((Action)(() => }
var info2 = inStoreBusiness.GetBaseSpaceinfos("A");
info2 = info2.OrderBy(x => x.ObjId).ToList();
if (info2 != null)
{ {
var info = inStoreBusiness.GetBaseSpaceinfos("A"); App.Current.Dispatcher.BeginInvoke((Action)(() =>
if (info != null)
{ {
if (spaceItems.Count > 0) if (spaceItemsB.Count > 0)
{ {
spaceItems.Clear(); spaceItemsB.Clear();
} }
info = info.OrderBy(x => x.ObjId).ToList(); foreach (var item in info2)
foreach (var item in info)
{ {
spaceItems.Add(item); spaceItemsB.Add(item);
}
AreaB_SpaceInfo = spaceItems;
} }
AreaB_SpaceInfo = spaceItemsB;
})); }));
} }
}
} }
} }

@ -88,7 +88,7 @@ namespace Aucma.Core.Palletiz.ViewModels
/// <param name="e"></param> /// <param name="e"></param>
public void RefreshPlc() public void RefreshPlc()
{ {
var obj = PlcHelper.melsecList.FirstOrDefault(d => d.EquipName.Equals("分垛库Plc")); var obj = PlcHelper.melsecList.FirstOrDefault(d => d.EquipName.Equals("InStoreAPlc"));
if (obj != null) if (obj != null)
{ {
if (obj.plc.IsConnected) if (obj.plc.IsConnected)

@ -2,6 +2,7 @@
using Admin.Core.IService; using Admin.Core.IService;
using Admin.Core.Model; using Admin.Core.Model;
using Admin.Core.Model.Model_New; using Admin.Core.Model.Model_New;
using Admin.Core.Model.ViewModels;
using Admin.Core.Service; using Admin.Core.Service;
using Aucma.Core.Palletiz.Common; using Aucma.Core.Palletiz.Common;
using Aucma.Core.Palletiz.Views; using Aucma.Core.Palletiz.Views;
@ -10,7 +11,9 @@ using CommunityToolkit.Mvvm.Input;
using log4net; using log4net;
using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.DependencyInjection;
using System; using System;
using System.Collections.Generic;
using System.Collections.ObjectModel; using System.Collections.ObjectModel;
using System.Linq;
using System.Threading.Tasks; using System.Threading.Tasks;
using System.Windows; using System.Windows;
using System.Windows.Controls; using System.Windows.Controls;
@ -37,6 +40,8 @@ namespace Aucma.Core.Palletiz.ViewModels
private readonly IBaseMaterialInfoServices? _baseMaterialInfoServices; private readonly IBaseMaterialInfoServices? _baseMaterialInfoServices;
private readonly IBaseOrderInfoServices? _baseOrderInfoServices; private readonly IBaseOrderInfoServices? _baseOrderInfoServices;
private readonly IBaseSpaceInfoServices _baseSpaceInfoServices; private readonly IBaseSpaceInfoServices _baseSpaceInfoServices;
private readonly ICodeBindingRecordServices? _codeBindingRecordServices;
private readonly IProductOffLineServices _offlineService;
private string spaceCodes = string.Empty; private string spaceCodes = string.Empty;
private AppConfigHelper appConfig = new AppConfigHelper(); private AppConfigHelper appConfig = new AppConfigHelper();
@ -45,6 +50,8 @@ namespace Aucma.Core.Palletiz.ViewModels
{ {
_baseSpaceInfoServices = App.ServiceProvider.GetService<IBaseSpaceInfoServices>(); _baseSpaceInfoServices = App.ServiceProvider.GetService<IBaseSpaceInfoServices>();
_baseOrderInfoServices = App.ServiceProvider.GetService<IBaseOrderInfoServices>(); _baseOrderInfoServices = App.ServiceProvider.GetService<IBaseOrderInfoServices>();
_codeBindingRecordServices = App.ServiceProvider.GetService<ICodeBindingRecordServices>();
_offlineService = App.ServiceProvider.GetService<IProductOffLineServices>();
//_baseMaterialInfoServices = App.ServiceProvider.GetService<IBaseMaterialInfoServices>(); //_baseMaterialInfoServices = App.ServiceProvider.GetService<IBaseMaterialInfoServices>();
SpaceInfo = space; SpaceInfo = space;
@ -71,11 +78,17 @@ namespace Aucma.Core.Palletiz.ViewModels
string station = Appsettings.app("StationInfo", "StationCode"); string station = Appsettings.app("StationInfo", "StationCode");
if (!string.IsNullOrEmpty(selectedOption)) if (!string.IsNullOrEmpty(selectedOption))
{ {
var infos = await _baseOrderInfoServices.QueryAsync(x => x.MaterialName.Contains(selectedOption)); List<ProductAllModel> list = _codeBindingRecordServices.GetAllProductModel();
if (list != null)
{
list = list.Where(x=>x.ProductName.Contains(selectedOption)).ToList();
if (list == null || list.Count==0) return;
}
// var infos = await _baseOrderInfoServices.QueryAsync(x => x.MaterialName.Contains(selectedOption));
MaterialDataGrid.Clear(); MaterialDataGrid.Clear();
Application.Current.Dispatcher.Invoke(() => Application.Current.Dispatcher.Invoke(() =>
{ {
foreach (BaseOrderInfo info in infos) foreach (ProductAllModel info in list)
{ {
MaterialDataGrid.Add(info); MaterialDataGrid.Add(info);
} }
@ -110,11 +123,14 @@ namespace Aucma.Core.Palletiz.ViewModels
//初始化加载数据 //初始化加载数据
public async void Load(BaseSpaceInfo space) public async void Load(BaseSpaceInfo space)
{ {
var infos = await _baseOrderInfoServices.QueryAsync(d=>d.CompleteAmount!=d.OrderAmount); List<ProductAllModel> list = _codeBindingRecordServices.GetAllProductModel();
if(list==null || list.Count==0) return;
list = list.OrderBy(x=>x.ProductMasterModel).ToList();
// var infos = await _baseOrderInfoServices.QueryAsync(d=>d.CompleteAmount!=d.OrderAmount);
MaterialDataGrid.Clear(); MaterialDataGrid.Clear();
Application.Current.Dispatcher.Invoke(() => Application.Current.Dispatcher.Invoke(() =>
{ {
foreach (BaseOrderInfo info in infos) foreach (ProductAllModel info in list)
{ {
MaterialDataGrid.Add(info); MaterialDataGrid.Add(info);
} }
@ -131,8 +147,8 @@ namespace Aucma.Core.Palletiz.ViewModels
IsSelectedOptionB = true; IsSelectedOptionB = true;
} }
planInfo.MaterialCode = space.MaterialType; planInfo.ProductCode = space.MaterialType;
planInfo.MaterialName = space.typeNameA; planInfo.ProductModel = space.typeNameA;
if (SelectedRotation == null) if (SelectedRotation == null)
{ {
@ -148,9 +164,9 @@ namespace Aucma.Core.Palletiz.ViewModels
/// <summary> /// <summary>
/// 初始化物料信息 /// 初始化物料信息
/// </summary> /// </summary>
private ObservableCollection<BaseOrderInfo> materialDataGrid = new ObservableCollection<BaseOrderInfo>(); private ObservableCollection<ProductAllModel> materialDataGrid = new ObservableCollection<ProductAllModel>();
public ObservableCollection<BaseOrderInfo> MaterialDataGrid public ObservableCollection<ProductAllModel> MaterialDataGrid
{ {
get { return materialDataGrid; } get { return materialDataGrid; }
set => SetProperty(ref materialDataGrid, value); set => SetProperty(ref materialDataGrid, value);
@ -170,8 +186,8 @@ namespace Aucma.Core.Palletiz.ViewModels
/// <summary> /// <summary>
/// 初始化下拉列表 /// 初始化下拉列表
/// </summary> /// </summary>
private BaseOrderInfo selectedDataItem; private ProductAllModel selectedDataItem;
public BaseOrderInfo SelectedDataItem public ProductAllModel SelectedDataItem
{ {
get { return selectedDataItem; } get { return selectedDataItem; }
set => SetProperty(ref selectedDataItem, value); set => SetProperty(ref selectedDataItem, value);
@ -191,8 +207,8 @@ namespace Aucma.Core.Palletiz.ViewModels
if (info != null) if (info != null)
{ {
PlanInfo = info; PlanInfo = info;
SpaceInfo.MaterialType = info.MaterialCode; SpaceInfo.MaterialType = info.ProductCode;
SpaceInfo.typeNameA = info.MaterialName; SpaceInfo.typeNameA = info.ProductModel;
} }
} }
@ -217,8 +233,8 @@ namespace Aucma.Core.Palletiz.ViewModels
#endregion #endregion
#region 计划信息 #region 计划信息
private BaseOrderInfo planInfo = new BaseOrderInfo(); private ProductAllModel planInfo = new ProductAllModel();
public BaseOrderInfo PlanInfo public ProductAllModel PlanInfo
{ {
get { return planInfo; } get { return planInfo; }
set => SetProperty(ref planInfo, value); set => SetProperty(ref planInfo, value);
@ -433,11 +449,18 @@ namespace Aucma.Core.Palletiz.ViewModels
{ {
if (!string.IsNullOrEmpty(searchText)) if (!string.IsNullOrEmpty(searchText))
{ {
var infos = await _baseOrderInfoServices.QueryAsync(x => (x.MaterialName.Contains(searchText) || x.MaterialCode.Contains(searchText))); List<ProductAllModel> list = _codeBindingRecordServices.GetAllProductModel();
if (list != null)
{
list = list.Where(x => x.ProductName.Contains(searchText)).ToList();
if (list == null || list.Count == 0) return;
}
// var infos = await _baseOrderInfoServices.QueryAsync(x => (x.MaterialName.Contains(searchText) || x.MaterialCode.Contains(searchText)));
MaterialDataGrid.Clear(); MaterialDataGrid.Clear();
Application.Current.Dispatcher.Invoke(() => Application.Current.Dispatcher.Invoke(() =>
{ {
foreach (BaseOrderInfo info in infos) foreach (ProductAllModel info in list)
{ {
MaterialDataGrid.Add(info); MaterialDataGrid.Add(info);
} }

@ -160,7 +160,7 @@
<Border Background="#4D96E0" > <Border Background="#4D96E0" >
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>--> <!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
<Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent"> <Button Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="{Binding MaterialType}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" /> <TextBlock Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" />
</Button> </Button>
</Border> </Border>
@ -213,7 +213,7 @@
</Grid>--> </Grid>-->
<StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10,0,0,0"> <StackPanel Grid.Column="0" VerticalAlignment="Center" HorizontalAlignment="Left" Orientation="Horizontal" Margin="10,0,0,0">
<Button Content="异常入库" FontSize="18" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#FF9900" BorderBrush="#FF9900" Margin="0,0,10,0"/> <Button Content="异常入库" FontSize="18" x:Name="Minimized" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Minimized}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#FF9900" BorderBrush="#FF9900" Margin="0,0,10,0"/>
<Button Content="货道设置" FontSize="18" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#5283D7" BorderBrush="#5283D7" Margin="0,0,10,0"/> <Button Content="转向设置" FontSize="18" x:Name="Exit" Command="{Binding FormControlCommand}" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="#5283D7" BorderBrush="#5283D7" Margin="0,0,10,0"/>
<Button Content="{Binding InStoreAmount}" FontSize="18" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="Transparent" Margin="0,0,10,0"/> <Button Content="{Binding InStoreAmount}" FontSize="18" CommandParameter="{Binding Name,ElementName=Exit}" Style="{StaticResource BUTTON_AGREE}" Width="150" Height="40" Background="Transparent" Margin="0,0,10,0"/>
</StackPanel> </StackPanel>
</Border> </Border>
@ -287,7 +287,7 @@
<StackPanel Background="#4D96E0" Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Orientation="Vertical"> <StackPanel Background="#4D96E0" Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Orientation="Vertical">
<!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>--> <!--<Label Content="{Binding SpaceName}" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>-->
<Button Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent"> <Button Height="{Binding ActualHeight, ElementName=areaB_outerBorder}" Command="{Binding DataContext.UpdateInStoreFlagCommand, RelativeSource={RelativeSource AncestorType=ItemsControl}}" CommandParameter="{Binding ObjId}" Style="{StaticResource BUTTON_AGREE}" BorderBrush="Transparent" BorderThickness="0" Background="Transparent">
<TextBlock Text="{Binding MaterialType}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"/> <TextBlock Text="{Binding typeNameA}" Foreground="White" FontSize="18" FontWeight="Bold" VerticalAlignment="Center" HorizontalAlignment="Center" TextWrapping="Wrap"/>
<!--MaterialType--> <!--MaterialType-->
</Button> </Button>

@ -135,11 +135,13 @@
<DataGrid ItemsSource="{Binding MaterialDataGrid}" Height="{Binding Path=ActualHeight, ElementName=HeightPanel}" <DataGrid ItemsSource="{Binding MaterialDataGrid}" Height="{Binding Path=ActualHeight, ElementName=HeightPanel}"
HorizontalAlignment="Left" VerticalAlignment="Top" AlternationCount="2" RowHeaderWidth="0" HorizontalAlignment="Left" VerticalAlignment="Top" AlternationCount="2" RowHeaderWidth="0"
ColumnWidth="*" AutoGenerateColumns="False" IsReadOnly="True" CanUserAddRows="False" SelectionMode="Single" ColumnWidth="*" AutoGenerateColumns="False" IsReadOnly="True" CanUserAddRows="False" SelectionMode="Single"
SelectedItem="{Binding SelectedDataItem}" SelectionChanged="DataGrid_SelectionChanged"> SelectedItem="{Binding SelectedDataItem}" SelectionChanged="DataGrid_SelectionChanged" >
<DataGrid.Columns> <DataGrid.Columns>
<!--<DataGridTextColumn Binding="{Binding OrderCode}" Width="*" Header="订单编码" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>--> <!--<DataGridTextColumn Binding="{Binding OrderCode}" Width="*" Header="订单编码" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>-->
<DataGridTextColumn Binding="{Binding MaterialCode}" Width="*" Header="产品编码" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/> <DataGridTextColumn Binding="{Binding ProductCode}" Width="3*" Header="产品编码" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
<DataGridTextColumn Binding="{Binding MaterialName}" Width="5*" Header="产品名称" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/> <DataGridTextColumn Binding="{Binding ProductName}" Width="5*" Header="产品名称" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
<DataGridTextColumn Binding="{Binding ProductModel}" Width="3*" Header="产品型号" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
<DataGridTextColumn Binding="{Binding ProductMasterModel}" Width="*" Header="产品大类" ElementStyle="{StaticResource DataGridTextColumnCenterSytle}"/>
</DataGrid.Columns> </DataGrid.Columns>
</DataGrid> </DataGrid>
@ -170,11 +172,11 @@
</StackPanel> </StackPanel>
<StackPanel Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0"> <StackPanel Grid.Row="2" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0">
<TextBlock Text="产品编码:" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center" /> <TextBlock Text="产品编码:" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center" />
<TextBox x:Name="MaterialCode" Text="{Binding PlanInfo.MaterialCode}" Foreground="white" BorderBrush="White" IsReadOnly="True" Margin="15 0 0 0 " FontSize="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Width="350"/> <TextBox x:Name="MaterialCode" Text="{Binding PlanInfo.ProductCode}" Foreground="white" BorderBrush="White" IsReadOnly="True" Margin="15 0 0 0 " FontSize="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Width="350"/>
</StackPanel> </StackPanel>
<StackPanel Grid.Row="3" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0"> <StackPanel Grid.Row="3" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0">
<TextBlock Text="产品型号:" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/> <TextBlock Text="产品型号:" FontSize="18" Foreground="White" HorizontalAlignment="Center" VerticalAlignment="Center"/>
<TextBox x:Name="MaterialName" Text="{Binding PlanInfo.MaterialName}" Foreground="white" BorderBrush="White" IsReadOnly="True" Margin="15 0 0 0 " FontSize="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Width="350"/> <TextBox x:Name="MaterialName" Text="{Binding PlanInfo.ProductModel}" Foreground="white" BorderBrush="White" IsReadOnly="True" Margin="15 0 0 0 " FontSize="18" VerticalContentAlignment="Center" HorizontalContentAlignment="Left" Width="350"/>
</StackPanel> </StackPanel>
<StackPanel Grid.Row="4" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0" > <StackPanel Grid.Row="4" Orientation="Horizontal" VerticalAlignment="Center" Margin="50,0,0,0" >
<!--单选框样式--> <!--单选框样式-->

@ -0,0 +1,17 @@
<Window x:Class="Aucma.Core.Palletiz.Views.SetRangeWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:local="clr-namespace:Aucma.Core.Palletiz.Views"
mc:Ignorable="d" FontFamily="Microsoft YaHei" WindowStartupLocation="CenterScreen"
Title="设置转向角度" Height="280" Width="400">
<Grid Background="#1152AC" Margin="0,0,-483,-336" >
<!--<Button Content="外侧提升机" Click="LeftButton_Click" Height="70" Background="Green" Width="130" Margin="49,107,221,88" />
<Button Content="内侧提升机" Click="RightButton_Click" Height="70" Background="Green" Width="130" Margin="220,107,50,88" />-->
</Grid>
</Window>

@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;
namespace Aucma.Core.Palletiz.Views
{
/// <summary>
/// SetRangeWindow.xaml 的交互逻辑
/// </summary>
public partial class SetRangeWindow : Window
{
public SetRangeWindow()
{
InitializeComponent();
}
}
}

@ -175,7 +175,7 @@
}, },
"TouchSocket": { "TouchSocket": {
"Enabled": true, "Enabled": true,
"Address": "10.10.92.231:5000" "Address": "10.10.92.232:5000"
} }
}, },
"ScannerServer": [ "ScannerServer": [

@ -506,12 +506,12 @@ namespace Aucma.Core.ProductOffLine.Business
BaseMaterialInfo materialInfo = _baseMaterialInfoServices.FirstAsync(x => x.ProductCode == code69).Result; BaseMaterialInfo materialInfo = _baseMaterialInfoServices.FirstAsync(x => x.ProductCode == code69).Result;
if(materialInfo == null) if(materialInfo == null)
{ {
TempOffLineInfo.MsgInfo = "69码校验失败:" + code69+"未在mes数据库找到信息!"; TempOffLineInfo.MsgInfo = "69码校验失败:" + code69+"未维护69码信息!";
TempOffLineInfo.MsgAlarmFlag = true; TempOffLineInfo.MsgAlarmFlag = true;
RefreshScanMateriaCodeEvent?.Invoke(TempOffLineInfo); RefreshScanMateriaCodeEvent?.Invoke(TempOffLineInfo);
log.Info("69码校验失败:" + code69 + "未在mes数据库找到信息!"); log.Info("69码校验失败:" + code69 + "未维护69码信息!");
// return false; 因为没有录69码校验失败暂不处理允许下线等69码录全就禁止下线 return false; // 因为没有录69码校验失败暂不处理允许下线等69码录全就禁止下线
} }
if(materialInfo!=null) if(materialInfo!=null)
{ {

@ -14,11 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("HwControlLib")] [assembly: System.Reflection.AssemblyCompanyAttribute("HwControlLib")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
<<<<<<< HEAD
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] [assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
=======
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+91808221759aca287573a9c1018fc2e65b1bfd59")]
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669
[assembly: System.Reflection.AssemblyProductAttribute("HwControlLib")] [assembly: System.Reflection.AssemblyProductAttribute("HwControlLib")]
[assembly: System.Reflection.AssemblyTitleAttribute("HwControlLib")] [assembly: System.Reflection.AssemblyTitleAttribute("HwControlLib")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] [assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

@ -1,5 +1 @@
<<<<<<< HEAD
42cf648ef8280b16e9d1d1de3415777f5d872126 42cf648ef8280b16e9d1d1de3415777f5d872126
=======
49ea3a11ac512c6a9f0475e17a7baf5c555a64a4dbb032b671d1b48f6eb1e163
>>>>>>> 95797c6d9a18bfc6da212ef8f1ab31fca740c669

@ -1,26 +1,23 @@
{ {
"format": 1, "format": 1,
"restore": { "restore": {
"E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj": {} "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj": {}
}, },
"projects": { "projects": {
"E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj": { "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj", "projectUniqueName": "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj",
"projectName": "HwControlLib", "projectName": "HwControlLib",
"projectPath": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj", "projectPath": "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj",
"packagesPath": "C:\\Users\\Lenovo\\.nuget\\packages\\", "packagesPath": "C:\\Users\\ADMIN\\.nuget\\packages\\",
"outputPath": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\obj\\", "outputPath": "E:\\c#\\AUCMA\\new\\HwControlLib\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"D:\\开发环境\\DevExpress\\Components\\Offline Packages", "D:\\mesnacSoft\\c#\\vs2022\\sdk\\NuGetPackages"
"D:\\开发工具\\Visual Studio 2019\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
], ],
"configFilePaths": [ "configFilePaths": [
"C:\\Users\\Lenovo\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Users\\ADMIN\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 22.1.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
], ],
@ -28,9 +25,8 @@
"net6.0-windows" "net6.0-windows"
], ],
"sources": { "sources": {
"D:\\开发环境\\DevExpress\\Components\\System\\Components\\Packages": {}, "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}, "https://api.nuget.org/v3/index.json": {}
"https://nuget.cnblogs.com/v3/index.json": {}
}, },
"frameworks": { "frameworks": {
"net6.0-windows7.0": { "net6.0-windows7.0": {
@ -42,11 +38,6 @@
"warnAsError": [ "warnAsError": [
"NU1605" "NU1605"
] ]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
} }
}, },
"frameworks": { "frameworks": {
@ -71,7 +62,7 @@
"privateAssets": "none" "privateAssets": "none"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
} }
} }
} }

@ -5,14 +5,12 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool> <RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile> <ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot> <NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Lenovo\.nuget\packages\;D:\开发环境\DevExpress\Components\Offline Packages;D:\开发工具\Visual Studio 2019\Shared\NuGetPackages;C:\Program Files\dotnet\sdk\NuGetFallbackFolder</NuGetPackageFolders> <NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\ADMIN\.nuget\packages\;D:\mesnacSoft\c#\vs2022\sdk\NuGetPackages</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle> <NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.1</NuGetToolVersion> <NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.6.0</NuGetToolVersion>
</PropertyGroup> </PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' "> <ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Lenovo\.nuget\packages\" /> <SourceRoot Include="C:\Users\ADMIN\.nuget\packages\" />
<SourceRoot Include="D:\开发环境\DevExpress\Components\Offline Packages\" /> <SourceRoot Include="D:\mesnacSoft\c#\vs2022\sdk\NuGetPackages\" />
<SourceRoot Include="D:\开发工具\Visual Studio 2019\Shared\NuGetPackages\" />
<SourceRoot Include="C:\Program Files\dotnet\sdk\NuGetFallbackFolder\" />
</ItemGroup> </ItemGroup>
</Project> </Project>

@ -8,28 +8,23 @@
"net6.0-windows7.0": [] "net6.0-windows7.0": []
}, },
"packageFolders": { "packageFolders": {
"C:\\Users\\Lenovo\\.nuget\\packages\\": {}, "C:\\Users\\ADMIN\\.nuget\\packages\\": {},
"D:\\开发环境\\DevExpress\\Components\\Offline Packages": {}, "D:\\mesnacSoft\\c#\\vs2022\\sdk\\NuGetPackages": {}
"D:\\开发工具\\Visual Studio 2019\\Shared\\NuGetPackages": {},
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {}
}, },
"project": { "project": {
"version": "1.0.0", "version": "1.0.0",
"restore": { "restore": {
"projectUniqueName": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj", "projectUniqueName": "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj",
"projectName": "HwControlLib", "projectName": "HwControlLib",
"projectPath": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj", "projectPath": "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj",
"packagesPath": "C:\\Users\\Lenovo\\.nuget\\packages\\", "packagesPath": "C:\\Users\\ADMIN\\.nuget\\packages\\",
"outputPath": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\obj\\", "outputPath": "E:\\c#\\AUCMA\\new\\HwControlLib\\obj\\",
"projectStyle": "PackageReference", "projectStyle": "PackageReference",
"fallbackFolders": [ "fallbackFolders": [
"D:\\开发环境\\DevExpress\\Components\\Offline Packages", "D:\\mesnacSoft\\c#\\vs2022\\sdk\\NuGetPackages"
"D:\\开发工具\\Visual Studio 2019\\Shared\\NuGetPackages",
"C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder"
], ],
"configFilePaths": [ "configFilePaths": [
"C:\\Users\\Lenovo\\AppData\\Roaming\\NuGet\\NuGet.Config", "C:\\Users\\ADMIN\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\DevExpress 22.1.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
], ],
@ -37,9 +32,8 @@
"net6.0-windows" "net6.0-windows"
], ],
"sources": { "sources": {
"D:\\开发环境\\DevExpress\\Components\\System\\Components\\Packages": {}, "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}, "https://api.nuget.org/v3/index.json": {}
"https://nuget.cnblogs.com/v3/index.json": {}
}, },
"frameworks": { "frameworks": {
"net6.0-windows7.0": { "net6.0-windows7.0": {
@ -51,11 +45,6 @@
"warnAsError": [ "warnAsError": [
"NU1605" "NU1605"
] ]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
} }
}, },
"frameworks": { "frameworks": {
@ -80,7 +69,7 @@
"privateAssets": "none" "privateAssets": "none"
} }
}, },
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json" "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.306\\RuntimeIdentifierGraph.json"
} }
} }
} }

@ -1,8 +1,8 @@
{ {
"version": 2, "version": 2,
"dgSpecHash": "8VHCZjfxPgjrzPcG94ZcZRTYMLoR3BoZWYVsc5F8CcWA2w5qr9WzBXilpzCvLkq4aV7eWTwXrr0qnESvVVeeyQ==", "dgSpecHash": "o/CJUnM2bXJ203H1fZyY0hmxjifnu4IrxmXTTw01t8RbPVUTNGgU/9KCdt8cN6ejTY2ysaA++55IbCdsledzFg==",
"success": true, "success": true,
"projectFilePath": "E:\\桌面\\AUCMA_SCADA\\HwControlLib\\HwControlLib.csproj", "projectFilePath": "E:\\c#\\AUCMA\\new\\HwControlLib\\HwControlLib.csproj",
"expectedPackageFiles": [], "expectedPackageFiles": [],
"logs": [] "logs": []
} }
Loading…
Cancel
Save