Minor refactoring

- Excluded union internal variable from static code analysis
- Excluded unused field in Suncpec struct from static code analysis for later use
This commit is contained in:
Matthias Heisig
2025-09-10 11:17:38 +02:00
parent 7c462c9cd4
commit d718c813c9
2 changed files with 2 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
<DUT Name="U_EMS_CONTROLS_REGISTER" Id="{a1ff95b9-162c-49e5-b53b-4cd068746597}"> <DUT Name="U_EMS_CONTROLS_REGISTER" Id="{a1ff95b9-162c-49e5-b53b-4cd068746597}">
<Declaration><![CDATA[TYPE U_EMS_CONTROLS_REGISTER : <Declaration><![CDATA[TYPE U_EMS_CONTROLS_REGISTER :
UNION UNION
{attribute 'analysis' := '-33'}
wRegister : WORD; wRegister : WORD;
stBitmap : ST_WORD_EMS_CONTROLS_BITMAP; stBitmap : ST_WORD_EMS_CONTROLS_BITMAP;
END_UNION END_UNION

View File

@@ -66,6 +66,7 @@ STRUCT
// Current inverter status // Current inverter status
{attribute 'OPC.UA.DA' := '1'} {attribute 'OPC.UA.DA' := '1'}
{attribute 'OPC.UA.DA.Access' := '1'} {attribute 'OPC.UA.DA.Access' := '1'}
{attribute 'analysis' := '-33'}
uiStatus : UINT; uiStatus : UINT;
END_STRUCT END_STRUCT
END_TYPE END_TYPE