Skip to content

Commit

Permalink
fix(ModbusCreationComponent): remove default Url
Browse files Browse the repository at this point in the history
  • Loading branch information
pkuehnel committed Oct 27, 2022
1 parent 01a656c commit 0e095e1
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,6 @@
{
ModbusUrl = "http://modbusplugin/api/Modbus/GetTypedValue?unitIdentifier=3&startingAddress=&quantity=&ipAddress=&port=502&factor=1&connectDelaySeconds=1&timeoutSeconds=2&modbusValueType=0&modbusRegisterType=0";
}
ModbusUrl = "http://modbusplugin/api/Modbus/GetTypedValue?unitIdentifier=3&startingAddress=30775&quantity=2&ipAddress=192.168.1.28&port=502&connectDelaySeconds=0&timeoutSeconds=1&modbusValueType=Float&modbusRegisterType=InputRegister";
if (!string.IsNullOrEmpty(ModbusUrl) && ModbusUrl.StartsWith("http://modbusplugin/api/Modbus/"))
{
var uri = new Uri(ModbusUrl);
Expand Down

0 comments on commit 0e095e1

Please sign in to comment.