@winccoa-tools-pack/npm-winccoa-core 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +234 -0
- package/dist/cjs/index.js +23 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/types/components/WinCCOAComponent.js +290 -0
- package/dist/cjs/types/components/WinCCOAComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/AlertManagerComponent.js +14 -0
- package/dist/cjs/types/components/implementations/AlertManagerComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/AndroidComponent.js +17 -0
- package/dist/cjs/types/components/implementations/AndroidComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/ApiComponent.js +14 -0
- package/dist/cjs/types/components/implementations/ApiComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/AsciiManagerComponent.js +14 -0
- package/dist/cjs/types/components/implementations/AsciiManagerComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/ConfComponent.js +17 -0
- package/dist/cjs/types/components/implementations/ConfComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/CtrlComponent.js +34 -0
- package/dist/cjs/types/components/implementations/CtrlComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/DNP3Component.js +17 -0
- package/dist/cjs/types/components/implementations/DNP3Component.js.map +1 -0
- package/dist/cjs/types/components/implementations/DataComponent.js +17 -0
- package/dist/cjs/types/components/implementations/DataComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/DbManagerComponent.js +14 -0
- package/dist/cjs/types/components/implementations/DbManagerComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/DistComponent.js +14 -0
- package/dist/cjs/types/components/implementations/DistComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/DriverComponent.js +14 -0
- package/dist/cjs/types/components/implementations/DriverComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/EventComponent.js +17 -0
- package/dist/cjs/types/components/implementations/EventComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/HttpComponent.js +14 -0
- package/dist/cjs/types/components/implementations/HttpComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/IEC60870Component.js +17 -0
- package/dist/cjs/types/components/implementations/IEC60870Component.js.map +1 -0
- package/dist/cjs/types/components/implementations/IEC61850Component.js +17 -0
- package/dist/cjs/types/components/implementations/IEC61850Component.js.map +1 -0
- package/dist/cjs/types/components/implementations/IosComponent.js +17 -0
- package/dist/cjs/types/components/implementations/IosComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/JavaComponent.js +17 -0
- package/dist/cjs/types/components/implementations/JavaComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/JavaScriptComponent.js +17 -0
- package/dist/cjs/types/components/implementations/JavaScriptComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/ModbusComponent.js +17 -0
- package/dist/cjs/types/components/implementations/ModbusComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/OpcComponent.js +17 -0
- package/dist/cjs/types/components/implementations/OpcComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/OpcDaComponent.js +17 -0
- package/dist/cjs/types/components/implementations/OpcDaComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/OpcUaComponent.js +17 -0
- package/dist/cjs/types/components/implementations/OpcUaComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/PmonComponent.js +486 -0
- package/dist/cjs/types/components/implementations/PmonComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/RdbComponent.js +14 -0
- package/dist/cjs/types/components/implementations/RdbComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/ReduComponent.js +14 -0
- package/dist/cjs/types/components/implementations/ReduComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/ReportManagerComponent.js +14 -0
- package/dist/cjs/types/components/implementations/ReportManagerComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/S7Component.js +17 -0
- package/dist/cjs/types/components/implementations/S7Component.js.map +1 -0
- package/dist/cjs/types/components/implementations/S7TopSapComponent.js +17 -0
- package/dist/cjs/types/components/implementations/S7TopSapComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/SimComponent.js +17 -0
- package/dist/cjs/types/components/implementations/SimComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/SplitComponent.js +14 -0
- package/dist/cjs/types/components/implementations/SplitComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/UIComponent.js +36 -0
- package/dist/cjs/types/components/implementations/UIComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/ValueArchManagerComponent.js +14 -0
- package/dist/cjs/types/components/implementations/ValueArchManagerComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/VideoDriverComponent.js +14 -0
- package/dist/cjs/types/components/implementations/VideoDriverComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/VisionComponent.js +17 -0
- package/dist/cjs/types/components/implementations/VisionComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/WebUIComponent.js +17 -0
- package/dist/cjs/types/components/implementations/WebUIComponent.js.map +1 -0
- package/dist/cjs/types/components/implementations/index.js +74 -0
- package/dist/cjs/types/components/implementations/index.js.map +1 -0
- package/dist/cjs/types/index.js +22 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/cjs/types/localization/OaLanguage.js +146 -0
- package/dist/cjs/types/localization/OaLanguage.js.map +1 -0
- package/dist/cjs/types/logs/WinCCOAErrorHandler.js +101 -0
- package/dist/cjs/types/logs/WinCCOAErrorHandler.js.map +1 -0
- package/dist/cjs/types/logs/WinCCOALogEntry.js +3 -0
- package/dist/cjs/types/logs/WinCCOALogEntry.js.map +1 -0
- package/dist/cjs/types/logs/WinCCOALogParser.js +213 -0
- package/dist/cjs/types/logs/WinCCOALogParser.js.map +1 -0
- package/dist/cjs/types/project/CurrentProjectInfo.js +12 -0
- package/dist/cjs/types/project/CurrentProjectInfo.js.map +1 -0
- package/dist/cjs/types/project/ProjEnv.js +109 -0
- package/dist/cjs/types/project/ProjEnv.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvErrorHandler.js +12 -0
- package/dist/cjs/types/project/ProjEnvErrorHandler.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvPmonStatus.js +22 -0
- package/dist/cjs/types/project/ProjEnvPmonStatus.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvProject.js +856 -0
- package/dist/cjs/types/project/ProjEnvProject.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvProjectConfig.js +256 -0
- package/dist/cjs/types/project/ProjEnvProjectConfig.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvProjectRegistry.js +298 -0
- package/dist/cjs/types/project/ProjEnvProjectRegistry.js.map +1 -0
- package/dist/cjs/types/status/WinCCOAManager.js +3 -0
- package/dist/cjs/types/status/WinCCOAManager.js.map +1 -0
- package/dist/cjs/types/version/DetailedVersionInfo.js +6 -0
- package/dist/cjs/types/version/DetailedVersionInfo.js.map +1 -0
- package/dist/cjs/utils/index.js +22 -0
- package/dist/cjs/utils/index.js.map +1 -0
- package/dist/cjs/utils/winccoa-components.js +7 -0
- package/dist/cjs/utils/winccoa-components.js.map +1 -0
- package/dist/cjs/utils/winccoa-localization.js +12 -0
- package/dist/cjs/utils/winccoa-localization.js.map +1 -0
- package/dist/cjs/utils/winccoa-logging.js +3 -0
- package/dist/cjs/utils/winccoa-logging.js.map +1 -0
- package/dist/cjs/utils/winccoa-paths.js +222 -0
- package/dist/cjs/utils/winccoa-paths.js.map +1 -0
- package/dist/cjs/utils/winccoa-project-environment.js +73 -0
- package/dist/cjs/utils/winccoa-project-environment.js.map +1 -0
- package/dist/cjs/utils/winccoa-version-info.js +23 -0
- package/dist/cjs/utils/winccoa-version-info.js.map +1 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/types/components/WinCCOAComponent.js +253 -0
- package/dist/esm/types/components/WinCCOAComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/AlertManagerComponent.js +10 -0
- package/dist/esm/types/components/implementations/AlertManagerComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/AndroidComponent.js +13 -0
- package/dist/esm/types/components/implementations/AndroidComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/ApiComponent.js +10 -0
- package/dist/esm/types/components/implementations/ApiComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/AsciiManagerComponent.js +10 -0
- package/dist/esm/types/components/implementations/AsciiManagerComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/ConfComponent.js +13 -0
- package/dist/esm/types/components/implementations/ConfComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/CtrlComponent.js +30 -0
- package/dist/esm/types/components/implementations/CtrlComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/DNP3Component.js +13 -0
- package/dist/esm/types/components/implementations/DNP3Component.js.map +1 -0
- package/dist/esm/types/components/implementations/DataComponent.js +13 -0
- package/dist/esm/types/components/implementations/DataComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/DbManagerComponent.js +10 -0
- package/dist/esm/types/components/implementations/DbManagerComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/DistComponent.js +10 -0
- package/dist/esm/types/components/implementations/DistComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/DriverComponent.js +10 -0
- package/dist/esm/types/components/implementations/DriverComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/EventComponent.js +13 -0
- package/dist/esm/types/components/implementations/EventComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/HttpComponent.js +10 -0
- package/dist/esm/types/components/implementations/HttpComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/IEC60870Component.js +13 -0
- package/dist/esm/types/components/implementations/IEC60870Component.js.map +1 -0
- package/dist/esm/types/components/implementations/IEC61850Component.js +13 -0
- package/dist/esm/types/components/implementations/IEC61850Component.js.map +1 -0
- package/dist/esm/types/components/implementations/IosComponent.js +13 -0
- package/dist/esm/types/components/implementations/IosComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/JavaComponent.js +13 -0
- package/dist/esm/types/components/implementations/JavaComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/JavaScriptComponent.js +13 -0
- package/dist/esm/types/components/implementations/JavaScriptComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/ModbusComponent.js +13 -0
- package/dist/esm/types/components/implementations/ModbusComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/OpcComponent.js +13 -0
- package/dist/esm/types/components/implementations/OpcComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/OpcDaComponent.js +13 -0
- package/dist/esm/types/components/implementations/OpcDaComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/OpcUaComponent.js +13 -0
- package/dist/esm/types/components/implementations/OpcUaComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/PmonComponent.js +481 -0
- package/dist/esm/types/components/implementations/PmonComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/RdbComponent.js +10 -0
- package/dist/esm/types/components/implementations/RdbComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/ReduComponent.js +10 -0
- package/dist/esm/types/components/implementations/ReduComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/ReportManagerComponent.js +10 -0
- package/dist/esm/types/components/implementations/ReportManagerComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/S7Component.js +13 -0
- package/dist/esm/types/components/implementations/S7Component.js.map +1 -0
- package/dist/esm/types/components/implementations/S7TopSapComponent.js +13 -0
- package/dist/esm/types/components/implementations/S7TopSapComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/SimComponent.js +13 -0
- package/dist/esm/types/components/implementations/SimComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/SplitComponent.js +10 -0
- package/dist/esm/types/components/implementations/SplitComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/UIComponent.js +32 -0
- package/dist/esm/types/components/implementations/UIComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/ValueArchManagerComponent.js +10 -0
- package/dist/esm/types/components/implementations/ValueArchManagerComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/VideoDriverComponent.js +10 -0
- package/dist/esm/types/components/implementations/VideoDriverComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/VisionComponent.js +13 -0
- package/dist/esm/types/components/implementations/VisionComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/WebUIComponent.js +13 -0
- package/dist/esm/types/components/implementations/WebUIComponent.js.map +1 -0
- package/dist/esm/types/components/implementations/index.js +36 -0
- package/dist/esm/types/components/implementations/index.js.map +1 -0
- package/dist/esm/types/index.js +6 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/localization/OaLanguage.js +143 -0
- package/dist/esm/types/localization/OaLanguage.js.map +1 -0
- package/dist/esm/types/logs/WinCCOAErrorHandler.js +97 -0
- package/dist/esm/types/logs/WinCCOAErrorHandler.js.map +1 -0
- package/dist/esm/types/logs/WinCCOALogEntry.js +2 -0
- package/dist/esm/types/logs/WinCCOALogEntry.js.map +1 -0
- package/dist/esm/types/logs/WinCCOALogParser.js +176 -0
- package/dist/esm/types/logs/WinCCOALogParser.js.map +1 -0
- package/dist/esm/types/project/CurrentProjectInfo.js +11 -0
- package/dist/esm/types/project/CurrentProjectInfo.js.map +1 -0
- package/dist/esm/types/project/ProjEnv.js +103 -0
- package/dist/esm/types/project/ProjEnv.js.map +1 -0
- package/dist/esm/types/project/ProjEnvErrorHandler.js +8 -0
- package/dist/esm/types/project/ProjEnvErrorHandler.js.map +1 -0
- package/dist/esm/types/project/ProjEnvPmonStatus.js +18 -0
- package/dist/esm/types/project/ProjEnvPmonStatus.js.map +1 -0
- package/dist/esm/types/project/ProjEnvProject.js +849 -0
- package/dist/esm/types/project/ProjEnvProject.js.map +1 -0
- package/dist/esm/types/project/ProjEnvProjectConfig.js +216 -0
- package/dist/esm/types/project/ProjEnvProjectConfig.js.map +1 -0
- package/dist/esm/types/project/ProjEnvProjectRegistry.js +254 -0
- package/dist/esm/types/project/ProjEnvProjectRegistry.js.map +1 -0
- package/dist/esm/types/status/WinCCOAManager.js +2 -0
- package/dist/esm/types/status/WinCCOAManager.js.map +1 -0
- package/dist/esm/types/version/DetailedVersionInfo.js +5 -0
- package/dist/esm/types/version/DetailedVersionInfo.js.map +1 -0
- package/dist/esm/utils/index.js +6 -0
- package/dist/esm/utils/index.js.map +1 -0
- package/dist/esm/utils/winccoa-components.js +4 -0
- package/dist/esm/utils/winccoa-components.js.map +1 -0
- package/dist/esm/utils/winccoa-localization.js +9 -0
- package/dist/esm/utils/winccoa-localization.js.map +1 -0
- package/dist/esm/utils/winccoa-logging.js +3 -0
- package/dist/esm/utils/winccoa-logging.js.map +1 -0
- package/dist/esm/utils/winccoa-paths.js +184 -0
- package/dist/esm/utils/winccoa-paths.js.map +1 -0
- package/dist/esm/utils/winccoa-project-environment.js +66 -0
- package/dist/esm/utils/winccoa-project-environment.js.map +1 -0
- package/dist/esm/utils/winccoa-version-info.js +20 -0
- package/dist/esm/utils/winccoa-version-info.js.map +1 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/types/components/WinCCOAComponent.d.ts +127 -0
- package/dist/types/components/WinCCOAComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/AlertManagerComponent.d.ts +6 -0
- package/dist/types/components/implementations/AlertManagerComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/AndroidComponent.d.ts +9 -0
- package/dist/types/components/implementations/AndroidComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/ApiComponent.d.ts +6 -0
- package/dist/types/components/implementations/ApiComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/AsciiManagerComponent.d.ts +6 -0
- package/dist/types/components/implementations/AsciiManagerComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/ConfComponent.d.ts +9 -0
- package/dist/types/components/implementations/ConfComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/CtrlComponent.d.ts +10 -0
- package/dist/types/components/implementations/CtrlComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/DNP3Component.d.ts +9 -0
- package/dist/types/components/implementations/DNP3Component.d.ts.map +1 -0
- package/dist/types/components/implementations/DataComponent.d.ts +9 -0
- package/dist/types/components/implementations/DataComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/DbManagerComponent.d.ts +6 -0
- package/dist/types/components/implementations/DbManagerComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/DistComponent.d.ts +6 -0
- package/dist/types/components/implementations/DistComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/DriverComponent.d.ts +6 -0
- package/dist/types/components/implementations/DriverComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/EventComponent.d.ts +9 -0
- package/dist/types/components/implementations/EventComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/HttpComponent.d.ts +6 -0
- package/dist/types/components/implementations/HttpComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/IEC60870Component.d.ts +9 -0
- package/dist/types/components/implementations/IEC60870Component.d.ts.map +1 -0
- package/dist/types/components/implementations/IEC61850Component.d.ts +9 -0
- package/dist/types/components/implementations/IEC61850Component.d.ts.map +1 -0
- package/dist/types/components/implementations/IosComponent.d.ts +9 -0
- package/dist/types/components/implementations/IosComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/JavaComponent.d.ts +9 -0
- package/dist/types/components/implementations/JavaComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/JavaScriptComponent.d.ts +9 -0
- package/dist/types/components/implementations/JavaScriptComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/ModbusComponent.d.ts +9 -0
- package/dist/types/components/implementations/ModbusComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/OpcComponent.d.ts +9 -0
- package/dist/types/components/implementations/OpcComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/OpcDaComponent.d.ts +9 -0
- package/dist/types/components/implementations/OpcDaComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/OpcUaComponent.d.ts +9 -0
- package/dist/types/components/implementations/OpcUaComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/PmonComponent.d.ts +105 -0
- package/dist/types/components/implementations/PmonComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/RdbComponent.d.ts +6 -0
- package/dist/types/components/implementations/RdbComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/ReduComponent.d.ts +6 -0
- package/dist/types/components/implementations/ReduComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/ReportManagerComponent.d.ts +6 -0
- package/dist/types/components/implementations/ReportManagerComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/S7Component.d.ts +9 -0
- package/dist/types/components/implementations/S7Component.d.ts.map +1 -0
- package/dist/types/components/implementations/S7TopSapComponent.d.ts +9 -0
- package/dist/types/components/implementations/S7TopSapComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/SimComponent.d.ts +9 -0
- package/dist/types/components/implementations/SimComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/SplitComponent.d.ts +6 -0
- package/dist/types/components/implementations/SplitComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/UIComponent.d.ts +13 -0
- package/dist/types/components/implementations/UIComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/ValueArchManagerComponent.d.ts +6 -0
- package/dist/types/components/implementations/ValueArchManagerComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/VideoDriverComponent.d.ts +6 -0
- package/dist/types/components/implementations/VideoDriverComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/VisionComponent.d.ts +9 -0
- package/dist/types/components/implementations/VisionComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/WebUIComponent.d.ts +9 -0
- package/dist/types/components/implementations/WebUIComponent.d.ts.map +1 -0
- package/dist/types/components/implementations/index.d.ts +36 -0
- package/dist/types/components/implementations/index.d.ts.map +1 -0
- package/dist/types/index.d.ts +6 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/localization/OaLanguage.d.ts +141 -0
- package/dist/types/localization/OaLanguage.d.ts.map +1 -0
- package/dist/types/logs/WinCCOAErrorHandler.d.ts +35 -0
- package/dist/types/logs/WinCCOAErrorHandler.d.ts.map +1 -0
- package/dist/types/logs/WinCCOALogEntry.d.ts +12 -0
- package/dist/types/logs/WinCCOALogEntry.d.ts.map +1 -0
- package/dist/types/logs/WinCCOALogParser.d.ts +53 -0
- package/dist/types/logs/WinCCOALogParser.d.ts.map +1 -0
- package/dist/types/project/CurrentProjectInfo.d.ts +24 -0
- package/dist/types/project/CurrentProjectInfo.d.ts.map +1 -0
- package/dist/types/project/ProjEnv.d.ts +73 -0
- package/dist/types/project/ProjEnv.d.ts.map +1 -0
- package/dist/types/project/ProjEnvErrorHandler.d.ts +6 -0
- package/dist/types/project/ProjEnvErrorHandler.d.ts.map +1 -0
- package/dist/types/project/ProjEnvPmonStatus.d.ts +23 -0
- package/dist/types/project/ProjEnvPmonStatus.d.ts.map +1 -0
- package/dist/types/project/ProjEnvProject.d.ts +438 -0
- package/dist/types/project/ProjEnvProject.d.ts.map +1 -0
- package/dist/types/project/ProjEnvProjectConfig.d.ts +51 -0
- package/dist/types/project/ProjEnvProjectConfig.d.ts.map +1 -0
- package/dist/types/project/ProjEnvProjectRegistry.d.ts +60 -0
- package/dist/types/project/ProjEnvProjectRegistry.d.ts.map +1 -0
- package/dist/types/status/WinCCOAManager.d.ts +15 -0
- package/dist/types/status/WinCCOAManager.d.ts.map +1 -0
- package/dist/types/version/DetailedVersionInfo.d.ts +16 -0
- package/dist/types/version/DetailedVersionInfo.d.ts.map +1 -0
- package/dist/utils/index.d.ts +6 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/dist/utils/winccoa-components.d.ts +3 -0
- package/dist/utils/winccoa-components.d.ts.map +1 -0
- package/dist/utils/winccoa-localization.d.ts +7 -0
- package/dist/utils/winccoa-localization.d.ts.map +1 -0
- package/dist/utils/winccoa-logging.d.ts +1 -0
- package/dist/utils/winccoa-logging.d.ts.map +1 -0
- package/dist/utils/winccoa-paths.d.ts +49 -0
- package/dist/utils/winccoa-paths.d.ts.map +1 -0
- package/dist/utils/winccoa-project-environment.d.ts +34 -0
- package/dist/utils/winccoa-project-environment.d.ts.map +1 -0
- package/dist/utils/winccoa-version-info.d.ts +14 -0
- package/dist/utils/winccoa-version-info.d.ts.map +1 -0
- package/package.json +69 -0
|
@@ -0,0 +1,184 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WinCC OA Installation Path Utilities
|
|
3
|
+
* Handles platform-specific path discovery and component path resolution
|
|
4
|
+
*
|
|
5
|
+
* PERFORMANCE OPTIMIZATION:
|
|
6
|
+
* This module implements aggressive caching to minimize expensive file system
|
|
7
|
+
* and Windows registry operations. Cached values persist for the lifetime of
|
|
8
|
+
* the extension.
|
|
9
|
+
*
|
|
10
|
+
* IMPORTANT: If WinCC OA is installed or removed while VS Code is running,
|
|
11
|
+
* the extension must be reloaded (or VS Code restarted) to detect the changes.
|
|
12
|
+
* This is an acceptable trade-off for the significant performance improvement.
|
|
13
|
+
*
|
|
14
|
+
* Cache Strategy:
|
|
15
|
+
* - Installation paths are cached per version in cachedWinCCOAInstallationPathByVersion
|
|
16
|
+
* - Available versions list is cached once in cachedAvailableWinCCOAVersions
|
|
17
|
+
* - Both caches persist until extension reload/restart
|
|
18
|
+
*
|
|
19
|
+
* @author mPokornyETM
|
|
20
|
+
* @performance Caching reduces registry queries and file system operations by ~95%
|
|
21
|
+
*/
|
|
22
|
+
import * as os from 'os';
|
|
23
|
+
import * as path from 'path';
|
|
24
|
+
import * as fs from 'fs';
|
|
25
|
+
import { execSync, execFileSync } from 'child_process';
|
|
26
|
+
import { parseVersionString } from './winccoa-version-info.js';
|
|
27
|
+
/**
|
|
28
|
+
* Cache for WinCC OA installation paths indexed by version
|
|
29
|
+
* Prevents redundant registry queries and file system checks
|
|
30
|
+
*
|
|
31
|
+
* Note: Cache persists for extension lifetime. Extension reload required
|
|
32
|
+
* if WinCC OA installations change.
|
|
33
|
+
*/
|
|
34
|
+
const cachedWinCCOAInstallationPathByVersion = {};
|
|
35
|
+
/**
|
|
36
|
+
* Finds the WinCC OA installation path for a given version
|
|
37
|
+
*
|
|
38
|
+
* CACHED: This function caches results per version. First lookup for each version
|
|
39
|
+
* performs registry query (Windows) or file system check (Linux). Subsequent
|
|
40
|
+
* lookups return cached value immediately.
|
|
41
|
+
*
|
|
42
|
+
* @param version - WinCC OA version (e.g., "3.20", "3.21")
|
|
43
|
+
* @returns Installation path or null if not found
|
|
44
|
+
* @performance First call per version: ~50-100ms, subsequent calls: <1ms
|
|
45
|
+
*/
|
|
46
|
+
export function getWinCCOAInstallationPathByVersion(version) {
|
|
47
|
+
// Check cache first - even null results are cached to avoid repeated failed lookups
|
|
48
|
+
if (cachedWinCCOAInstallationPathByVersion[version] !== undefined) {
|
|
49
|
+
return cachedWinCCOAInstallationPathByVersion[version];
|
|
50
|
+
}
|
|
51
|
+
const platform = os.platform();
|
|
52
|
+
if (platform === 'win32') {
|
|
53
|
+
cachedWinCCOAInstallationPathByVersion[version] = getWindowsInstallationPath(version);
|
|
54
|
+
}
|
|
55
|
+
else {
|
|
56
|
+
// Unix/Linux systems
|
|
57
|
+
cachedWinCCOAInstallationPathByVersion[version] = getUnixInstallationPath(version);
|
|
58
|
+
}
|
|
59
|
+
return cachedWinCCOAInstallationPathByVersion[version];
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Gets WinCC OA installation path from Windows registry
|
|
63
|
+
* @param version - WinCC OA version
|
|
64
|
+
* @returns Installation path or null if not found
|
|
65
|
+
*/
|
|
66
|
+
function getWindowsInstallationPath(version) {
|
|
67
|
+
try {
|
|
68
|
+
// Try to read from registry using execFileSync to prevent shell injection
|
|
69
|
+
const regKey = `HKLM\\Software\\ETM\\WinCC_OA\\${version}`;
|
|
70
|
+
const args = ['query', regKey, '/v', 'INSTALLDIR'];
|
|
71
|
+
const output = execFileSync('reg', args, { encoding: 'utf-8' });
|
|
72
|
+
// Parse the output to extract the INSTALLDIR value
|
|
73
|
+
const match = output.match(/INSTALLDIR\s+REG_SZ\s+(.+)/);
|
|
74
|
+
if (match && match[1]) {
|
|
75
|
+
const installPath = match[1].trim();
|
|
76
|
+
if (fs.existsSync(installPath)) {
|
|
77
|
+
return installPath;
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
81
|
+
}
|
|
82
|
+
catch (error) {
|
|
83
|
+
// Registry key not found or command failed
|
|
84
|
+
// Fall back to default paths
|
|
85
|
+
}
|
|
86
|
+
return null;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Gets WinCC OA installation path on Unix/Linux systems
|
|
90
|
+
* @param version - WinCC OA version
|
|
91
|
+
* @returns Installation path or null if not found
|
|
92
|
+
*/
|
|
93
|
+
function getUnixInstallationPath(version) {
|
|
94
|
+
const installPath = `/opt/WinCC_OA/${version}`;
|
|
95
|
+
if (fs.existsSync(installPath)) {
|
|
96
|
+
return installPath;
|
|
97
|
+
}
|
|
98
|
+
return null;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Cache for available WinCC OA versions list
|
|
102
|
+
* Prevents redundant registry enumeration and directory scanning
|
|
103
|
+
*
|
|
104
|
+
* Performance Impact:
|
|
105
|
+
* - Windows: Eliminates repeated "reg query" command executions (~100ms each)
|
|
106
|
+
* - Linux: Eliminates repeated directory scans of /opt/WinCC_OA
|
|
107
|
+
*
|
|
108
|
+
* Note: Set to null initially, populated on first call. Cache persists for
|
|
109
|
+
* extension lifetime. Extension reload required if WinCC OA versions change.
|
|
110
|
+
*/
|
|
111
|
+
let cachedAvailableWinCCOAVersions = null;
|
|
112
|
+
/**
|
|
113
|
+
* Gets available WinCC OA versions installed on the system
|
|
114
|
+
*
|
|
115
|
+
* CACHED: This function caches its result on first call. Subsequent calls
|
|
116
|
+
* return the cached value immediately without any file system or registry access.
|
|
117
|
+
*
|
|
118
|
+
* @returns Array of version strings sorted from highest to lowest
|
|
119
|
+
* @performance First call: ~100-200ms, subsequent calls: <1ms
|
|
120
|
+
*/
|
|
121
|
+
export function getAvailableWinCCOAVersions() {
|
|
122
|
+
// Return cached result if available - avoids expensive registry/filesystem operations
|
|
123
|
+
if (cachedAvailableWinCCOAVersions !== null) {
|
|
124
|
+
return cachedAvailableWinCCOAVersions;
|
|
125
|
+
}
|
|
126
|
+
const platform = os.platform();
|
|
127
|
+
if (platform === 'win32') {
|
|
128
|
+
cachedAvailableWinCCOAVersions = getWindowsAvailableVersions();
|
|
129
|
+
}
|
|
130
|
+
else {
|
|
131
|
+
cachedAvailableWinCCOAVersions = getUnixAvailableVersions();
|
|
132
|
+
}
|
|
133
|
+
return cachedAvailableWinCCOAVersions;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* Gets available WinCC OA versions on Windows
|
|
137
|
+
* @returns Array of version strings sorted from highest to lowest
|
|
138
|
+
*/
|
|
139
|
+
export function getWindowsAvailableVersions() {
|
|
140
|
+
const versions = [];
|
|
141
|
+
try {
|
|
142
|
+
// Try to read from registry
|
|
143
|
+
const regKey = 'HKLM\\Software\\ETM\\WinCC_OA';
|
|
144
|
+
const command = `reg query "${regKey}"`;
|
|
145
|
+
const output = execSync(command, { encoding: 'utf-8' });
|
|
146
|
+
const lines = output.split('\n');
|
|
147
|
+
for (const line of lines) {
|
|
148
|
+
const match = line.match(/WinCC_OA\\(\d+\.\d+(?:\.\d+)?)/);
|
|
149
|
+
if (match && match[1]) {
|
|
150
|
+
versions.push(match[1]);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
154
|
+
}
|
|
155
|
+
catch (error) {
|
|
156
|
+
// Registry query failed, try common paths
|
|
157
|
+
}
|
|
158
|
+
// Sort versions descending
|
|
159
|
+
return versions.sort((a, b) => parseVersionString(b) - parseVersionString(a));
|
|
160
|
+
}
|
|
161
|
+
/**
|
|
162
|
+
* Gets available WinCC OA versions on Unix/Linux
|
|
163
|
+
* @returns Array of version strings sorted from highest to lowest
|
|
164
|
+
*/
|
|
165
|
+
function getUnixAvailableVersions() {
|
|
166
|
+
const basePath = '/opt/WinCC_OA';
|
|
167
|
+
if (!fs.existsSync(basePath)) {
|
|
168
|
+
return [];
|
|
169
|
+
}
|
|
170
|
+
try {
|
|
171
|
+
const entries = fs.readdirSync(basePath);
|
|
172
|
+
const versions = entries.filter((entry) => {
|
|
173
|
+
const fullPath = path.join(basePath, entry);
|
|
174
|
+
return fs.statSync(fullPath).isDirectory() && /^\d+\.\d+/.test(entry);
|
|
175
|
+
});
|
|
176
|
+
// Sort versions descending
|
|
177
|
+
return versions.sort((a, b) => parseVersionString(b) - parseVersionString(a));
|
|
178
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
179
|
+
}
|
|
180
|
+
catch (error) {
|
|
181
|
+
return [];
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
//# sourceMappingURL=winccoa-paths.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"winccoa-paths.js","sourceRoot":"","sources":["../../../src/utils/winccoa-paths.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { ProjEnvProject } from '../types/project/ProjEnvProject';
|
|
2
|
+
import { getRegisteredProjects as getRegistries } from '../types/project/ProjEnvProjectRegistry';
|
|
3
|
+
/**
|
|
4
|
+
* Finds and returns the ProjEnvProject instance for a given file or folder path
|
|
5
|
+
* by checking all registered projects.
|
|
6
|
+
* @param selectedPath - The file or folder path to check
|
|
7
|
+
* @returns ProjEnvProject instance if found, undefined otherwise
|
|
8
|
+
*/
|
|
9
|
+
export async function getProjectByProjectPath(selectedPath) {
|
|
10
|
+
return (await getRegisteredProjects()).find((project) => {
|
|
11
|
+
return project.isProjectFile(selectedPath);
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* Return a list of all registered projects.
|
|
16
|
+
* Creates ProjEnvProject instances from the Windows registry entries.
|
|
17
|
+
*/
|
|
18
|
+
export async function getRegisteredProjects() {
|
|
19
|
+
const registries = getRegistries();
|
|
20
|
+
const projects = [];
|
|
21
|
+
console.log(`Found ${registries.length} registered projects in the registry.`);
|
|
22
|
+
for (const registry of registries) {
|
|
23
|
+
// console.log(`Processing registry entry for project ID: ${registry.id}`);
|
|
24
|
+
// Skip registry entries with empty or invalid IDs
|
|
25
|
+
if (!registry.id || registry.id.trim().length === 0) {
|
|
26
|
+
console.warn(`Skipping registry entry with empty ID`);
|
|
27
|
+
continue;
|
|
28
|
+
}
|
|
29
|
+
try {
|
|
30
|
+
const project = new ProjEnvProject();
|
|
31
|
+
project.initFromRegister(registry);
|
|
32
|
+
projects.push(project);
|
|
33
|
+
}
|
|
34
|
+
catch (error) {
|
|
35
|
+
// Skip projects that fail to initialize
|
|
36
|
+
console.warn(`Failed to initialize project ${registry.id}:`, error);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
return projects;
|
|
40
|
+
}
|
|
41
|
+
/**Returns all running projects locate on the locale host
|
|
42
|
+
*/
|
|
43
|
+
export async function getRunningProjects() {
|
|
44
|
+
return (await getRunnableProjects()).filter((project) => project.isRunning());
|
|
45
|
+
}
|
|
46
|
+
/**Returns all runnable projects locate on the locale host*/
|
|
47
|
+
export async function getRunnableProjects() {
|
|
48
|
+
return (await getRegisteredProjects()).filter((project) => project.isRunnable());
|
|
49
|
+
}
|
|
50
|
+
/**Returns all current projects locate on the locale host.
|
|
51
|
+
* A current project is the one that is currently active in WinCC OA.
|
|
52
|
+
* Note: per WinCC OA, there can be only one current project at a time.
|
|
53
|
+
* However, this function returns an array because you can have multiple WinCC OA installations
|
|
54
|
+
*/
|
|
55
|
+
export async function getCurrentProjects() {
|
|
56
|
+
return (await getRegisteredProjects()).filter((project) => project.isCurrentProject());
|
|
57
|
+
}
|
|
58
|
+
/** Export default object with all functions */
|
|
59
|
+
export default {
|
|
60
|
+
getRegisteredProjects,
|
|
61
|
+
getRunningProjects,
|
|
62
|
+
getRunnableProjects,
|
|
63
|
+
getCurrentProjects,
|
|
64
|
+
getProjectByProjectPath,
|
|
65
|
+
};
|
|
66
|
+
//# sourceMappingURL=winccoa-project-environment.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"winccoa-project-environment.js","sourceRoot":"","sources":["../../../src/utils/winccoa-project-environment.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,iCAAiC,CAAC;AACjE,OAAO,EAAE,qBAAqB,IAAI,aAAa,EAAE,MAAM,yCAAyC,CAAC;AAEjG;;;;;GAKG;AACH,MAAM,CAAC,KAAK,UAAU,uBAAuB,CACzC,YAAoB;IAEpB,OAAO,CAAC,MAAM,qBAAqB,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,OAAuB,EAAE,EAAE;QACpE,OAAO,OAAO,CAAC,aAAa,CAAC,YAAY,CAAC,CAAC;IAC/C,CAAC,CAAC,CAAC;AACP,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,qBAAqB;IACvC,MAAM,UAAU,GAAG,aAAa,EAAE,CAAC;IACnC,MAAM,QAAQ,GAAqB,EAAE,CAAC;IAEtC,OAAO,CAAC,GAAG,CAAC,SAAS,UAAU,CAAC,MAAM,uCAAuC,CAAC,CAAC;IAE/E,KAAK,MAAM,QAAQ,IAAI,UAAU,EAAE,CAAC;QAChC,4EAA4E;QAC5E,kDAAkD;QAClD,IAAI,CAAC,QAAQ,CAAC,EAAE,IAAI,QAAQ,CAAC,EAAE,CAAC,IAAI,EAAE,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;YAClD,OAAO,CAAC,IAAI,CAAC,uCAAuC,CAAC,CAAC;YACtD,SAAS;QACb,CAAC;QAED,IAAI,CAAC;YACD,MAAM,OAAO,GAAG,IAAI,cAAc,EAAE,CAAC;YACrC,OAAO,CAAC,gBAAgB,CAAC,QAAQ,CAAC,CAAC;YACnC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,CAAC;QAC3B,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,wCAAwC;YACxC,OAAO,CAAC,IAAI,CAAC,gCAAgC,QAAQ,CAAC,EAAE,GAAG,EAAE,KAAK,CAAC,CAAC;QACxE,CAAC;IACL,CAAC;IAED,OAAO,QAAQ,CAAC;AACpB,CAAC;AAED;GACG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACpC,OAAO,CAAC,MAAM,mBAAmB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,SAAS,EAAE,CAAC,CAAC;AAClF,CAAC;AAED,4DAA4D;AAC5D,MAAM,CAAC,KAAK,UAAU,mBAAmB;IACrC,OAAO,CAAC,MAAM,qBAAqB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,UAAU,EAAE,CAAC,CAAC;AACrF,CAAC;AAED;;;;GAIG;AACH,MAAM,CAAC,KAAK,UAAU,kBAAkB;IACpC,OAAO,CAAC,MAAM,qBAAqB,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,OAAO,CAAC,gBAAgB,EAAE,CAAC,CAAC;AAC3F,CAAC;AAED,+CAA+C;AAC/C,eAAe;IACX,qBAAqB;IACrB,kBAAkB;IAClB,mBAAmB;IACnB,kBAAkB;IAClB,uBAAuB;CAC1B,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WinCC OA Version Information Utilities
|
|
3
|
+
* Handles version string parsing and comparison
|
|
4
|
+
*
|
|
5
|
+
* @author mPokornyETM
|
|
6
|
+
*/
|
|
7
|
+
/**
|
|
8
|
+
* Parses a version string to a comparable number
|
|
9
|
+
* Format: major.minor.patch (patch is optional)
|
|
10
|
+
* @param version - Version string like "3.19" or "3.19.1"
|
|
11
|
+
* @returns Numeric representation for comparison (e.g., "3.19" -> 30190, "3.19.1" -> 319001)
|
|
12
|
+
*/
|
|
13
|
+
export function parseVersionString(version) {
|
|
14
|
+
const parts = version.split('.').map((part) => parseInt(part, 10) || 0);
|
|
15
|
+
const major = parts[0] || 0;
|
|
16
|
+
const minor = parts[1] || 0;
|
|
17
|
+
const patch = parts[2] || 0;
|
|
18
|
+
return major * 100000 + minor * 1000 + patch;
|
|
19
|
+
}
|
|
20
|
+
//# sourceMappingURL=winccoa-version-info.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"winccoa-version-info.js","sourceRoot":"","sources":["../../../src/utils/winccoa-version-info.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH;;;;;GAKG;AACH,MAAM,UAAU,kBAAkB,CAAC,OAAe;IAC9C,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,CAAC,CAAC,CAAC;IACxE,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC5B,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC5B,MAAM,KAAK,GAAG,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;IAC5B,OAAO,KAAK,GAAG,MAAM,GAAG,KAAK,GAAG,IAAI,GAAG,KAAK,CAAC;AACjD,CAAC"}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAGH,cAAc,kBAAkB,CAAC"}
|
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Platform-agnostic WinCC OA component base class
|
|
3
|
+
* Stripped of VS Code-specific APIs so it can live in the shared library.
|
|
4
|
+
*/
|
|
5
|
+
export declare abstract class WinCCOAComponent {
|
|
6
|
+
/**
|
|
7
|
+
* Accumulated standard output from the last spawned process.
|
|
8
|
+
* Use this to inspect output produced by helper commands invoked
|
|
9
|
+
* by the component (e.g., version queries).
|
|
10
|
+
*/
|
|
11
|
+
stdOut: string;
|
|
12
|
+
/**
|
|
13
|
+
* Accumulated standard error output from the last spawned process.
|
|
14
|
+
*/
|
|
15
|
+
stdErr: string;
|
|
16
|
+
/**
|
|
17
|
+
* Returns the canonical internal name of this component. This is the
|
|
18
|
+
* identifier used to locate the executable (e.g., 'WCCILpmon').
|
|
19
|
+
* Implementations must return a stable string.
|
|
20
|
+
*/
|
|
21
|
+
abstract getName(): string;
|
|
22
|
+
/**
|
|
23
|
+
* Returns a human-friendly description of the component. This should be
|
|
24
|
+
* suitable for display or logs and remain language-neutral where possible.
|
|
25
|
+
*/
|
|
26
|
+
abstract getDescription(): string;
|
|
27
|
+
/**
|
|
28
|
+
* Returns the executable filename used by the component. Defaults to
|
|
29
|
+
* the value returned by `getName()` but may be overridden by
|
|
30
|
+
* platform-specific implementations.
|
|
31
|
+
*
|
|
32
|
+
* @returns executable filename (without path)
|
|
33
|
+
*/
|
|
34
|
+
getExecutableName(): string;
|
|
35
|
+
/**
|
|
36
|
+
* Attempts to discover the full filesystem path to the component
|
|
37
|
+
* executable by scanning known WinCC OA installation directories.
|
|
38
|
+
*
|
|
39
|
+
* The search strategy:
|
|
40
|
+
* - If version is specified, search only in that version's installation
|
|
41
|
+
* - Otherwise, query all available WinCC OA versions (cached by utils)
|
|
42
|
+
* - For each version, resolve the installation root and check
|
|
43
|
+
* `bin/<executable>` and `bin/<executable>.exe` for existence.
|
|
44
|
+
*
|
|
45
|
+
* Returns the absolute path to the executable when found or `null`
|
|
46
|
+
* if not present on the host system.
|
|
47
|
+
*
|
|
48
|
+
* @param version - Optional WinCC OA version to search in (e.g., '3.20')
|
|
49
|
+
* @returns absolute path to executable or `null`
|
|
50
|
+
*/
|
|
51
|
+
getPath(version?: string): string | null;
|
|
52
|
+
/**
|
|
53
|
+
* Returns `true` when the component's executable exists on disk and is
|
|
54
|
+
* discoverable by `getPath()`.
|
|
55
|
+
*/
|
|
56
|
+
exists(): boolean;
|
|
57
|
+
/**
|
|
58
|
+
* Executes the component with the `-version` flag and extracts the version string
|
|
59
|
+
* from the output. Uses a 5-second timeout to prevent hanging.
|
|
60
|
+
*
|
|
61
|
+
* @returns parsed version string (e.g., '3.20.1') or `null` when no version could be found
|
|
62
|
+
*/
|
|
63
|
+
getFullVersion(): Promise<string | null>;
|
|
64
|
+
/**
|
|
65
|
+
* Parses a version-like substring from arbitrary command output.
|
|
66
|
+
* Default implementation finds the first occurrence of `N.N` or
|
|
67
|
+
* `N.N.N` using a simple regex. Override in concrete components if
|
|
68
|
+
* they produce more complex version output.
|
|
69
|
+
*
|
|
70
|
+
* @param output - Raw output to inspect
|
|
71
|
+
* @returns matched version string or `null`
|
|
72
|
+
*/
|
|
73
|
+
protected parseVersionOutput(output: string): string | null;
|
|
74
|
+
/**
|
|
75
|
+
* Starts the component process with the provided arguments.
|
|
76
|
+
* Captures stdout/stderr into `stdOut`/`stdErr` and resolves with the
|
|
77
|
+
* exit code when the process closes. Rejects on process start errors.
|
|
78
|
+
*
|
|
79
|
+
* **Detached Process Behavior:**
|
|
80
|
+
* When `detached: true`, the process runs independently of the parent:
|
|
81
|
+
* - Sets `stdio: 'ignore'` to prevent blocking on I/O streams
|
|
82
|
+
* - Calls `unref()` to allow parent to exit independently
|
|
83
|
+
* - Resolves immediately with exit code 0
|
|
84
|
+
* - stdout/stderr are NOT captured for detached processes
|
|
85
|
+
*
|
|
86
|
+
* **Timeout Behavior:**
|
|
87
|
+
* When timeout is specified, the process is killed if it doesn't complete
|
|
88
|
+
* within the given time. The promise rejects with a timeout error.
|
|
89
|
+
*
|
|
90
|
+
* **Version Selection:**
|
|
91
|
+
* If a specific version is provided, the component executable from that
|
|
92
|
+
* WinCC OA version will be used.
|
|
93
|
+
*
|
|
94
|
+
* @param args - Array of arguments to pass to the executable
|
|
95
|
+
* @param options.detached - Whether to spawn the process detached (default: false)
|
|
96
|
+
* @param options.timeout - Timeout in milliseconds; kills process if exceeded (optional)
|
|
97
|
+
* @param options.version - Specific WinCC OA version to use (optional)
|
|
98
|
+
* @param options.waitForLog - Wait for specific log output (TODO: not yet implemented)
|
|
99
|
+
* @returns Promise resolving with process exit code (0 for detached processes)
|
|
100
|
+
* @throws Error if executable not found or timeout exceeded
|
|
101
|
+
*/
|
|
102
|
+
start(args?: string[], options?: {
|
|
103
|
+
detached?: boolean;
|
|
104
|
+
waitForLog?: string;
|
|
105
|
+
timeout?: number;
|
|
106
|
+
version?: string;
|
|
107
|
+
}): Promise<number>;
|
|
108
|
+
/**
|
|
109
|
+
* Execute a command and collect stdout lines as an array of strings.
|
|
110
|
+
* Returns trimmed lines (excluding empty lines and terminating ';').
|
|
111
|
+
*
|
|
112
|
+
* This is a utility method for executing short-lived commands that produce
|
|
113
|
+
* line-based output. Stderr is captured separately but not returned.
|
|
114
|
+
*
|
|
115
|
+
* **Timeout Behavior:**
|
|
116
|
+
* If timeout is specified and exceeded, the process is killed and the
|
|
117
|
+
* promise rejects with a timeout error.
|
|
118
|
+
*
|
|
119
|
+
* @param cmdPath - Absolute path to the executable
|
|
120
|
+
* @param args - Array of command-line arguments to pass
|
|
121
|
+
* @param timeout - Optional timeout in milliseconds; kills process if exceeded
|
|
122
|
+
* @returns Array of trimmed, non-empty output lines
|
|
123
|
+
* @throws Error if process fails to spawn or timeout is exceeded
|
|
124
|
+
*/
|
|
125
|
+
protected execAndCollectLines(cmdPath: string, args: string[], timeout?: number): Promise<string[]>;
|
|
126
|
+
}
|
|
127
|
+
//# sourceMappingURL=WinCCOAComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOAComponent.d.ts","sourceRoot":"","sources":["../../../src/types/components/WinCCOAComponent.ts"],"names":[],"mappings":"AAAA;;;GAGG;AA2BH,8BAAsB,gBAAgB;IAElC;;;;OAIG;IACI,MAAM,EAAE,MAAM,CAAM;IAE3B;;OAEG;IACI,MAAM,EAAE,MAAM,CAAM;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,OAAO,IAAI,MAAM;IAE1B;;;OAGG;IACH,QAAQ,CAAC,cAAc,IAAI,MAAM;IAEjC;;;;;;OAMG;IACI,iBAAiB,IAAI,MAAM;IAIlC;;;;;;;;;;;;;;;OAeG;IACI,OAAO,CAAC,OAAO,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAsB/C;;;OAGG;IACI,MAAM,IAAI,OAAO;IAKxB;;;;;OAKG;IACU,cAAc,IAAI,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAUrD;;;;;;;;OAQG;IACH,SAAS,CAAC,kBAAkB,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI;IAK3D;;;;;;;;;;;;;;;;;;;;;;;;;;;OA2BG;IACU,KAAK,CACd,IAAI,GAAE,MAAM,EAAO,EACnB,OAAO,GAAE;QACL,QAAQ,CAAC,EAAE,OAAO,CAAC;QACnB,UAAU,CAAC,EAAE,MAAM,CAAC;QACpB,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,OAAO,CAAC,EAAE,MAAM,CAAC;KACf,GACP,OAAO,CAAC,MAAM,CAAC;IAkFlB;;;;;;;;;;;;;;;;OAgBG;cACa,mBAAmB,CAC/B,OAAO,EAAE,MAAM,EACf,IAAI,EAAE,MAAM,EAAE,EACd,OAAO,CAAC,EAAE,MAAM,GACjB,OAAO,CAAC,MAAM,EAAE,CAAC;CAuCvB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AlertManagerComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/AlertManagerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,qBAAsB,SAAQ,gBAAgB;IAChD,OAAO,IAAI,MAAM;IAGjB,cAAc,IAAI,MAAM;CAGlC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Android Mobile Component
|
|
3
|
+
*/
|
|
4
|
+
import { WinCCOAComponent } from '../WinCCOAComponent.js';
|
|
5
|
+
export declare class AndroidComponent extends WinCCOAComponent {
|
|
6
|
+
getName(): string;
|
|
7
|
+
getDescription(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=AndroidComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AndroidComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/AndroidComponent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,gBAAiB,SAAQ,gBAAgB;IAC3C,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ApiComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/ApiComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,YAAa,SAAQ,gBAAgB;IACvC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AsciiManagerComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/AsciiManagerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,qBAAsB,SAAQ,gBAAgB;IAChD,OAAO,IAAI,MAAM;IAGjB,cAAc,IAAI,MAAM;CAGlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ConfComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/ConfComponent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,aAAc,SAAQ,gBAAgB;IACxC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { WinCCOAComponent } from '../WinCCOAComponent.js';
|
|
2
|
+
export declare class CtrlComponent extends WinCCOAComponent {
|
|
3
|
+
getName(): string;
|
|
4
|
+
getDescription(): string;
|
|
5
|
+
/**
|
|
6
|
+
* Starts the Control Manager with a specific script
|
|
7
|
+
*/
|
|
8
|
+
startWithScript(scriptName: string, additionalArgs?: string[], outputCallback?: (msg: string) => void): Promise<number>;
|
|
9
|
+
}
|
|
10
|
+
//# sourceMappingURL=CtrlComponent.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CtrlComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/CtrlComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,aAAc,SAAQ,gBAAgB;IACxC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;IAI/B;;OAEG;IACU,eAAe,CACxB,UAAU,EAAE,MAAM,EAClB,cAAc,GAAE,MAAM,EAAO,EAC7B,cAAc,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,GACvC,OAAO,CAAC,MAAM,CAAC;CAmBrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DNP3Component.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/DNP3Component.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,aAAc,SAAQ,gBAAgB;IACxC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/DataComponent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,aAAc,SAAQ,gBAAgB;IACxC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DbManagerComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/DbManagerComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,kBAAmB,SAAQ,gBAAgB;IAC7C,OAAO,IAAI,MAAM;IAGjB,cAAc,IAAI,MAAM;CAGlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DistComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/DistComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,aAAc,SAAQ,gBAAgB;IACxC,OAAO,IAAI,MAAM;IAGjB,cAAc,IAAI,MAAM;CAGlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DriverComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/DriverComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,eAAgB,SAAQ,gBAAgB;IAC1C,OAAO,IAAI,MAAM;IAGjB,cAAc,IAAI,MAAM;CAGlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"EventComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/EventComponent.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,cAAe,SAAQ,gBAAgB;IACzC,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"HttpComponent.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/HttpComponent.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,aAAc,SAAQ,gBAAgB;IACxC,OAAO,IAAI,MAAM;IAGjB,cAAc,IAAI,MAAM;CAGlC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IEC 60870 Driver Component
|
|
3
|
+
*/
|
|
4
|
+
import { WinCCOAComponent } from '../WinCCOAComponent.js';
|
|
5
|
+
export declare class IEC60870Component extends WinCCOAComponent {
|
|
6
|
+
getName(): string;
|
|
7
|
+
getDescription(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=IEC60870Component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IEC60870Component.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/IEC60870Component.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,iBAAkB,SAAQ,gBAAgB;IAC5C,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* IEC 61850 Client Component
|
|
3
|
+
*/
|
|
4
|
+
import { WinCCOAComponent } from '../WinCCOAComponent.js';
|
|
5
|
+
export declare class IEC61850Component extends WinCCOAComponent {
|
|
6
|
+
getName(): string;
|
|
7
|
+
getDescription(): string;
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=IEC61850Component.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"IEC61850Component.d.ts","sourceRoot":"","sources":["../../../../src/types/components/implementations/IEC61850Component.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAE1D,qBAAa,iBAAkB,SAAQ,gBAAgB;IAC5C,OAAO,IAAI,MAAM;IAIjB,cAAc,IAAI,MAAM;CAKlC"}
|