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
a62666df
Commit
a62666df
authored
Oct 10, 2021
by
Pavel Vainerman
Committed by
Pavel Vainerman
Oct 11, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed tests
parent
96fe76f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
171 additions
and
0 deletions
+171
-0
tests_oindex_hash_collision_config.xml
tests/tests_oindex_hash_collision_config.xml
+85
-0
tests_oindex_hash_config.xml
tests/tests_oindex_hash_config.xml
+86
-0
No files found.
tests/tests_oindex_hash_collision_config.xml
0 → 100644
View file @
a62666df
<?xml version = '1.0' encoding = 'UTF-8' ?>
<UNISETPLC>
<UserData></UserData>
<!-- Общие(стартовые) параметры по UniSet -->
<UniSet>
<NameService
host=
"localhost"
port=
"2809"
/>
<LocalNode
name=
"LocalhostNode"
/>
<RootSection
name=
"UNISET_PLC"
/>
<CountOfNet
name=
"1"
/>
<RepeatCount
name=
"3"
/>
<RepeatTimeoutMS
name=
"50"
/>
<WatchDogTime
name=
"0"
/>
<!-- [мин] -->
<PingNodeTime
name=
"0"
/>
<!-- [сек] -->
<AutoStartUpTime
name=
"1"
/>
<!-- [сек] -->
<DumpStateTime
name=
"10"
/>
<!-- [сек] -->
<SleepTickMS
name=
"500"
/>
<!-- [мсек] -->
<!-- Debug, logs -->
<UniSetDebug
name=
"unideb"
levels=
"crit,warn"
file=
""
/>
<!-- Если не указано, то считается текущий каталог -->
<ConfDir
name=
""
/>
<DataDir
name=
""
/>
<BinDir
name=
""
/>
<LogDir
name=
""
/>
<DocDir
name=
""
/>
<LockDir
name=
""
/>
<testnode
name=
"testnode"
id2=
"-100"
/>
<Services>
<LocalTimeService
name=
"TimeService"
MaxCountTimers=
"100"
AskLifeTimeSEC=
"10"
/>
<LocalInfoServer
name=
"InfoServer"
dbrepeat=
"1"
>
<RouteList>
</RouteList>
</LocalInfoServer>
<LocalDBServer
name=
"DBServer"
dbnode=
""
dbname=
"UNISET_PLC"
dbuser=
"dbadmin"
dbpass=
"dbadmin"
pingTime=
"60000"
reconnectTime=
"30000"
/>
<LocalPrintServer
device=
"/dev/lp0"
checkTime=
"5000"
/>
</Services>
</UniSet>
<dlog
name=
"dlog"
levels=
""
file=
""
/>
<ObjectsMap>
<!--
Краткие пояснения к полям секции 'sensors'
==========================================
node - узел на котором физически находится данный датчик
iotype - тип датчика
priority - приоритет сообщения об изменении данного датчика
textname - текстовое имя датчика
-->
<nodes
port=
"2809"
>
<item
name=
"LocalhostNode"
alias=
""
textname=
"Локальный узел"
ip=
"127.0.0.1"
/>
<item
name=
"Node2"
alias=
""
textname=
"Локальный узел"
ip=
"127.0.0.1"
/>
</nodes>
<!-- ************************ Датчики ********************** -->
<sensors
name=
"Sensors"
>
<item
name=
"Input1_S"
textname=
"Команда 1"
node=
""
iotype=
"DI"
priority=
"Medium"
default=
"1"
/>
<item
name=
"Input1_S"
textname=
"Повторное имя Input1_S"
node=
""
iotype=
"DI"
priority=
"Medium"
/>
</sensors>
<thresholds
name=
"thresholds"
>
</thresholds>
<controllers
name=
"Controllers"
>
<item
name=
"SharedMemory"
/>
</controllers>
<!-- ******************* Идентификаторы сервисов ***************** -->
<services
name=
"Services"
>
<item
id=
"99"
name=
"TimeService"
/>
</services>
<!-- ******************* Идентификаторы объектов ***************** -->
<objects
name=
"UniObjects"
>
<item
name=
"TestProc"
/>
</objects>
</ObjectsMap>
</UNISETPLC>
tests/tests_oindex_hash_config.xml
0 → 100644
View file @
a62666df
<?xml version = '1.0' encoding = 'UTF-8' ?>
<UNISETPLC>
<UserData></UserData>
<!-- Общие(стартовые) параметры по UniSet -->
<UniSet>
<NameService
host=
"localhost"
port=
"2809"
/>
<LocalNode
name=
"LocalhostNode"
/>
<RootSection
name=
"UNISET_PLC"
/>
<CountOfNet
name=
"1"
/>
<RepeatCount
name=
"3"
/>
<RepeatTimeoutMS
name=
"50"
/>
<WatchDogTime
name=
"0"
/>
<!-- [мин] -->
<PingNodeTime
name=
"0"
/>
<!-- [сек] -->
<AutoStartUpTime
name=
"1"
/>
<!-- [сек] -->
<DumpStateTime
name=
"10"
/>
<!-- [сек] -->
<SleepTickMS
name=
"500"
/>
<!-- [мсек] -->
<!-- Debug, logs -->
<UniSetDebug
name=
"unideb"
levels=
"crit,warn"
file=
""
/>
<!-- Если не указано, то считается текущий каталог -->
<ConfDir
name=
""
/>
<DataDir
name=
""
/>
<BinDir
name=
""
/>
<LogDir
name=
""
/>
<DocDir
name=
""
/>
<LockDir
name=
""
/>
<testnode
name=
"testnode"
id2=
"-100"
/>
<Services>
<LocalTimeService
name=
"TimeService"
MaxCountTimers=
"100"
AskLifeTimeSEC=
"10"
/>
<LocalInfoServer
name=
"InfoServer"
dbrepeat=
"1"
>
<RouteList>
</RouteList>
</LocalInfoServer>
<LocalDBServer
name=
"DBServer"
dbnode=
""
dbname=
"UNISET_PLC"
dbuser=
"dbadmin"
dbpass=
"dbadmin"
pingTime=
"60000"
reconnectTime=
"30000"
/>
<LocalPrintServer
device=
"/dev/lp0"
checkTime=
"5000"
/>
</Services>
</UniSet>
<dlog
name=
"dlog"
levels=
""
file=
""
/>
<ObjectsMap>
<!--
Краткие пояснения к полям секции 'sensors'
==========================================
node - узел на котором физически находится данный датчик
iotype - тип датчика
priority - приоритет сообщения об изменении данного датчика
textname - текстовое имя датчика
-->
<nodes
port=
"2809"
>
<item
name=
"LocalhostNode"
alias=
""
textname=
"Локальный узел"
ip=
"127.0.0.1"
/>
<item
name=
"Node2"
alias=
""
textname=
"Локальный узел"
ip=
"127.0.0.1"
/>
</nodes>
<!-- ************************ Датчики ********************** -->
<sensors
name=
"Sensors"
>
<item
name=
"Input1_S"
textname=
"Команда 1"
node=
""
iotype=
"DI"
priority=
"Medium"
default=
"1"
/>
<item
name=
"Input2_S"
textname=
"Команда 2"
node=
""
iotype=
"DI"
priority=
"Medium"
/>
<item
name=
"Input3_S"
textname=
"Команда 3"
node=
""
iotype=
"DI"
priority=
"Medium"
/>
</sensors>
<thresholds
name=
"thresholds"
>
</thresholds>
<controllers
name=
"Controllers"
>
<item
name=
"SharedMemory"
/>
</controllers>
<!-- ******************* Идентификаторы сервисов ***************** -->
<services
name=
"Services"
>
<item
name=
"TimeService"
/>
</services>
<!-- ******************* Идентификаторы объектов ***************** -->
<objects
name=
"UniObjects"
>
<item
name=
"TestProc"
/>
</objects>
</ObjectsMap>
</UNISETPLC>
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