Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
P
proview
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Esteban Blanc
proview
Commits
88e7f186
Commit
88e7f186
authored
Nov 02, 2012
by
Claes Sjofors
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rt_ini, start only system servers with config objects
parent
3c22204f
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
91 additions
and
3439 deletions
+91
-3439
src/exe/rt_ini/src/ini.c
src/exe/rt_ini/src/ini.c
+45
-40
src/exe/rt_ini/src/ini.h
src/exe/rt_ini/src/ini.h
+1
-1
src/lib/dtt/src/pwr_nmpsclasses.h
src/lib/dtt/src/pwr_nmpsclasses.h
+0
-2593
src/lib/dtt/src/pwr_remoteclasses.h
src/lib/dtt/src/pwr_remoteclasses.h
+0
-805
src/tools/pwre/src/os_cygwin/pwre.pl
src/tools/pwre/src/os_cygwin/pwre.pl
+9
-0
src/tools/pwre/src/os_freebsd/pwre.pl
src/tools/pwre/src/os_freebsd/pwre.pl
+9
-0
src/tools/pwre/src/os_linux/pwre.pl
src/tools/pwre/src/os_linux/pwre.pl
+9
-0
src/tools/pwre/src/os_macos/pwre.pl
src/tools/pwre/src/os_macos/pwre.pl
+9
-0
src/tools/pwre/src/os_openbsd/pwre.pl
src/tools/pwre/src/os_openbsd/pwre.pl
+9
-0
No files found.
src/exe/rt_ini/src/ini.c
View file @
88e7f186
...
@@ -48,6 +48,9 @@
...
@@ -48,6 +48,9 @@
#include "pwr.h"
#include "pwr.h"
#include "pwr_baseclasses.h"
#include "pwr_baseclasses.h"
#include "pwr_remoteclasses.h"
#include "pwr_nmpsclasses.h"
#include "pwr_opcclasses.h"
#include "co_dbs.h"
#include "co_dbs.h"
#include "co_tree.h"
#include "co_tree.h"
#include "co_time.h"
#include "co_time.h"
...
@@ -1870,6 +1873,7 @@ ini_ProcInsert (
...
@@ -1870,6 +1873,7 @@ ini_ProcInsert (
char
*
file
,
char
*
file
,
int
prio
,
int
prio
,
int
debug
,
int
debug
,
pwr_tCid
confcid
,
char
*
arg
,
char
*
arg
,
void
*
objectp
void
*
objectp
)
)
...
@@ -1879,6 +1883,7 @@ ini_ProcInsert (
...
@@ -1879,6 +1883,7 @@ ini_ProcInsert (
char
*
s
;
char
*
s
;
int
ret
;
int
ret
;
struct
stat
f_stat
;
struct
stat
f_stat
;
pwr_tOid
oid
;
pwr_dStatus
(
sts
,
status
,
INI__SUCCESS
);
pwr_dStatus
(
sts
,
status
,
INI__SUCCESS
);
...
@@ -1894,24 +1899,24 @@ ini_ProcInsert (
...
@@ -1894,24 +1899,24 @@ ini_ProcInsert (
if
(
run
!=
-
1
)
pp
->
flags
.
b
.
run
=
run
!=
0
;
if
(
run
!=
-
1
)
pp
->
flags
.
b
.
run
=
run
!=
0
;
if
(
file
!=
NULL
&&
file
[
0
]
!=
'\0'
&&
strcmp
(
file
,
"
\"\"
"
))
{
if
(
file
!=
NULL
&&
file
[
0
]
!=
'\0'
&&
strcmp
(
file
,
"
\"\"
"
))
{
if
(
pp
->
proc
.
file
!=
NULL
)
free
(
pp
->
proc
.
file
);
if
(
pp
->
proc
.
file
!=
NULL
)
free
(
pp
->
proc
.
file
);
pp
->
proc
.
file
=
strsav
(
file
);
pp
->
proc
.
file
=
strsav
(
file
);
#if defined OS_POSIX
#if defined OS_POSIX
s
=
getenv
(
"pwr_exe"
);
s
=
getenv
(
"pwr_exe"
);
sprintf
(
buf
,
"%s/%s"
,
s
,
file
);
ret
=
stat
(
buf
,
&
f_stat
);
if
(
ret
==
-
1
)
{
s
=
getenv
(
"pwrp_exe"
);
sprintf
(
buf
,
"%s/%s"
,
s
,
file
);
sprintf
(
buf
,
"%s/%s"
,
s
,
file
);
ret
=
stat
(
buf
,
&
f_stat
);
ret
=
stat
(
buf
,
&
f_stat
);
if
(
ret
==
-
1
)
if
(
ret
==
-
1
)
{
{
pp
->
flags
.
b
.
run
=
0
;
s
=
getenv
(
"pwrp_exe"
);
pp
->
proc
.
flags
.
b
.
load
=
0
;
sprintf
(
buf
,
"%s/%s"
,
s
,
file
);
ret
=
stat
(
buf
,
&
f_stat
);
if
(
ret
==
-
1
)
{
pp
->
flags
.
b
.
run
=
0
;
pp
->
proc
.
flags
.
b
.
load
=
0
;
}
}
}
}
#endif
#endif
}
}
if
(
confcid
&&
EVEN
(
gdh_GetClassList
(
confcid
,
&
oid
)))
pp
->
flags
.
b
.
run
=
0
;
if
(
arg
!=
NULL
&&
arg
[
0
]
!=
'\0'
&&
strcmp
(
arg
,
"
\"\"
"
))
{
if
(
arg
!=
NULL
&&
arg
[
0
]
!=
'\0'
&&
strcmp
(
arg
,
"
\"\"
"
))
{
if
(
pp
->
proc
.
arg
!=
NULL
)
free
(
pp
->
proc
.
arg
);
if
(
pp
->
proc
.
arg
!=
NULL
)
free
(
pp
->
proc
.
arg
);
pp
->
proc
.
arg
=
strsav
(
arg
);
pp
->
proc
.
arg
=
strsav
(
arg
);
...
@@ -1971,7 +1976,7 @@ ini_ProcStart (
...
@@ -1971,7 +1976,7 @@ ini_ProcStart (
if
(
pp
->
flags
.
b
.
run
)
{
if
(
pp
->
flags
.
b
.
run
)
{
errh_LogInfo
(
&
cp
->
log
,
"Starting %s, file: %s, prio: %d"
,
pp
->
id
,
pp
->
proc
.
file
,
pp
->
proc
.
p_prio
);
errh_LogInfo
(
&
cp
->
log
,
"Starting %s, file: %s, prio: %d"
,
pp
->
id
,
pp
->
proc
.
file
,
pp
->
proc
.
p_prio
);
}
else
{
}
else
{
errh_LogInfo
(
&
cp
->
log
,
"
%s, file: %s, prio: %d, will not be started."
,
pp
->
id
,
pp
->
proc
.
file
,
pp
->
proc
.
p_prio
);
errh_LogInfo
(
&
cp
->
log
,
"
Not starting %s, file: %s"
,
pp
->
id
,
pp
->
proc
.
file
);
return
;
return
;
}
}
...
@@ -2044,79 +2049,79 @@ ini_ProcTable (
...
@@ -2044,79 +2049,79 @@ ini_ProcTable (
pwr_dStatus
(
sts
,
status
,
INI__SUCCESS
);
pwr_dStatus
(
sts
,
status
,
INI__SUCCESS
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_neth"
,
"pwr_neth_%d"
,
0
,
1
,
"rt_neth"
,
cPrio_neth
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_neth"
,
"pwr_neth_%d"
,
0
,
1
,
"rt_neth"
,
cPrio_neth
,
0
,
0
,
""
,
0
);
pp
->
flags
.
b
.
neth
=
1
;
pp
->
flags
.
b
.
neth
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_qmon"
,
"pwr_qmon_%d"
,
0
,
1
,
"rt_qmon"
,
cPrio_qmon
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_qmon"
,
"pwr_qmon_%d"
,
0
,
1
,
"rt_qmon"
,
cPrio_qmon
,
0
,
0
,
""
,
0
);
pp
->
flags
.
b
.
qmon
=
1
;
pp
->
flags
.
b
.
qmon
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_nacp"
,
"pwr_nacp_%d"
,
0
,
1
,
"rt_neth_acp"
,
cPrio_neth_acp
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_nacp"
,
"pwr_nacp_%d"
,
0
,
1
,
"rt_neth_acp"
,
cPrio_neth_acp
,
0
,
0
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_io"
,
"pwr_io_%d"
,
0
,
1
,
"rt_io_comm"
,
cPrio_io_comm
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_io"
,
"pwr_io_%d"
,
0
,
1
,
"rt_io_comm"
,
cPrio_io_comm
,
0
,
pwr_cClass_IOHandler
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_tmon"
,
"pwr_tmon_%d"
,
0
,
1
,
"rt_tmon"
,
cPrio_tmon
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_tmon"
,
"pwr_tmon_%d"
,
0
,
1
,
"rt_tmon"
,
cPrio_tmon
,
0
,
0
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_emon"
,
"pwr_emon_%d"
,
0
,
1
,
"rt_emon"
,
cPrio_emon
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_emon"
,
"pwr_emon_%d"
,
0
,
1
,
"rt_emon"
,
cPrio_emon
,
0
,
0
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_alim"
,
"pwr_alim_%d"
,
0
,
1
,
"rt_alimserver"
,
cPrio_alimserver
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_alim"
,
"pwr_alim_%d"
,
0
,
1
,
"rt_alimserver"
,
cPrio_alimserver
,
0
,
0
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_bck"
,
"pwr_bck_%d"
,
0
,
1
,
"rt_bck"
,
cPrio_bck
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_bck"
,
"pwr_bck_%d"
,
0
,
1
,
"rt_bck"
,
cPrio_bck
,
0
,
pwr_cClass_Backup_Conf
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_linksup"
,
"pwr_linksup_%d"
,
0
,
1
,
"rt_linksup"
,
cPrio_linksup
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_linksup"
,
"pwr_linksup_%d"
,
0
,
1
,
"rt_linksup"
,
cPrio_linksup
,
0
,
pwr_cClass_NodeLinkSup
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_trend"
,
"pwr_trend_%d"
,
0
,
1
,
"rt_trend"
,
cPrio_trend
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_trend"
,
"pwr_trend_%d"
,
0
,
1
,
"rt_trend"
,
cPrio_trend
,
0
,
pwr_cClass_DsTrendConf
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_fast"
,
"pwr_fast_%d"
,
0
,
1
,
"rt_fast"
,
cPrio_fast
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_fast"
,
"pwr_fast_%d"
,
0
,
1
,
"rt_fast"
,
cPrio_fast
,
0
,
pwr_cClass_DsFastConf
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
#if defined OS_POSIX
#if defined OS_POSIX
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_remh"
,
"pwr_remh_%d"
,
0
,
1
,
"rs_remotehandler"
,
cPrio_remh
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_remh"
,
"pwr_remh_%d"
,
0
,
1
,
"rs_remotehandler"
,
cPrio_remh
,
0
,
pwr_cClass_RemoteConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_remlog"
,
"pwr_remlog_%d"
,
0
,
1
,
"rs_remote_logg"
,
cPrio_remotelogg
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_remlog"
,
"pwr_remlog_%d"
,
0
,
1
,
"rs_remote_logg"
,
cPrio_remotelogg
,
0
,
pwr_cClass_LoggConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_elog"
,
"pwr_elog_%d"
,
0
,
1
,
"rt_elog"
,
cPrio_elog
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_elog"
,
"pwr_elog_%d"
,
0
,
1
,
"rt_elog"
,
cPrio_elog
,
0
,
0
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sysmon"
,
"pwr_sysmon_%d"
,
0
,
1
,
"rt_sysmon"
,
cPrio_sysmon
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sysmon"
,
"pwr_sysmon_%d"
,
0
,
1
,
"rt_sysmon"
,
cPrio_sysmon
,
0
,
pwr_cClass_SysMonConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_webmon"
,
"pwr_webmon_%d"
,
0
,
1
,
"rt_webmon.sh"
,
cPrio_webmon
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_webmon"
,
"pwr_webmon_%d"
,
0
,
1
,
"rt_webmon.sh"
,
cPrio_webmon
,
0
,
pwr_cClass_WebHandler
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_webmonmh"
,
"pwr_webmonmh_%d"
,
0
,
1
,
"rt_webmonmh.sh"
,
cPrio_webmonmh
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_webmonmh"
,
"pwr_webmonmh_%d"
,
0
,
1
,
"rt_webmonmh.sh"
,
cPrio_webmonmh
,
0
,
pwr_cClass_WebHandler
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_webmonelog"
,
"pwr_webmonelog_%d"
,
0
,
1
,
"rt_webmonelog.sh"
,
cPrio_webmonelog
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_webmonelog"
,
"pwr_webmonelog_%d"
,
0
,
1
,
"rt_webmonelog.sh"
,
cPrio_webmonelog
,
0
,
pwr_cClass_WebHandler
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_opc_server"
,
"pwr_opc_server_%d"
,
0
,
1
,
"opc_server"
,
cPrio_opc_server
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_opc_server"
,
"pwr_opc_server_%d"
,
0
,
1
,
"opc_server"
,
cPrio_opc_server
,
0
,
pwr_cClass_Opc_ServerConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_statussrv"
,
"pwr_statussrv_%d"
,
0
,
1
,
"rt_statussrv"
,
cPrio_statussrv
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_statussrv"
,
"pwr_statussrv_%d"
,
0
,
1
,
"rt_statussrv"
,
cPrio_statussrv
,
0
,
pwr_cClass_StatusServerConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_post"
,
"pwr_post_%d"
,
0
,
1
,
"rt_post"
,
cPrio_post
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_post"
,
"pwr_post_%d"
,
0
,
1
,
"rt_post"
,
cPrio_post
,
0
,
pwr_cClass_PostConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_report"
,
"pwr_report_%d"
,
0
,
1
,
"rt_report"
,
cPrio_report
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_report"
,
"pwr_report_%d"
,
0
,
1
,
"rt_report"
,
cPrio_report
,
0
,
pwr_cClass_ReportConfig
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sevhistmon"
,
"pwr_sevhistmon_%d"
,
0
,
1
,
"rt_sevhistmon"
,
cPrio_sevhistmon
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sevhistmon"
,
"pwr_sevhistmon_%d"
,
0
,
1
,
"rt_sevhistmon"
,
cPrio_sevhistmon
,
0
,
pwr_cClass_SevHistMonitor
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sev_server"
,
"pwr_sev_server_%d"
,
0
,
1
,
"sev_server"
,
cPrio_sev_server
,
0
,
""
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
"pwr_sev_server"
,
"pwr_sev_server_%d"
,
0
,
1
,
"sev_server"
,
cPrio_sev_server
,
0
,
pwr_cClass_SevServer
,
""
,
0
);
pp
->
proc
.
flags
.
b
.
system
=
1
;
pp
->
proc
.
flags
.
b
.
system
=
1
;
#endif
#endif
...
@@ -2165,7 +2170,7 @@ ini_ProcTable (
...
@@ -2165,7 +2170,7 @@ ini_ProcTable (
// cp->PlcProcess = plc;
// cp->PlcProcess = plc;
snprintf
(
idstr
,
sizeof
(
idstr
),
"pwr_plc_%s"
,
name
);
snprintf
(
idstr
,
sizeof
(
idstr
),
"pwr_plc_%s"
,
name
);
snprintf
(
p_name
,
sizeof
(
p_name
),
"pwr_plc_%s_%%d_%d"
,
name
,
plc
->
ChgCount
++
%
10
);
snprintf
(
p_name
,
sizeof
(
p_name
),
"pwr_plc_%s_%%d_%d"
,
name
,
plc
->
ChgCount
++
%
10
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
idstr
,
p_name
,
1
,
1
,
cp
->
plcfile
[
i
].
name
,
cPrio_plc_init
,
plc
->
StartWithDebug
,
""
,
plc
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
idstr
,
p_name
,
1
,
1
,
cp
->
plcfile
[
i
].
name
,
cPrio_plc_init
,
plc
->
StartWithDebug
,
0
,
""
,
plc
);
pp
->
flags
.
b
.
plc
=
1
;
pp
->
flags
.
b
.
plc
=
1
;
cp
->
plc
=
pp
;
cp
->
plc
=
pp
;
pp
->
proc
.
flags
.
b
.
user
=
1
;
pp
->
proc
.
flags
.
b
.
user
=
1
;
...
@@ -2186,7 +2191,7 @@ ini_ProcTable (
...
@@ -2186,7 +2191,7 @@ ini_ProcTable (
if
(
ODD
(
*
sts
=
gdh_ObjidToPointer
(
oid
,
(
pwr_tAddress
*
)
&
ap
)))
{
if
(
ODD
(
*
sts
=
gdh_ObjidToPointer
(
oid
,
(
pwr_tAddress
*
)
&
ap
)))
{
pp
=
ini_ProcInsert
(
sts
,
cp
,
name
,
ap
->
ProgramName
,
ap
->
Load
,
ap
->
Run
,
pp
=
ini_ProcInsert
(
sts
,
cp
,
name
,
ap
->
ProgramName
,
ap
->
Load
,
ap
->
Run
,
ap
->
FileName
,
ap
->
JobPriority
,
ap
->
StartWithDebug
,
ap
->
Arg
,
ap
);
ap
->
FileName
,
ap
->
JobPriority
,
ap
->
StartWithDebug
,
0
,
ap
->
Arg
,
ap
);
pp
->
proc
.
flags
.
b
.
user
=
1
;
pp
->
proc
.
flags
.
b
.
user
=
1
;
}
}
}
}
...
@@ -2258,7 +2263,7 @@ ini_ProcTable (
...
@@ -2258,7 +2263,7 @@ ini_ProcTable (
else
else
i_prio
=
atoi
(
prio
);
i_prio
=
atoi
(
prio
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
id
,
name
,
i_load
,
i_run
,
file
,
i_prio
,
i_debug
,
arg
,
0
);
pp
=
ini_ProcInsert
(
sts
,
cp
,
id
,
name
,
i_load
,
i_run
,
file
,
i_prio
,
i_debug
,
0
,
arg
,
0
);
if
(
!
pp
->
proc
.
flags
.
b
.
system
&&
!
pp
->
proc
.
flags
.
b
.
base
)
if
(
!
pp
->
proc
.
flags
.
b
.
system
&&
!
pp
->
proc
.
flags
.
b
.
base
)
pp
->
proc
.
flags
.
b
.
user
=
1
;
pp
->
proc
.
flags
.
b
.
user
=
1
;
}
while
(
0
);
}
while
(
0
);
...
...
src/exe/rt_ini/src/ini.h
View file @
88e7f186
...
@@ -209,7 +209,7 @@ char * ini_LoadDirectory (pwr_tStatus*, ini_sContext*);
...
@@ -209,7 +209,7 @@ char * ini_LoadDirectory (pwr_tStatus*, ini_sContext*);
pwr_tBoolean
ini_LoadNode
(
pwr_tStatus
*
,
ini_sContext
*
);
pwr_tBoolean
ini_LoadNode
(
pwr_tStatus
*
,
ini_sContext
*
);
pwr_tBoolean
ini_LoadVolume
(
pwr_tStatus
*
,
ini_sContext
*
,
ivol_sVolume
*
);
pwr_tBoolean
ini_LoadVolume
(
pwr_tStatus
*
,
ini_sContext
*
,
ivol_sVolume
*
);
FILE
*
ini_OpenFile
(
pwr_tStatus
*
,
ini_sContext
*
,
ini_sFile
*
);
FILE
*
ini_OpenFile
(
pwr_tStatus
*
,
ini_sContext
*
,
ini_sFile
*
);
ini_sProc
*
ini_ProcInsert
(
pwr_tStatus
*
,
ini_sContext
*
,
char
*
,
char
*
,
int
,
int
,
char
*
,
int
,
int
,
char
*
,
void
*
);
ini_sProc
*
ini_ProcInsert
(
pwr_tStatus
*
,
ini_sContext
*
,
char
*
,
char
*
,
int
,
int
,
char
*
,
int
,
int
,
pwr_tCid
,
char
*
,
void
*
);
void
ini_ProcIter
(
pwr_tStatus
*
,
ini_sContext
*
,
int
,
int
,
void
ini_ProcIter
(
pwr_tStatus
*
,
ini_sContext
*
,
int
,
int
,
void
(
*
func
)
(
pwr_tStatus
*
,
ini_sContext
*
,
ini_sProc
*
));
void
(
*
func
)
(
pwr_tStatus
*
,
ini_sContext
*
,
ini_sProc
*
));
void
ini_ProcLoad
(
pwr_tStatus
*
,
ini_sContext
*
,
ini_sProc
*
);
void
ini_ProcLoad
(
pwr_tStatus
*
,
ini_sContext
*
,
ini_sProc
*
);
...
...
src/lib/dtt/src/pwr_nmpsclasses.h
deleted
100644 → 0
View file @
3c22204f
This source diff could not be displayed because it is too large. You can
view the blob
instead.
src/lib/dtt/src/pwr_remoteclasses.h
deleted
100644 → 0
View file @
3c22204f
/* Proview V4.8.5 pwr_remoteclasses.h */
/* Generated by co_convert. */
/* Do not edit this file. */
#ifndef pwr_remoteclasses_h
#define pwr_remoteclasses_h
#ifndef pwr_class_h
#include "pwr_class.h"
#endif
/*_* Enum: TransDirectionEnum
@Aref TransDirectionEnum TransDirectionEnum
*/
typedef
pwr_tEnum
pwr_tTransDirectionEnum
;
typedef
enum
{
pwr_eTransDirectionEnum_Receive
=
1
,
pwr_eTransDirectionEnum_Send
=
2
,
}
pwr_eTransDirectionEnum
;
#ifndef pwr_cClass_Buff1440
#define pwr_cClass_Buff1440 17039584UL
/*_* Class: Buff1440
Body: RtBody
@Aref Buff1440 pwr_sClass_Buff1440
*/
typedef
struct
{
pwr_tInt16
Data
[
720
]
pwr_dAlignLW
;
}
pwr_sClass_Buff1440
;
#endif
#ifndef pwr_cClass_Buff256
#define pwr_cClass_Buff256 17039592UL
/*_* Class: Buff256
Body: RtBody
@Aref Buff256 pwr_sClass_Buff256
*/
typedef
struct
{
pwr_tInt16
Data
[
128
]
pwr_dAlignLW
;
}
pwr_sClass_Buff256
;
#endif
#ifndef pwr_cClass_Buff32k
#define pwr_cClass_Buff32k 17039600UL
/*_* Class: Buff32k
Body: RtBody
@Aref Buff32k pwr_sClass_Buff32k
*/
typedef
struct
{
pwr_tInt16
Data
[
16384
]
pwr_dAlignLW
;
}
pwr_sClass_Buff32k
;
#endif
#ifndef pwr_cClass_Buff4096
#define pwr_cClass_Buff4096 17039608UL
/*_* Class: Buff4096
Body: RtBody
@Aref Buff4096 pwr_sClass_Buff4096
*/
typedef
struct
{
pwr_tInt16
Data
[
2048
]
pwr_dAlignLW
;
}
pwr_sClass_Buff4096
;
#endif
#ifndef pwr_cClass_BuffStr80
#define pwr_cClass_BuffStr80 17039616UL
/*_* Class: BuffStr80
Body: RtBody
@Aref BuffStr80 pwr_sClass_BuffStr80
*/
typedef
struct
{
pwr_tString80
Data
pwr_dAlignLW
;
}
pwr_sClass_BuffStr80
;
#endif
#ifndef pwr_cClass_LoggConfig
#define pwr_cClass_LoggConfig 17039576UL
/*_* Class: LoggConfig
Body: RtBody
@Aref LoggConfig pwr_sClass_LoggConfig
*/
typedef
struct
{
pwr_tString40
LoggFile
pwr_dAlignLW
;
pwr_tBoolean
NewVersion
pwr_dAlignW
;
pwr_tUInt32
Identity
pwr_dAlignW
;
pwr_tUInt32
LoggCount
pwr_dAlignW
;
pwr_tUInt32
FileOpenCount
pwr_dAlignW
;
}
pwr_sClass_LoggConfig
;
#endif
#ifndef pwr_cClass_MultiCast
#define pwr_cClass_MultiCast 17039568UL
/*_* Class: MultiCast
Body: RtBody
@Aref MultiCast pwr_sClass_MultiCast
*/
typedef
struct
{
pwr_tUInt16
Address
[
16
]
pwr_dAlignLW
;
}
pwr_sClass_MultiCast
;
#endif
#ifndef pwr_cClass_RemAi
#define pwr_cClass_RemAi 17039456UL
/*_* Class: RemAi
Body: RtBody
@Aref RemAi pwr_sClass_RemAi
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
}
pwr_sClass_RemAi
;
#endif
#ifndef pwr_cClass_RemAo
#define pwr_cClass_RemAo 17039464UL
/*_* Class: RemAo
Body: RtBody
@Aref RemAo pwr_sClass_RemAo
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
}
pwr_sClass_RemAo
;
#endif
#ifndef pwr_cClass_RemChan_Ai
#define pwr_cClass_RemChan_Ai 17039480UL
/*_* Class: RemChan_Ai
Body: RtBody
@Aref RemChan_Ai pwr_sClass_RemChan_Ai
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tObjid
SigChanCon
pwr_dAlignW
;
pwr_tString40
Identity
pwr_dAlignW
;
pwr_tFloat32
*
ActualValue
pwr_dAlignLW
;
pwr_tUInt32
SensorPolyType
pwr_dAlignLW
;
pwr_tFloat32
SensorPolyCoef0
pwr_dAlignW
;
pwr_tFloat32
SensorPolyCoef1
pwr_dAlignW
;
pwr_tFloat32
SensorPolyCoef2
pwr_dAlignW
;
pwr_tUInt32
ConvOff
pwr_dAlignW
;
}
pwr_sClass_RemChan_Ai
;
#endif
#ifndef pwr_cClass_RemChan_Ao
#define pwr_cClass_RemChan_Ao 17039488UL
/*_* Class: RemChan_Ao
Body: RtBody
@Aref RemChan_Ao pwr_sClass_RemChan_Ao
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tObjid
SigChanCon
pwr_dAlignW
;
pwr_tString40
Identity
pwr_dAlignW
;
pwr_tFloat32
*
ActualValue
pwr_dAlignLW
;
pwr_tFloat32
OutPolyCoef0
pwr_dAlignLW
;
pwr_tFloat32
OutPolyCoef1
pwr_dAlignW
;
pwr_tFloat32
OutMaxLimit
pwr_dAlignW
;
pwr_tFloat32
OutMinLimit
pwr_dAlignW
;
pwr_tUInt32
ConvOff
pwr_dAlignW
;
pwr_tInt16
OldValue
pwr_dAlignW
;
pwr_tBoolean
PwrIsMaster
pwr_dAlignW
;
}
pwr_sClass_RemChan_Ao
;
#endif
#ifndef pwr_cClass_RemChan_Co
#define pwr_cClass_RemChan_Co 17039496UL
/*_* Class: RemChan_Co
Body: RtBody
@Aref RemChan_Co pwr_sClass_RemChan_Co
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tObjid
SigChanCon
pwr_dAlignW
;
pwr_tString40
Identity
pwr_dAlignW
;
pwr_tInt32
*
ActualValue
pwr_dAlignLW
;
pwr_tInt32
*
ExtendedValue
pwr_dAlignLW
;
pwr_tUInt32
NoOfBits
pwr_dAlignLW
;
pwr_tUInt32
ConvOff
pwr_dAlignW
;
pwr_tUInt32
SyncRawValue
pwr_dAlignW
;
pwr_tBoolean
CounterZeroFlag
pwr_dAlignW
;
pwr_tBoolean
CounterSyncFlag
pwr_dAlignW
;
}
pwr_sClass_RemChan_Co
;
#endif
#ifndef pwr_cClass_RemChan_Di
#define pwr_cClass_RemChan_Di 17039512UL
/*_* Class: RemChan_Di
Body: RtBody
@Aref RemChan_Di pwr_sClass_RemChan_Di
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tObjid
SigChanCon
pwr_dAlignW
;
pwr_tString40
Identity
pwr_dAlignW
;
pwr_tBoolean
*
ActualValue
pwr_dAlignLW
;
pwr_tUInt32
ConvOff
pwr_dAlignLW
;
pwr_tUInt32
BuffOff
pwr_dAlignW
;
pwr_tUInt8
ConvMask
pwr_dAlignW
;
}
pwr_sClass_RemChan_Di
;
#endif
#ifndef pwr_cClass_RemChan_Do
#define pwr_cClass_RemChan_Do 17039472UL
/*_* Class: RemChan_Do
Body: RtBody
@Aref RemChan_Do pwr_sClass_RemChan_Do
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tObjid
SigChanCon
pwr_dAlignW
;
pwr_tString40
Identity
pwr_dAlignW
;
pwr_tBoolean
*
ActualValue
pwr_dAlignLW
;
pwr_tUInt32
ConvOff
pwr_dAlignLW
;
pwr_tUInt32
BuffOff
pwr_dAlignW
;
pwr_tUInt8
ConvMask
pwr_dAlignW
;
pwr_tBoolean
PwrIsMaster
pwr_dAlignW
;
pwr_tBoolean
OldValue
pwr_dAlignW
;
}
pwr_sClass_RemChan_Do
;
#endif
#ifndef pwr_cClass_RemChan_Dv
#define pwr_cClass_RemChan_Dv 17039504UL
/*_* Class: RemChan_Dv
Body: RtBody
@Aref RemChan_Dv pwr_sClass_RemChan_Dv
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tObjid
SigChanCon
pwr_dAlignW
;
pwr_tBoolean
*
ActualValue
pwr_dAlignLW
;
pwr_tUInt32
ConvOff
pwr_dAlignLW
;
pwr_tUInt32
BuffOff
pwr_dAlignW
;
pwr_tUInt8
ConvMask
pwr_dAlignW
;
pwr_tBoolean
PwrIsMaster
pwr_dAlignW
;
pwr_tBoolean
OldValue
pwr_dAlignW
;
}
pwr_sClass_RemChan_Dv
;
#endif
#ifndef pwr_cClass_RemCo
#define pwr_cClass_RemCo 17039520UL
/*_* Class: RemCo
Body: RtBody
@Aref RemCo pwr_sClass_RemCo
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
}
pwr_sClass_RemCo
;
#endif
#ifndef pwr_cClass_RemDi
#define pwr_cClass_RemDi 17039528UL
/*_* Class: RemDi
Body: RtBody
@Aref RemDi pwr_sClass_RemDi
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
}
pwr_sClass_RemDi
;
#endif
#ifndef pwr_cClass_RemDo
#define pwr_cClass_RemDo 17039536UL
/*_* Class: RemDo
Body: RtBody
@Aref RemDo pwr_sClass_RemDo
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
}
pwr_sClass_RemDo
;
#endif
#ifndef pwr_cClass_RemDv
#define pwr_cClass_RemDv 17039544UL
/*_* Class: RemDv
Body: RtBody
@Aref RemDv pwr_sClass_RemDv
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
}
pwr_sClass_RemDv
;
#endif
#ifndef pwr_cClass_RemNode
#define pwr_cClass_RemNode 17039552UL
/*_* Class: RemNode
Body: RtBody
@Aref RemNode pwr_sClass_RemNode
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tString40
NodeName
pwr_dAlignW
;
pwr_tUInt16
Address
[
4
]
pwr_dAlignW
;
pwr_tUInt32
TransportType
pwr_dAlignW
;
pwr_tUInt32
NumberOfRestarts
pwr_dAlignW
;
pwr_tFloat32
CycleTime
pwr_dAlignW
;
pwr_tFloat32
ErrTime
pwr_dAlignW
;
pwr_tFloat32
IOCycleTime
pwr_dAlignW
;
pwr_tFloat32
IOStallTime
pwr_dAlignW
;
pwr_tUInt32
IOStallAction
pwr_dAlignW
;
pwr_tObjid
IODataArea
pwr_dAlignW
;
pwr_tUInt32
NumberOfTrans
pwr_dAlignW
;
pwr_tUInt32
NumberOfDI
pwr_dAlignW
;
pwr_tUInt32
NumberOfDO
pwr_dAlignW
;
pwr_tUInt32
NumberOfAI
pwr_dAlignW
;
pwr_tUInt32
NumberOfAO
pwr_dAlignW
;
pwr_tUInt32
NumberOfDV
pwr_dAlignW
;
pwr_tUInt32
NumberOfCo
pwr_dAlignW
;
pwr_tInt32
PollDiff
pwr_dAlignW
;
pwr_tUInt32
ErrTransCount
pwr_dAlignW
;
pwr_tBoolean
Poll
pwr_dAlignW
;
pwr_tBoolean
IOStallFlag
pwr_dAlignW
;
}
pwr_sClass_RemNode
;
#endif
#ifndef pwr_cClass_Remnode3964R
#define pwr_cClass_Remnode3964R 17039368UL
/*_* Class: Remnode3964R
Body: RtBody
@Aref Remnode3964R pwr_sClass_Remnode3964R
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tUInt32
Speed
pwr_dAlignW
;
pwr_tEnum
Parity
pwr_dAlignW
;
pwr_tEnum
StopBits
pwr_dAlignW
;
pwr_tEnum
DataBits
pwr_dAlignW
;
pwr_tFloat32
CharTimeout
pwr_dAlignW
;
pwr_tFloat32
AckTimeout
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_Remnode3964R
;
#endif
#ifndef pwr_cClass_RemnodeALCM
#define pwr_cClass_RemnodeALCM 17039376UL
/*_* Class: RemnodeALCM
Body: RtBody
@Aref RemnodeALCM pwr_sClass_RemnodeALCM
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tString32
RemoteHostname
pwr_dAlignW
;
pwr_tString32
RemoteAddress
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tFloat32
RetransmitTime
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tBoolean
IOPoll
pwr_dAlignW
;
pwr_tFloat32
IOPollTime
pwr_dAlignW
;
pwr_tFloat32
IOPollTimeSlow
pwr_dAlignW
;
pwr_tInt32
IOPollDiff
pwr_dAlignW
;
pwr_tFloat32
IOStallTime
pwr_dAlignW
;
pwr_tUInt32
IOStallAction
pwr_dAlignW
;
pwr_tBoolean
IOStallFlag
pwr_dAlignW
;
pwr_tObjid
IODataArea
pwr_dAlignW
;
pwr_tUInt32
NumberOfDI
pwr_dAlignW
;
pwr_tUInt32
NumberOfDO
pwr_dAlignW
;
pwr_tUInt32
NumberOfAI
pwr_dAlignW
;
pwr_tUInt32
NumberOfAO
pwr_dAlignW
;
pwr_tUInt32
NumberOfDV
pwr_dAlignW
;
pwr_tUInt32
NumberOfCo
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeALCM
;
#endif
#ifndef pwr_cClass_RemnodeModbus
#define pwr_cClass_RemnodeModbus 17039384UL
/*_* Class: RemnodeModbus
Body: RtBody
@Aref RemnodeModbus pwr_sClass_RemnodeModbus
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tUInt32
Speed
pwr_dAlignW
;
pwr_tEnum
Parity
pwr_dAlignW
;
pwr_tEnum
StopBits
pwr_dAlignW
;
pwr_tEnum
DataBits
pwr_dAlignW
;
pwr_tFloat32
ReadTimeout
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeModbus
;
#endif
#ifndef pwr_cClass_RemnodeMQ
#define pwr_cClass_RemnodeMQ 17039392UL
/*_* Class: RemnodeMQ
Body: RtBody
@Aref RemnodeMQ pwr_sClass_RemnodeMQ
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tInt32
MyQueue
pwr_dAlignW
;
pwr_tInt32
TargetGroup
pwr_dAlignW
;
pwr_tInt32
TargetQueue
pwr_dAlignW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeMQ
;
#endif
#ifndef pwr_cClass_RemnodeRK512
#define pwr_cClass_RemnodeRK512 17039432UL
/*_* Class: RemnodeRK512
Body: RtBody
@Aref RemnodeRK512 pwr_sClass_RemnodeRK512
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tUInt32
Speed
pwr_dAlignW
;
pwr_tEnum
Parity
pwr_dAlignW
;
pwr_tEnum
StopBits
pwr_dAlignW
;
pwr_tEnum
DataBits
pwr_dAlignW
;
pwr_tFloat32
CharTimeout
pwr_dAlignW
;
pwr_tFloat32
AckTimeout
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeRK512
;
#endif
#ifndef pwr_cClass_RemnodeSerial
#define pwr_cClass_RemnodeSerial 17039408UL
/*_* Class: RemnodeSerial
Body: RtBody
@Aref RemnodeSerial pwr_sClass_RemnodeSerial
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tUInt32
Speed
pwr_dAlignW
;
pwr_tEnum
Parity
pwr_dAlignW
;
pwr_tEnum
StopBits
pwr_dAlignW
;
pwr_tEnum
DataBits
pwr_dAlignW
;
pwr_tInt16
TermChar
[
8
]
pwr_dAlignW
;
pwr_tFloat32
ReadTimeout
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeSerial
;
#endif
#ifndef pwr_cClass_RemnodeTCP
#define pwr_cClass_RemnodeTCP 17039424UL
/*_* Class: RemnodeTCP
Body: RtBody
@Aref RemnodeTCP pwr_sClass_RemnodeTCP
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tString80
RemoteHostname
pwr_dAlignW
;
pwr_tString32
RemoteAddress
pwr_dAlignW
;
pwr_tUInt32
LocalPort
pwr_dAlignW
;
pwr_tUInt32
RemotePort
pwr_dAlignW
;
pwr_tEnum
ConnectionMode
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tFloat32
RetransmitTime
pwr_dAlignW
;
pwr_tBoolean
UseKeepalive
pwr_dAlignW
;
pwr_tFloat32
KeepaliveTime
pwr_dAlignW
;
pwr_tInt32
KeepaliveDiff
pwr_dAlignW
;
pwr_tBoolean
DisableHeader
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeTCP
;
#endif
#ifndef pwr_cClass_RemnodeUDP
#define pwr_cClass_RemnodeUDP 17039400UL
/*_* Class: RemnodeUDP
Body: RtBody
@Aref RemnodeUDP pwr_sClass_RemnodeUDP
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString32
DevName
pwr_dAlignW
;
pwr_tString80
RemoteHostname
pwr_dAlignW
;
pwr_tString32
RemoteAddress
pwr_dAlignW
;
pwr_tUInt32
LocalPort
pwr_dAlignW
;
pwr_tUInt32
RemotePort
pwr_dAlignW
;
pwr_tBoolean
LinkUp
pwr_dAlignW
;
pwr_tFloat32
LinkTimeout
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tFloat32
RetransmitTime
pwr_dAlignW
;
pwr_tBoolean
UseKeepalive
pwr_dAlignW
;
pwr_tFloat32
KeepaliveTime
pwr_dAlignW
;
pwr_tInt32
KeepaliveDiff
pwr_dAlignW
;
pwr_tBoolean
DisableHeader
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeUDP
;
#endif
#ifndef pwr_cClass_RemnodeWMQ
#define pwr_cClass_RemnodeWMQ 17039624UL
/*_* Class: RemnodeWMQ
Body: RtBody
@Aref RemnodeWMQ pwr_sClass_RemnodeWMQ
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tInt32
Prio
pwr_dAlignW
;
pwr_tString80
QueueManager
pwr_dAlignW
;
pwr_tString80
RcvQueue
pwr_dAlignW
;
pwr_tString80
SndQueue
pwr_dAlignW
;
pwr_tFloat32
ScanTime
pwr_dAlignW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tUInt32
RestartCount
pwr_dAlignW
;
pwr_tUInt32
RestartLimit
pwr_dAlignW
;
pwr_tTime
RestartTime
pwr_dAlignLW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tString8
Id
pwr_dAlignW
;
pwr_tObjid
RemTransObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemnodeWMQ
;
#endif
#ifndef pwr_cClass_RemoteConfig
#define pwr_cClass_RemoteConfig 17039416UL
/*_* Class: RemoteConfig
Body: RtBody
@Aref RemoteConfig pwr_sClass_RemoteConfig
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tBoolean
Disable
pwr_dAlignW
;
pwr_tObjid
RemNodeObjects
[
25
]
pwr_dAlignW
;
}
pwr_sClass_RemoteConfig
;
#endif
#ifndef pwr_cClass_RemTrans
#define pwr_cClass_RemTrans 17039560UL
/*_* Class: RemTrans
Body: RtBody
@Aref RemTrans pwr_sClass_RemTrans
*/
typedef
struct
{
pwr_tString80
Description
pwr_dAlignLW
;
pwr_tString40
TransName
pwr_dAlignW
;
pwr_tUInt16
Address
[
4
]
pwr_dAlignW
;
pwr_tTransDirectionEnum
Direction
pwr_dAlignW
;
pwr_tUInt32
DataLength
pwr_dAlignW
;
pwr_tUInt32
LoggLevel
pwr_dAlignW
;
pwr_tUInt32
MaxBuffers
pwr_dAlignW
;
pwr_tUInt32
Buffers
pwr_dAlignW
;
pwr_tUInt32
MaxLength
pwr_dAlignW
;
pwr_tUInt32
LastSts
pwr_dAlignW
;
pwr_tTime
TransTime
pwr_dAlignLW
;
pwr_tUInt32
TransCount
pwr_dAlignW
;
pwr_tUInt32
BuffCount
pwr_dAlignW
;
pwr_tUInt32
LostCount
pwr_dAlignW
;
pwr_tUInt32
ErrCount
pwr_dAlignW
;
pwr_tBoolean
DataValid
pwr_dAlignW
;
pwr_tString40
StructName
pwr_dAlignW
;
pwr_tString80
StructFile
pwr_dAlignW
;
}
pwr_sClass_RemTrans
;
#endif
#ifndef pwr_cClass_RemTransRcv
#define pwr_cClass_RemTransRcv 17039448UL
/*_* Class: RemTransRcv
Body: RtBody
@Aref RemTransRcv pwr_sClass_RemTransRcv
*/
typedef
struct
{
pwr_tVoid
**
RemTransP
pwr_dAlignLW
;
pwr_tVoid
*
RemTrans
pwr_dAlignLW
;
pwr_tBoolean
Received
pwr_dAlignLW
;
}
pwr_sClass_RemTransRcv
;
/*_* Class: RemTransRcv
Body: DevBody
@Aref RemTransRcv pwr_sdClass_RemTransRcv
*/
typedef
struct
{
pwr_sPlcNode
PlcNode
pwr_dAlignLW
;
}
pwr_sdClass_RemTransRcv
;
#endif
#ifndef pwr_cClass_RemTransSend
#define pwr_cClass_RemTransSend 17039440UL
/*_* Class: RemTransSend
Body: RtBody
@Aref RemTransSend pwr_sClass_RemTransSend
*/
typedef
struct
{
pwr_tVoid
**
RemTransP
pwr_dAlignLW
;
pwr_tVoid
*
RemTrans
pwr_dAlignLW
;
pwr_tBoolean
*
SendP
pwr_dAlignLW
;
pwr_tBoolean
Send
pwr_dAlignLW
;
pwr_tBoolean
Occupied
pwr_dAlignW
;
pwr_tBoolean
Buffer
pwr_dAlignW
;
pwr_tBoolean
Error
pwr_dAlignW
;
}
pwr_sClass_RemTransSend
;
/*_* Class: RemTransSend
Body: DevBody
@Aref RemTransSend pwr_sdClass_RemTransSend
*/
typedef
struct
{
pwr_sPlcNode
PlcNode
pwr_dAlignLW
;
}
pwr_sdClass_RemTransSend
;
#endif
#endif
src/tools/pwre/src/os_cygwin/pwre.pl
View file @
88e7f186
...
@@ -230,6 +230,15 @@ sub build_kernel # args: flavour
...
@@ -230,6 +230,15 @@ sub build_kernel # args: flavour
_module
("
wb
");
_module
("
wb
");
build_all
("
copy
",
$flavour
);
build_all
("
copy
",
$flavour
);
merge
();
merge
();
_module
("
nmps
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
remote
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
opc
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
rt
");
_module
("
rt
");
build_all
("
lib
",
$flavour
);
build_all
("
lib
",
$flavour
);
merge
();
merge
();
...
...
src/tools/pwre/src/os_freebsd/pwre.pl
View file @
88e7f186
...
@@ -231,6 +231,15 @@ sub build_kernel # args: flavour
...
@@ -231,6 +231,15 @@ sub build_kernel # args: flavour
_module
("
wb
");
_module
("
wb
");
build_all
("
copy
",
$flavour
);
build_all
("
copy
",
$flavour
);
merge
();
merge
();
_module
("
nmps
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
remote
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
opc
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
rt
");
_module
("
rt
");
build_all
("
lib
",
$flavour
);
build_all
("
lib
",
$flavour
);
merge
();
merge
();
...
...
src/tools/pwre/src/os_linux/pwre.pl
View file @
88e7f186
...
@@ -230,6 +230,15 @@ sub build_kernel # args: flavour
...
@@ -230,6 +230,15 @@ sub build_kernel # args: flavour
_module
("
wb
");
_module
("
wb
");
build_all
("
copy
",
$flavour
);
build_all
("
copy
",
$flavour
);
merge
();
merge
();
_module
("
nmps
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
remote
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
opc
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
rt
");
_module
("
rt
");
build_all
("
lib
",
$flavour
);
build_all
("
lib
",
$flavour
);
merge
();
merge
();
...
...
src/tools/pwre/src/os_macos/pwre.pl
View file @
88e7f186
...
@@ -231,6 +231,15 @@ sub build_kernel # args: flavour
...
@@ -231,6 +231,15 @@ sub build_kernel # args: flavour
_module
("
wb
");
_module
("
wb
");
build_all
("
copy
",
$flavour
);
build_all
("
copy
",
$flavour
);
merge
();
merge
();
_module
("
nmps
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
remote
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
opc
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
rt
");
_module
("
rt
");
build_all
("
lib
",
$flavour
);
build_all
("
lib
",
$flavour
);
merge
();
merge
();
...
...
src/tools/pwre/src/os_openbsd/pwre.pl
View file @
88e7f186
...
@@ -231,6 +231,15 @@ sub build_kernel # args: flavour
...
@@ -231,6 +231,15 @@ sub build_kernel # args: flavour
_module
("
wb
");
_module
("
wb
");
build_all
("
copy
",
$flavour
);
build_all
("
copy
",
$flavour
);
merge
();
merge
();
_module
("
nmps
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
remote
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
opc
");
build_all
("
copy
",
$flavour
);
merge
();
_module
("
rt
");
_module
("
rt
");
build_all
("
lib
",
$flavour
);
build_all
("
lib
",
$flavour
);
merge
();
merge
();
...
...
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