diff --git a/Modbus.Net/ModBus.Net/AddressFormater.cs b/Modbus.Net/ModBus.Net/AddressFormater.cs
index fe932a3..cc17876 100644
--- a/Modbus.Net/ModBus.Net/AddressFormater.cs
+++ b/Modbus.Net/ModBus.Net/AddressFormater.cs
@@ -7,22 +7,6 @@ namespace ModBus.Net
public abstract string FormatAddress(string area, int address);
}
- public class AddressFormaterSimense : AddressFormater
- {
- public override string FormatAddress(string area, int address)
- {
- if (area.Length > 1 &&
- area.ToUpper().Substring(0,2) == "DB")
- {
- return area.ToUpper() + "." + "DB" + address;
- }
- else
- {
- return area.ToUpper() + address;
- }
- }
- }
-
public class AddressFormaterBase : AddressFormater
{
public override string FormatAddress(string area, int address)
@@ -30,12 +14,4 @@ namespace ModBus.Net
return area + "." + address;
}
}
-
- public class AddressFormaterNA200H : AddressFormater
- {
- public override string FormatAddress(string area, int address)
- {
- return area + address;
- }
- }
}
diff --git a/Modbus.Net/ModBus.Net/ModBus.Net.csproj b/Modbus.Net/ModBus.Net/ModBus.Net.csproj
index e31f761..a74e65c 100644
--- a/Modbus.Net/ModBus.Net/ModBus.Net.csproj
+++ b/Modbus.Net/ModBus.Net/ModBus.Net.csproj
@@ -56,6 +56,7 @@
+
@@ -78,6 +79,7 @@
+
diff --git a/Modbus.Net/ModBus.Net/Simense/AddressFormaterSimense.cs b/Modbus.Net/ModBus.Net/Simense/AddressFormaterSimense.cs
new file mode 100644
index 0000000..8d92cd8
--- /dev/null
+++ b/Modbus.Net/ModBus.Net/Simense/AddressFormaterSimense.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace ModBus.Net.Simense
+{
+ public class AddressFormaterSimense : AddressFormater
+ {
+ public override string FormatAddress(string area, int address)
+ {
+ if (area.Length > 1 &&
+ area.ToUpper().Substring(0, 2) == "DB")
+ {
+ return area.ToUpper() + "." + "DB" + address;
+ }
+ else
+ {
+ return area.ToUpper() + address;
+ }
+ }
+ }
+}