Commit d1dbd6d1 authored by claes's avatar claes

Start of rt_statussrv at boot

parent 7cce30a2
/*
* Proview $Id: ini.c,v 1.28 2007-05-07 12:35:34 claes Exp $
* Proview $Id: ini.c,v 1.29 2007-05-16 12:40:49 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -105,6 +105,7 @@
# define cPrio_elog (cPrio_base + 15)
# define cPrio_sysmon (cPrio_base + 16)
# define cPrio_opc_server (cPrio_base + 15)
# define cPrio_statussrv (cPrio_base + 15)
# define cPrio_plc_init (cPrio_base + 5)
# define cPrio_remh (cPrio_base + 5)
# define cPrio_remotelogg (cPrio_base + 5)
......@@ -2058,6 +2059,9 @@ ini_ProcTable (
pp = ini_ProcInsert(sts, cp, "opc_server", "opc_server_%d", 0, 1, "opc_server", cPrio_opc_server, 0, "");
pp->proc.flags.b.system = 1;
pp = ini_ProcInsert(sts, cp, "statussrv", "pwr_statussrv_%d", 0, 1, "rt_statussrv", cPrio_statussrv, 0, "");
pp->proc.flags.b.system = 1;
#endif
do {
......
/*
* Proview $Id: wb_c_node.cpp,v 1.1 2007-01-04 07:29:03 claes Exp $
* Proview $Id: wb_c_node.cpp,v 1.2 2007-05-16 12:40:04 claes Exp $
* Copyright (C) 2005 SSAB Oxelsund AB.
*
* This program is free software; you can redistribute it and/or
......@@ -57,6 +57,9 @@ static pwr_tStatus PostCreate (
sts = ldh_ClassNameToId(Session, &cid, "WebBrowserConfig");
sts = ldh_CreateObject(Session, &oid, "WebBrowser", cid, Object, ldh_eDest_IntoLast);
sts = ldh_ClassNameToId(Session, &cid, "StatusServerConfig");
sts = ldh_CreateObject(Session, &oid, "StatusServer", cid, Object, ldh_eDest_IntoLast);
return PWRS__SUCCESS;
}
......
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