ServerStatus object uses BuildDate from SDK (libraries)
Posted: 03 Jun 2019, 10:21
Hello,
the BuildInfo object which is part of Server/ServerStatus object displays a BuildDate which is derived from the last compilation of the SDK libraries. We would expect that we see here the BuildDate of the server application. I found the following entry in the changelog of the SDK which talks about this issue:
I assume that in order to overwrite ServerConfigData::getBuildDate() I need to create a derived class from ServerConfigData with my own implementation of getBuildDate(). The question is, how can I use this new class for the UaServerApplication? I would greatly appreciate if someone could give an example how this can be realized.
Thanks in advance,
Kenny
SDK Version: 1.4.2.291 (Linux)
the BuildInfo object which is part of Server/ServerStatus object displays a BuildDate which is derived from the last compilation of the SDK libraries. We would expect that we see here the BuildDate of the server application. I found the following entry in the changelog of the SDK which talks about this issue:
Code: Select all
********************************************************************************
********************************************************************************
** **
** Version 1.4.0.258 **
** **
********************************************************************************
********************************************************************************
....
UaServerApplication
* New main application class
* Allows overwriting ServerConfigData::getBuildDate() in OpcServer class through UaServerApplication
This makes sure the build date is the server application build date and not the SDK build date
Thanks in advance,
Kenny
SDK Version: 1.4.2.291 (Linux)