Skip to content

Commit

Permalink
Merge pull request #395 from pkuehnel/develop
Browse files Browse the repository at this point in the history
fix(ModbusCreationComponent): remove default Url
  • Loading branch information
pkuehnel authored Oct 27, 2022
2 parents 01a656c + 0e095e1 commit 77b9aea
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 77b9aea

Please sign in to comment.