Skip to content
Snippets Groups Projects
Commit 605d60b6 authored by al.schwinn's avatar al.schwinn
Browse files

Bug 1201 - Add possibility to read out PLC run-state

- added method to easily obtain plc-pointer
parent a19969a9
No related branches found
No related tags found
No related merge requests found
......@@ -239,6 +239,10 @@ hBottom = """
static inline Silecs::Cluster* theCluster() { return Abstract%s::theCluster(); }
static void setup(const ServiceLocator* serviceLocator) { Abstract%s::setup(serviceLocator); }
static void cleanup() { Abstract%s::cleanup(); }
static Silecs::PLC* getPLC(Device* pDevice)
{
return theCluster()->getPLC(pDevice->plcHostName.get(),pDevice->parameterFile.get());
}
"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment