Skip to content

Commit

Permalink
Quick fix device type meta data manager missing
Browse files Browse the repository at this point in the history
* because it was part of the wrong sub folder and therefore was excluded
  • Loading branch information
susch19 committed May 19, 2024
1 parent 8b45324 commit 696e7df
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
3 changes: 2 additions & 1 deletion AppBrokerASP/InstanceContainer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@

using AppBrokerASP.Configuration;
using AppBrokerASP.Histories;
using AppBrokerASP.Manager;
using AppBrokerASP.State;

namespace AppBrokerASP;
Expand Down Expand Up @@ -37,7 +38,7 @@ public InstanceContainer()
var localDeviceManager = new DeviceManager();
DeviceManager = localDeviceManager;
localDeviceManager.LoadDevices();
//DeviceTypeMetaDataManager = new DeviceTypeMetaDataManager(localDeviceManager);
DeviceTypeMetaDataManager = new DeviceTypeMetaDataManager(localDeviceManager);
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
using AppBroker.Core;
using AppBroker.Core.Devices;
using AppBroker.Core.Devices;
using AppBroker.Core.Managers;

using AppBroker.Core;
using System.Reflection;
using NLog;

using System.Reflection;
namespace AppBrokerASP.Manager;

namespace AppBrokerASP.Devices.Elsa;

public class DeviceTypeMetaDataManager : IDeviceTypeMetaDataManager
{
Expand All @@ -27,13 +26,11 @@ public class DeviceTypeMetaDataManager : IDeviceTypeMetaDataManager
private readonly HashSet<PropertyInfo> properties;
private readonly HashSet<Type> deviceTypes;

private readonly IDeviceManager manager;
private readonly NLog.ILogger logger;

public DeviceTypeMetaDataManager(DeviceManager manager)
{
var stringArrWithEmpty = new[] { "" };
this.manager = manager;
logger = LogManager.GetCurrentClassLogger();
deviceTypes = Assembly
.GetExecutingAssembly()
Expand Down

0 comments on commit 696e7df

Please sign in to comment.