Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
U
uniset2
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UniSet project repositories
uniset2
Commits
9aad18af
Commit
9aad18af
authored
Feb 18, 2016
by
Pavel Vainerman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(ModbusTCPMultiMaster): исправление логики переключения канала
parent
ecd5516e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
3 deletions
+6
-3
mbtcpserver.cc
Utilities/MBTester/mbtcpserver.cc
+1
-1
libuniset2.spec
conf/libuniset2.spec
+4
-1
test.xml
conf/test.xml
+1
-1
No files found.
Utilities/MBTester/mbtcpserver.cc
View file @
9aad18af
...
...
@@ -51,7 +51,7 @@ int main( int argc, char** argv )
{
opt
=
getopt_long
(
argc
,
argv
,
"hva:p:i:bc:"
,
longopts
,
&
optindex
);
if
(
opt
!
=
-
1
)
if
(
opt
=
=
-
1
)
break
;
switch
(
opt
)
...
...
conf/libuniset2.spec
View file @
9aad18af
...
...
@@ -13,7 +13,7 @@
Name: libuniset2
Version: 2.2
Release: alt2
3
Release: alt2
4
Summary: UniSet - library for building distributed industrial control systems
...
...
@@ -451,6 +451,9 @@ mv -f %buildroot%python_sitelibdir_noarch/* %buildroot%python_sitelibdir/%oname
# ..
%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
- IONotifyController: fixed buf for init thresholdslist
...
...
conf/test.xml
View file @
9aad18af
...
...
@@ -75,7 +75,7 @@
</UniExchange>
<MBMaster1
iaddr=
"127.0.0.1"
levels=
"info,warn,crit"
name=
"MBMaster1"
poll_time=
"200"
port=
"30000"
reply_timeout=
"60"
>
<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>
</MBMaster1>
<MBMultiMaster1
levels=
"info,warn,crit"
name=
"MBMaster1"
polltime=
"200"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment