[BF] Now load the right Dll

This commit is contained in:
2017-12-03 11:23:19 +00:00
parent a5acff1f74
commit 121a169187
12 changed files with 4 additions and 53 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ namespace BlubbFish.Utils.IoT.Connector {
if(settings.Count == 0) {
return null;
}
String object_sensor = "BlubbFish.Utils.IoT.Connector.Data." + Char.ToUpper(settings["type"][0]) + settings["type"].Substring(1).ToLower();
String object_sensor = "BlubbFish.Utils.IoT.Connector.Data." + Char.ToUpper(settings["type"][0]) + settings["type"].Substring(1).ToLower()+", "+ "ConnectorData" + Char.ToUpper(settings["type"][0]) + settings["type"].Substring(1).ToLower();
Type t = null;
try {
t = Type.GetType(object_sensor, true);
+1 -1
View File
@@ -14,7 +14,7 @@ namespace BlubbFish.Utils.IoT.Connector {
}
public static AUserBackend GetInstance(Dictionary<String, String> settings) {
String object_sensor = "BlubbFish.Utils.IoT.Connector.User." + Char.ToUpper(settings["type"][0]) + settings["type"].Substring(1).ToLower();
String object_sensor = "BlubbFish.Utils.IoT.Connector.User." + Char.ToUpper(settings["type"][0]) + settings["type"].Substring(1).ToLower()+", "+ "ConnectorUser" + Char.ToUpper(settings["type"][0]) + settings["type"].Substring(1).ToLower();
Type t = null;
try {
t = Type.GetType(object_sensor, true);
+1 -1
View File
@@ -4,7 +4,7 @@ using System.Diagnostics;
using System.Text.RegularExpressions;
namespace BlubbFish.Utils.IoT.Connector.Data {
class Mosquitto : ADataBackend, IDisposable {
public class Mosquitto : ADataBackend, IDisposable {
private Process p;
private String message;
+1 -1
View File
@@ -5,7 +5,7 @@ using uPLibrary.Networking.M2Mqtt;
using uPLibrary.Networking.M2Mqtt.Messages;
namespace BlubbFish.Utils.IoT.Connector.Data {
class Mqtt : ADataBackend, IDisposable {
public class Mqtt : ADataBackend, IDisposable {
private MqttClient client;
public override event MqttMessage MessageIncomming;
Binary file not shown.