修改orcale连接组件

dev
liulb@mesnac.com 1 year ago
parent 96d52194af
commit 6e104622b8

@ -42,6 +42,12 @@
<ProjectReference Include="..\Admin.Core.Serilog.Es\Admin.Core.Serilog.Es.csproj" />
</ItemGroup>
<ItemGroup>
<Reference Include="Oracle.ManagedDataAccess">
<HintPath>..\dll\Oracle.ManagedDataAccess.dll</HintPath>
</Reference>
</ItemGroup>
<ItemGroup>
<Compile Update="Resource\Resource_SysBase.Designer.cs">
<DesignTime>True</DesignTime>

@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Admin.Core.Common
build_property.ProjectDir = E:\桌面\AUCMA_SCADA\Admin.Core.Common\
build_property.ProjectDir = D:\Project\gitea\AUCMA\SCADA\Admin.Core.Common\

@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Admin.Core.EventBus
build_property.ProjectDir = E:\桌面\AUCMA_SCADA\Admin.Core.EventBus\
build_property.ProjectDir = D:\Project\gitea\AUCMA\SCADA\Admin.Core.EventBus\

@ -8,4 +8,4 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Admin.Core.Serilog.Es
build_property.ProjectDir = E:\桌面\AUCMA_SCADA\Admin.Core.Serilog.Es\
build_property.ProjectDir = D:\Project\gitea\AUCMA\SCADA\Admin.Core.Serilog.Es\

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>WinExe</OutputType>
<OutputType>Exe</OutputType>
<TargetFramework>net6.0-windows</TargetFramework>
<Nullable>enable</Nullable>
<UseWPF>true</UseWPF>

@ -105,19 +105,28 @@ namespace Aucma.Core.BoxFoam.Business
public void init()
{
allSpaces = _baseSpaceInfoServices.Query(x => x.StoreCode == storeCode);
foreach (var space in allSpaces)
//allSpaces = _baseSpaceInfoServices.Query(x => x.StoreCode == storeCode);
//foreach (var space in allSpaces)
//{
// spaceAddresses.Add(spaceConfig.GetSpaceAddress(storeCode, space.SpaceCode));
//}
//// 模拟入库
////Task.Run(() =>
////{
//// Thread.Sleep(2000);
//// InStore("B24010181060282920011");
////});
////实时监测入库任务下发和入库任务完成
//StartPassDownAndRealInstoreFinish();
Task.Run(() =>
{
spaceAddresses.Add(spaceConfig.GetSpaceAddress(storeCode, space.SpaceCode));
while (true)
{
var allSpaces = _baseSpaceInfoServices.Query(x => x.StoreCode == storeCode);
Console.WriteLine(allSpaces.ToJson());
}
// 模拟入库
//Task.Run(() =>
//{
// Thread.Sleep(2000);
// InStore("B24010181060282920011");
//});
//实时监测入库任务下发和入库任务完成
StartPassDownAndRealInstoreFinish();
});
}

Binary file not shown.
Loading…
Cancel
Save