Commit b9126956 authored by Pavel Vainerman's avatar Pavel Vainerman

(ModbusTCPMultiMaster): исправление логики переключения канала

parent 090cfb83
...@@ -51,7 +51,7 @@ int main( int argc, char** argv ) ...@@ -51,7 +51,7 @@ int main( int argc, char** argv )
{ {
opt = getopt_long(argc, argv, "hva:p:i:bc:", longopts, &optindex); opt = getopt_long(argc, argv, "hva:p:i:bc:", longopts, &optindex);
if( opt != -1 ) if( opt == -1 )
break; break;
switch (opt) switch (opt)
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
Name: libuniset2 Name: libuniset2
Version: 2.2 Version: 2.2
Release: alt23 Release: alt24
Summary: UniSet - library for building distributed industrial control systems Summary: UniSet - library for building distributed industrial control systems
...@@ -451,6 +451,9 @@ mv -f %buildroot%python_sitelibdir_noarch/* %buildroot%python_sitelibdir/%oname ...@@ -451,6 +451,9 @@ mv -f %buildroot%python_sitelibdir_noarch/* %buildroot%python_sitelibdir/%oname
# .. # ..
%changelog %changelog
* Thu Feb 18 2016 Pavel Vainerman <pv@altlinux.ru> 2.2-alt24
- modbustcpserver-echo: fixed bug for options
* Wed Feb 17 2016 Pavel Vainerman <pv@altlinux.ru> 2.2-alt23 * Wed Feb 17 2016 Pavel Vainerman <pv@altlinux.ru> 2.2-alt23
- IONotifyController: fixed buf for init thresholdslist - IONotifyController: fixed buf for init thresholdslist
......
...@@ -75,7 +75,7 @@ ...@@ -75,7 +75,7 @@
</UniExchange> </UniExchange>
<MBMaster1 iaddr="127.0.0.1" levels="info,warn,crit" name="MBMaster1" poll_time="200" port="30000" reply_timeout="60"> <MBMaster1 iaddr="127.0.0.1" levels="info,warn,crit" name="MBMaster1" poll_time="200" port="30000" reply_timeout="60">
<DeviceList> <DeviceList>
<item addr="0x01" invert="0" respondSensor="RespondRTU_S" timeout="5000" modeSensor="MB1_Mode_AS"/> <item addr="0x01" invert="1" respondSensor="RespondRTU_S" timeout="5000" modeSensor="MB1_Mode_AS"/>
</DeviceList> </DeviceList>
</MBMaster1> </MBMaster1>
<MBMultiMaster1 levels="info,warn,crit" name="MBMaster1" polltime="200"> <MBMultiMaster1 levels="info,warn,crit" name="MBMaster1" polltime="200">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment