@winccoa-tools-pack/npm-winccoa-core 0.1.0-04b5cbe
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 +24 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/types/components/WinCCOAComponent.js +327 -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 +728 -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 +23 -0
- package/dist/cjs/types/index.js.map +1 -0
- package/dist/cjs/types/localization/OaLanguage.js +136 -0
- package/dist/cjs/types/localization/OaLanguage.js.map +1 -0
- package/dist/cjs/types/logs/WinCCOAErrorHandler.js +94 -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 +1015 -0
- package/dist/cjs/types/project/ProjEnvProject.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvProjectConfig.js +327 -0
- package/dist/cjs/types/project/ProjEnvProjectConfig.js.map +1 -0
- package/dist/cjs/types/project/ProjEnvProjectRegistry.js +327 -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 +25 -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 +8 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/types/components/WinCCOAComponent.js +290 -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 +723 -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 +7 -0
- package/dist/esm/types/index.js.map +1 -0
- package/dist/esm/types/localization/OaLanguage.js +132 -0
- package/dist/esm/types/localization/OaLanguage.js.map +1 -0
- package/dist/esm/types/logs/WinCCOAErrorHandler.js +90 -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 +1008 -0
- package/dist/esm/types/project/ProjEnvProject.js.map +1 -0
- package/dist/esm/types/project/ProjEnvProjectConfig.js +287 -0
- package/dist/esm/types/project/ProjEnvProjectConfig.js.map +1 -0
- package/dist/esm/types/project/ProjEnvProjectRegistry.js +283 -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 +9 -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 +7 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/types/components/WinCCOAComponent.d.ts +138 -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 +168 -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 +7 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/types/localization/OaLanguage.d.ts +101 -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 +475 -0
- package/dist/types/project/ProjEnvProject.d.ts.map +1 -0
- package/dist/types/project/ProjEnvProjectConfig.d.ts +54 -0
- package/dist/types/project/ProjEnvProjectConfig.d.ts.map +1 -0
- package/dist/types/project/ProjEnvProjectRegistry.d.ts +61 -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 +9 -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 +70 -0
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.WinCCOAErrorHandler = void 0;
|
|
4
|
+
class WinCCOAErrorHandler {
|
|
5
|
+
constructor(opts) {
|
|
6
|
+
this.verboseEnabled = Boolean(opts?.verbose);
|
|
7
|
+
this.debugFlag = opts?.debugFlag;
|
|
8
|
+
this.throwOnSevere = Boolean(opts?.throwOnSevere ?? true);
|
|
9
|
+
this.prefix = opts?.prefix;
|
|
10
|
+
this.outputHook = opts?.output;
|
|
11
|
+
}
|
|
12
|
+
setOutputHook(hook) {
|
|
13
|
+
this.outputHook = hook;
|
|
14
|
+
}
|
|
15
|
+
sendToOutput(line) {
|
|
16
|
+
if (!this.outputHook)
|
|
17
|
+
return;
|
|
18
|
+
try {
|
|
19
|
+
if (typeof this.outputHook === 'function') {
|
|
20
|
+
this.outputHook(line);
|
|
21
|
+
}
|
|
22
|
+
else if (typeof this.outputHook.appendLine === 'function') {
|
|
23
|
+
this.outputHook.appendLine(line);
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
catch {
|
|
27
|
+
// swallow hook errors to avoid crashing callers
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
formatMessage(level, msg) {
|
|
31
|
+
const ts = new Date().toISOString();
|
|
32
|
+
const p = this.prefix ? `${this.prefix}` : '';
|
|
33
|
+
return `[${ts}] ${p}[${level.toUpperCase()}] ${msg}`;
|
|
34
|
+
}
|
|
35
|
+
verbose(msg) {
|
|
36
|
+
if (this.verboseEnabled || (this.debugFlag && this.debugFlag.length > 0)) {
|
|
37
|
+
const out = this.formatMessage('verbose', msg);
|
|
38
|
+
console.error(out);
|
|
39
|
+
this.sendToOutput(out);
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
info(msg) {
|
|
43
|
+
const out = this.formatMessage('info', msg);
|
|
44
|
+
console.warn(out);
|
|
45
|
+
this.sendToOutput(out);
|
|
46
|
+
}
|
|
47
|
+
warning(msg, code = 54) {
|
|
48
|
+
const body = `${msg} (code=${code})`;
|
|
49
|
+
const out = this.formatMessage('warning', body);
|
|
50
|
+
console.warn(out);
|
|
51
|
+
this.sendToOutput(out);
|
|
52
|
+
return new Error(body);
|
|
53
|
+
}
|
|
54
|
+
severe(msg, code = 54) {
|
|
55
|
+
const body = `${msg} (code=${code})`;
|
|
56
|
+
const out = this.formatMessage('severe', body);
|
|
57
|
+
console.error(out);
|
|
58
|
+
// include stack trace
|
|
59
|
+
console.error(new Error(body).stack);
|
|
60
|
+
this.sendToOutput(out + '\n' + (new Error(body).stack ?? ''));
|
|
61
|
+
if (this.throwOnSevere) {
|
|
62
|
+
throw new Error(body);
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
exception(msg, code = 54) {
|
|
66
|
+
const body = `${msg} (code=${code})`;
|
|
67
|
+
const out = this.formatMessage('exception', body);
|
|
68
|
+
console.error(out);
|
|
69
|
+
this.sendToOutput(out);
|
|
70
|
+
throw new Error(body);
|
|
71
|
+
}
|
|
72
|
+
log(level, msg, code = 0) {
|
|
73
|
+
switch (level) {
|
|
74
|
+
case 'verbose':
|
|
75
|
+
this.verbose(msg);
|
|
76
|
+
return;
|
|
77
|
+
case 'info':
|
|
78
|
+
this.info(msg);
|
|
79
|
+
return;
|
|
80
|
+
case 'warning':
|
|
81
|
+
return this.warning(msg, code);
|
|
82
|
+
case 'severe':
|
|
83
|
+
return this.severe(msg, code);
|
|
84
|
+
case 'exception':
|
|
85
|
+
return this.exception(msg, code);
|
|
86
|
+
default:
|
|
87
|
+
console.log(this.formatMessage('info', msg));
|
|
88
|
+
this.sendToOutput(this.formatMessage('info', msg));
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.WinCCOAErrorHandler = WinCCOAErrorHandler;
|
|
94
|
+
//# sourceMappingURL=WinCCOAErrorHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOAErrorHandler.js","sourceRoot":"","sources":["../../../../src/types/logs/WinCCOAErrorHandler.ts"],"names":[],"mappings":";;;AAkBA,MAAa,mBAAmB;IAO5B,YAAY,IAAiC;QACzC,IAAI,CAAC,cAAc,GAAG,OAAO,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,IAAI,EAAE,SAAS,CAAC;QACjC,IAAI,CAAC,aAAa,GAAG,OAAO,CAAC,IAAI,EAAE,aAAa,IAAI,IAAI,CAAC,CAAC;QAC1D,IAAI,CAAC,MAAM,GAAG,IAAI,EAAE,MAAM,CAAC;QAC3B,IAAI,CAAC,UAAU,GAAG,IAAI,EAAE,MAAM,CAAC;IACnC,CAAC;IAEM,aAAa,CAAC,IAAiB;QAClC,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC;IAC3B,CAAC;IAES,YAAY,CAAC,IAAY;QAC/B,IAAI,CAAC,IAAI,CAAC,UAAU;YAAE,OAAO;QAC7B,IAAI,CAAC;YACD,IAAI,OAAO,IAAI,CAAC,UAAU,KAAK,UAAU,EAAE,CAAC;gBACxC,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YAC1B,CAAC;iBAAM,IAAI,OAAO,IAAI,CAAC,UAAU,CAAC,UAAU,KAAK,UAAU,EAAE,CAAC;gBAC1D,IAAI,CAAC,UAAU,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC;YACrC,CAAC;QACL,CAAC;QAAC,MAAM,CAAC;YACL,gDAAgD;QACpD,CAAC;IACL,CAAC;IAES,aAAa,CAAC,KAAkC,EAAE,GAAW;QACnE,MAAM,EAAE,GAAG,IAAI,IAAI,EAAE,CAA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AAC,GAAG,EAAE,IAAI,CAAC,CAAC;YAClC,KAAK,WAAW;gBACZ,OAAO,IAAI,CAAC,SAAS,CAAC,GAAG,EAAE,IAAI,CAAC,CAAC;YACrC;gBACI,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;gBAC7C,IAAI,CAAC,YAAY,CAAC,IAAI,CAAC,aAAa,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC,CAAC;gBACnD,OAAO;QACf,CAAC;IACL,CAAC;CACJ;AA1GD,kDA0GC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOALogEntry.js","sourceRoot":"","sources":["../../../../src/types/logs/WinCCOALogEntry.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,213 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.WinCCOALogParser = void 0;
|
|
37
|
+
const fs = __importStar(require("fs"));
|
|
38
|
+
class WinCCOALogParser {
|
|
39
|
+
/**
|
|
40
|
+
* Parses a WinCC OA log file and returns an array of log entries
|
|
41
|
+
* @param filePath Path to the log file
|
|
42
|
+
* @returns Promise<WinCCOALogEntry[]>
|
|
43
|
+
*/
|
|
44
|
+
async parseLogFile(filePath) {
|
|
45
|
+
try {
|
|
46
|
+
const content = await fs.promises.readFile(filePath, 'utf-8');
|
|
47
|
+
return this.parseLogContent(content);
|
|
48
|
+
}
|
|
49
|
+
catch (error) {
|
|
50
|
+
throw new Error(`Failed to read log file: ${error}`);
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
/**
|
|
54
|
+
* Parses log content string and returns an array of log entries
|
|
55
|
+
* @param content Raw log file content
|
|
56
|
+
* @returns WinCCOALogEntry[]
|
|
57
|
+
*/
|
|
58
|
+
parseLogContent(content) {
|
|
59
|
+
const lines = content.split('\n');
|
|
60
|
+
const entries = [];
|
|
61
|
+
for (const line of lines) {
|
|
62
|
+
if (line.trim() === '') {
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
try {
|
|
66
|
+
const entry = this.parseLogLine(line);
|
|
67
|
+
if (entry) {
|
|
68
|
+
entries.push(entry);
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
catch (error) {
|
|
72
|
+
// Skip malformed lines but continue parsing
|
|
73
|
+
console.warn(`Failed to parse log line: ${line}`, error);
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
return entries;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Parses a single log line into a WinCCOALogEntry object
|
|
80
|
+
* Real WinCC OA format examples:
|
|
81
|
+
* WCCOActrl (0), 2025.10.15 13:54:33.236, SYS, INFO, 1, Manager Start, PROJ, CTRL_BLOB_3.21, V 3.21 - 3.21.0 platform Windows AMD64
|
|
82
|
+
* WCCOActrl (0), 2025.10.15 13:54:34.364, CTRL, WARNING, 5/ctrl, Ort der folgenden Meldung:
|
|
83
|
+
*
|
|
84
|
+
* Format: MANAGER_NAME (NUMBER), TIMESTAMP, ERROR_TYPE, PRIORITY, ERROR_CODE[/CATALOG], TRANSLATION, ADDITIONAL_INFO...
|
|
85
|
+
*
|
|
86
|
+
* Note: Commas are the primary delimiters, spaces are optional and used for readability
|
|
87
|
+
* @param line Single log line
|
|
88
|
+
* @returns WinCCOALogEntry | null
|
|
89
|
+
*/
|
|
90
|
+
parseLogLine(line) {
|
|
91
|
+
// Handle multi-line entries (continuation lines that start with spaces)
|
|
92
|
+
if (line.startsWith(' ') || line.startsWith('\t')) {
|
|
93
|
+
// This is a continuation line, skip for now (could be enhanced to merge with previous entry)
|
|
94
|
+
return null;
|
|
95
|
+
}
|
|
96
|
+
// Split by comma and trim each part to handle optional spaces
|
|
97
|
+
const rawParts = line.split(',');
|
|
98
|
+
if (rawParts.length < 6) {
|
|
99
|
+
return null;
|
|
100
|
+
}
|
|
101
|
+
// Trim all parts to remove optional spacing
|
|
102
|
+
const parts = rawParts.map((part) => part.trim());
|
|
103
|
+
// Parse manager name and number: "WCCOActrl (0)" or "WCCOActrl(0)"
|
|
104
|
+
const managerMatch = parts[0].match(/^(.+?)\s*\((\d+)\)$/);
|
|
105
|
+
if (!managerMatch) {
|
|
106
|
+
return null;
|
|
107
|
+
}
|
|
108
|
+
const managerName = managerMatch[1].trim();
|
|
109
|
+
const managerNumber = parseInt(managerMatch[2], 10);
|
|
110
|
+
// Parse timestamp: "2025.10.15 13:54:33.236"
|
|
111
|
+
const timestampStr = parts[1];
|
|
112
|
+
const timestamp = this.parseTimestamp(timestampStr);
|
|
113
|
+
if (!timestamp) {
|
|
114
|
+
return null;
|
|
115
|
+
}
|
|
116
|
+
// Parse error type: "SYS", "CTRL", "IMPL", etc. (may have extra spaces)
|
|
117
|
+
const errorType = parts[2];
|
|
118
|
+
// Parse priority: "INFO", "WARNING", "SEVERE", "FATAL" (may have extra spaces)
|
|
119
|
+
const priority = parts[3];
|
|
120
|
+
// Parse error code: "1", "5/ctrl", "253", etc. (may have extra spaces)
|
|
121
|
+
const errorCode = parts[4];
|
|
122
|
+
// Parse translation (from message catalog): "Manager Start"
|
|
123
|
+
const translation = parts[5] || '';
|
|
124
|
+
// Parse additional info: everything after the translation (rejoin with commas since content may contain commas)
|
|
125
|
+
const additionalInfo = parts.length > 6 ? parts.slice(6).join(', ') : '';
|
|
126
|
+
return {
|
|
127
|
+
timestamp,
|
|
128
|
+
managerName,
|
|
129
|
+
managerNumber,
|
|
130
|
+
errorType,
|
|
131
|
+
priority,
|
|
132
|
+
errorCode,
|
|
133
|
+
translation,
|
|
134
|
+
additionalInfo,
|
|
135
|
+
rawLine: line,
|
|
136
|
+
};
|
|
137
|
+
}
|
|
138
|
+
/**
|
|
139
|
+
* Parses WinCC OA timestamp format
|
|
140
|
+
* @param timestampStr Timestamp string in format YYYY.MM.DD HH:MM:SS.mmm
|
|
141
|
+
* @returns Date | null
|
|
142
|
+
*/
|
|
143
|
+
parseTimestamp(timestampStr) {
|
|
144
|
+
try {
|
|
145
|
+
// Convert WinCC OA format to ISO format
|
|
146
|
+
const isoFormat = timestampStr.replace(/^(\d{4})\.(\d{2})\.(\d{2})\s+/, '$1-$2-$3T') + 'Z';
|
|
147
|
+
const date = new Date(isoFormat);
|
|
148
|
+
if (isNaN(date.getTime())) {
|
|
149
|
+
return null;
|
|
150
|
+
}
|
|
151
|
+
return date;
|
|
152
|
+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
|
153
|
+
}
|
|
154
|
+
catch (error) {
|
|
155
|
+
return null;
|
|
156
|
+
}
|
|
157
|
+
}
|
|
158
|
+
/**
|
|
159
|
+
* Filters log entries based on provided criteria
|
|
160
|
+
* @param entries Array of log entries to filter
|
|
161
|
+
* @param filters Filter criteria
|
|
162
|
+
* @returns Filtered array of log entries
|
|
163
|
+
*/
|
|
164
|
+
filterEntries(entries, filters) {
|
|
165
|
+
return entries.filter((entry) => {
|
|
166
|
+
// Timestamp filter
|
|
167
|
+
if (filters.startTime && entry.timestamp < filters.startTime) {
|
|
168
|
+
return false;
|
|
169
|
+
}
|
|
170
|
+
if (filters.endTime && entry.timestamp > filters.endTime) {
|
|
171
|
+
return false;
|
|
172
|
+
}
|
|
173
|
+
// Manager name filter
|
|
174
|
+
if (filters.managerName &&
|
|
175
|
+
!entry.managerName.toLowerCase().includes(filters.managerName.toLowerCase())) {
|
|
176
|
+
return false;
|
|
177
|
+
}
|
|
178
|
+
// Manager number filter
|
|
179
|
+
if (filters.managerNumber !== undefined &&
|
|
180
|
+
entry.managerNumber !== filters.managerNumber) {
|
|
181
|
+
return false;
|
|
182
|
+
}
|
|
183
|
+
// Error type filter (was category)
|
|
184
|
+
if (filters.errorType &&
|
|
185
|
+
!entry.errorType.toLowerCase().includes(filters.errorType.toLowerCase())) {
|
|
186
|
+
return false;
|
|
187
|
+
}
|
|
188
|
+
// Priority filter
|
|
189
|
+
if (filters.priority &&
|
|
190
|
+
!entry.priority.toLowerCase().includes(filters.priority.toLowerCase())) {
|
|
191
|
+
return false;
|
|
192
|
+
}
|
|
193
|
+
// Error code filter
|
|
194
|
+
if (filters.errorCode &&
|
|
195
|
+
!entry.errorCode.toLowerCase().includes(filters.errorCode.toLowerCase())) {
|
|
196
|
+
return false;
|
|
197
|
+
}
|
|
198
|
+
// Translation filter
|
|
199
|
+
if (filters.translation &&
|
|
200
|
+
!entry.translation.toLowerCase().includes(filters.translation.toLowerCase())) {
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
// Additional info filter
|
|
204
|
+
if (filters.additionalInfo &&
|
|
205
|
+
!entry.additionalInfo.toLowerCase().includes(filters.additionalInfo.toLowerCase())) {
|
|
206
|
+
return false;
|
|
207
|
+
}
|
|
208
|
+
return true;
|
|
209
|
+
});
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
exports.WinCCOALogParser = WinCCOALogParser;
|
|
213
|
+
//# sourceMappingURL=WinCCOALogParser.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOALogParser.js","sourceRoot":"","sources":["../../../../src/types/logs/WinCCOALogParser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uCAAyB;AAIzB,MAAa,gBAAgB;IACzB;;;;OAIG;IACI,KAAK,CAAC,YAAY,CAAC,QAAgB;QACtC,IAAI,CAAC;YACD,MAAM,OAAO,GAAG,MAAM,EAAE,CAAC,QAAQ,CAAC,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC9D,OAAO,IAAI,CAAC,eAAe,CAAC,OAAO,CAAC,CAAC;QACzC,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACb,MAAM,IAAI,KAAK,CAAC,4BAA4B,KAAK,EAAE,CAAC,CAAC;QACzD,CAAC;IACL,CAAC;IAED;;;;OAIG;IACI,eAAe,CAAC,OAAe;QAClC,MAAM,KAAK,GAAG,OAAO,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QAClC,MAAM,OAAO,GAAsB,EAAE,CAAC;QAEtC,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACvB,IAAI,IAAI,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE,CAAC;g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OAAO,CAAC,SAAS;gBACjB,CAAC,KAAK,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,SAAS,CAAC,WAAW,EAAE,CAAC,EAC1E,CAAC;gBACC,OAAO,KAAK,CAAC;YACjB,CAAC;YAED,qBAAqB;YACrB,IACI,OAAO,CAAC,WAAW;gBACnB,CAAC,KAAK,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,WAAW,CAAC,WAAW,EAAE,CAAC,EAC9E,CAAC;gBACC,OAAO,KAAK,CAAC;YACjB,CAAC;YAED,yBAAyB;YACzB,IACI,OAAO,CAAC,cAAc;gBACtB,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,QAAQ,CAAC,OAAO,CAAC,cAAc,CAAC,WAAW,EAAE,CAAC,EACpF,CAAC;gBACC,OAAO,KAAK,CAAC;YACjB,CAAC;YAED,OAAO,IAAI,CAAC;QAChB,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAtND,4CAsNC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview Current Project Information Type
|
|
4
|
+
*
|
|
5
|
+
* This module defines the CurrentProjectInfo interface used for representing
|
|
6
|
+
* information about the currently active WinCC OA project as retrieved
|
|
7
|
+
* from the WinCC OA runtime environment.
|
|
8
|
+
*
|
|
9
|
+
* @author mPokornyETM
|
|
10
|
+
*/
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
//# sourceMappingURL=CurrentProjectInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrentProjectInfo.js","sourceRoot":"","sources":["../../../../src/types/project/CurrentProjectInfo.ts"],"names":[],"mappings":";AAAA;;;;;;;;GAQG"}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* WinCC OA project and manager enums and helper functions
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.ProjEnvProjectFileSysStruct = exports.ProjEnvProjectRunnable = exports.ProjEnvManagerState = exports.ProjEnvManagerStartMode = exports.ProjEnvProjectState = void 0;
|
|
7
|
+
exports.ProjEnvManagerStateToString = ProjEnvManagerStateToString;
|
|
8
|
+
exports.ProjEnvProjectStateToString = ProjEnvProjectStateToString;
|
|
9
|
+
exports.startModeToString = startModeToString;
|
|
10
|
+
var ProjEnvProjectState;
|
|
11
|
+
(function (ProjEnvProjectState) {
|
|
12
|
+
ProjEnvProjectState[ProjEnvProjectState["Unknown"] = -1] = "Unknown";
|
|
13
|
+
ProjEnvProjectState[ProjEnvProjectState["Down"] = 0] = "Down";
|
|
14
|
+
ProjEnvProjectState[ProjEnvProjectState["Starting"] = 1] = "Starting";
|
|
15
|
+
ProjEnvProjectState[ProjEnvProjectState["Monitoring"] = 2] = "Monitoring";
|
|
16
|
+
ProjEnvProjectState[ProjEnvProjectState["Stopping"] = 3] = "Stopping";
|
|
17
|
+
ProjEnvProjectState[ProjEnvProjectState["Restarting"] = 5] = "Restarting";
|
|
18
|
+
})(ProjEnvProjectState || (exports.ProjEnvProjectState = ProjEnvProjectState = {}));
|
|
19
|
+
var ProjEnvManagerStartMode;
|
|
20
|
+
(function (ProjEnvManagerStartMode) {
|
|
21
|
+
ProjEnvManagerStartMode[ProjEnvManagerStartMode["Unknown"] = -1] = "Unknown";
|
|
22
|
+
ProjEnvManagerStartMode[ProjEnvManagerStartMode["Manual"] = 0] = "Manual";
|
|
23
|
+
ProjEnvManagerStartMode[ProjEnvManagerStartMode["Once"] = 1] = "Once";
|
|
24
|
+
ProjEnvManagerStartMode[ProjEnvManagerStartMode["Always"] = 2] = "Always";
|
|
25
|
+
})(ProjEnvManagerStartMode || (exports.ProjEnvManagerStartMode = ProjEnvManagerStartMode = {}));
|
|
26
|
+
var ProjEnvManagerState;
|
|
27
|
+
(function (ProjEnvManagerState) {
|
|
28
|
+
ProjEnvManagerState[ProjEnvManagerState["Unknown"] = -1] = "Unknown";
|
|
29
|
+
ProjEnvManagerState[ProjEnvManagerState["NotRunning"] = 0] = "NotRunning";
|
|
30
|
+
ProjEnvManagerState[ProjEnvManagerState["Init"] = 1] = "Init";
|
|
31
|
+
ProjEnvManagerState[ProjEnvManagerState["Running"] = 2] = "Running";
|
|
32
|
+
ProjEnvManagerState[ProjEnvManagerState["Blocked"] = 3] = "Blocked";
|
|
33
|
+
})(ProjEnvManagerState || (exports.ProjEnvManagerState = ProjEnvManagerState = {}));
|
|
34
|
+
function ProjEnvManagerStateToString(state) {
|
|
35
|
+
switch (state) {
|
|
36
|
+
case ProjEnvManagerState.Unknown:
|
|
37
|
+
return 'Unknown';
|
|
38
|
+
case ProjEnvManagerState.NotRunning:
|
|
39
|
+
return 'NotRunning';
|
|
40
|
+
case ProjEnvManagerState.Init:
|
|
41
|
+
return 'Init';
|
|
42
|
+
case ProjEnvManagerState.Running:
|
|
43
|
+
return 'Running';
|
|
44
|
+
case ProjEnvManagerState.Blocked:
|
|
45
|
+
return 'Blocked';
|
|
46
|
+
default:
|
|
47
|
+
return 'Invalid';
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function ProjEnvProjectStateToString(state) {
|
|
51
|
+
switch (state) {
|
|
52
|
+
case ProjEnvProjectState.Unknown:
|
|
53
|
+
return 'Unknown';
|
|
54
|
+
case ProjEnvProjectState.Down:
|
|
55
|
+
return 'Stopped';
|
|
56
|
+
case ProjEnvProjectState.Starting:
|
|
57
|
+
return 'Starting';
|
|
58
|
+
case ProjEnvProjectState.Monitoring:
|
|
59
|
+
return 'Started';
|
|
60
|
+
case ProjEnvProjectState.Stopping:
|
|
61
|
+
return 'Stopping';
|
|
62
|
+
case ProjEnvProjectState.Restarting:
|
|
63
|
+
return 'Restarting';
|
|
64
|
+
default:
|
|
65
|
+
return 'Invalid';
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function startModeToString(mode) {
|
|
69
|
+
switch (mode) {
|
|
70
|
+
case ProjEnvManagerStartMode.Always:
|
|
71
|
+
return 'always';
|
|
72
|
+
case ProjEnvManagerStartMode.Manual:
|
|
73
|
+
return 'manual';
|
|
74
|
+
case ProjEnvManagerStartMode.Once:
|
|
75
|
+
return 'once';
|
|
76
|
+
default:
|
|
77
|
+
return '';
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
var ProjEnvProjectRunnable;
|
|
81
|
+
(function (ProjEnvProjectRunnable) {
|
|
82
|
+
ProjEnvProjectRunnable[ProjEnvProjectRunnable["Unknown"] = -1] = "Unknown";
|
|
83
|
+
ProjEnvProjectRunnable[ProjEnvProjectRunnable["Runnable"] = 0] = "Runnable";
|
|
84
|
+
ProjEnvProjectRunnable[ProjEnvProjectRunnable["NotRunnable"] = 1] = "NotRunnable";
|
|
85
|
+
})(ProjEnvProjectRunnable || (exports.ProjEnvProjectRunnable = ProjEnvProjectRunnable = {}));
|
|
86
|
+
exports.ProjEnvProjectFileSysStruct = Object.freeze({
|
|
87
|
+
BIN_REL_PATH: 'bin/',
|
|
88
|
+
SOURCE_REL_PATH: 'source/',
|
|
89
|
+
HELP_REL_PATH: 'help/',
|
|
90
|
+
MSG_REL_PATH: 'msg/',
|
|
91
|
+
CONFIG_REL_PATH: 'config/',
|
|
92
|
+
PICTURES_REL_PATH: 'pictures/',
|
|
93
|
+
PRINTERS_REL_PATH: 'printers/',
|
|
94
|
+
COLORDB_REL_PATH: 'colorDB/',
|
|
95
|
+
PANELS_REL_PATH: 'panels/',
|
|
96
|
+
IMAGES_REL_PATH: 'images/',
|
|
97
|
+
SCRIPTS_REL_PATH: 'scripts/',
|
|
98
|
+
LIBS_REL_PATH: 'scripts/libs/',
|
|
99
|
+
DATA_REL_PATH: 'data/',
|
|
100
|
+
DB_REL_PATH: 'db/wincc_oa/',
|
|
101
|
+
LOG_REL_PATH: 'log/',
|
|
102
|
+
DPLIST_REL_PATH: 'dplist/',
|
|
103
|
+
NLS_REL_PATH: 'nls/',
|
|
104
|
+
JAVASCRIPT_REL_PATH: 'javascript/',
|
|
105
|
+
PIXMAPS_REL_PATH: 'pictures/',
|
|
106
|
+
ICONS_REL_PATH: 'pictures/',
|
|
107
|
+
GIF_REL_PATH: 'pictures/',
|
|
108
|
+
});
|
|
109
|
+
//# sourceMappingURL=ProjEnv.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjEnv.js","sourceRoot":"","sources":["../../../../src/types/project/ProjEnv.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AA0BH,kEAeC;AAED,kEAiBC;AAmBD,8CAWC;AAxFD,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC3B,oEAAY,CAAA;IACZ,6DAAQ,CAAA;IACR,qEAAY,CAAA;IACZ,yEAAc,CAAA;IACd,qEAAY,CAAA;IACZ,yEAAc,CAAA;AAClB,CAAC,EAPW,mBAAmB,mCAAnB,mBAAmB,QAO9B;AAED,IAAY,uBAKX;AALD,WAAY,uBAAuB;IAC/B,4EAAY,CAAA;IACZ,yEAAU,CAAA;IACV,qEAAQ,CAAA;IACR,yEAAU,CAAA;AACd,CAAC,EALW,uBAAuB,uCAAvB,uBAAuB,QAKlC;AAED,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC3B,oEAAY,CAAA;IACZ,yEAAc,CAAA;IACd,6DAAQ,CAAA;IACR,mEAAW,CAAA;IACX,mEAAW,CAAA;AACf,CAAC,EANW,mBAAmB,mCAAnB,mBAAmB,QAM9B;AAED,SAAgB,2BAA2B,CAAC,KAA0B;IAClE,QAAQ,KAAK,EAAE,CAAC;QACZ,KAAK,mBAAmB,CAAC,OAAO;YAC5B,OAAO,SAAS,CAAC;QACrB,KAAK,mBAAmB,CAAC,UAAU;YAC/B,OAAO,YAAY,CAAC;QACxB,KAAK,mBAAmB,CAAC,IAAI;YACzB,OAAO,MAAM,CAAC;QAClB,KAAK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AS;IAC1B,iBAAiB,EAAE,WAAW;IAC9B,iBAAiB,EAAE,WAAW;IAC9B,gBAAgB,EAAE,UAAU;IAC5B,eAAe,EAAE,SAAS;IAC1B,eAAe,EAAE,SAAS;IAC1B,gBAAgB,EAAE,UAAU;IAC5B,aAAa,EAAE,eAAe;IAC9B,aAAa,EAAE,OAAO;IACtB,WAAW,EAAE,cAAc;IAC3B,YAAY,EAAE,MAAM;IACpB,eAAe,EAAE,SAAS;IAC1B,YAAY,EAAE,MAAM;IACpB,mBAAmB,EAAE,aAAa;IAClC,gBAAgB,EAAE,WAAW;IAC7B,cAAc,EAAE,WAAW;IAC3B,YAAY,EAAE,WAAW;CACnB,CAAC,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjEnvErrorHandler = void 0;
|
|
4
|
+
const WinCCOAErrorHandler_1 = require("../logs/WinCCOAErrorHandler");
|
|
5
|
+
class ProjEnvErrorHandler extends WinCCOAErrorHandler_1.WinCCOAErrorHandler {
|
|
6
|
+
constructor(opts) {
|
|
7
|
+
super({ ...opts, prefix: opts?.prefix ?? 'ProjEnvProject: ' });
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
exports.ProjEnvErrorHandler = ProjEnvErrorHandler;
|
|
11
|
+
exports.default = ProjEnvErrorHandler;
|
|
12
|
+
//# sourceMappingURL=ProjEnvErrorHandler.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjEnvErrorHandler.js","sourceRoot":"","sources":["../../../../src/types/project/ProjEnvErrorHandler.ts"],"names":[],"mappings":";;;AAAA,qEAA8F;AAE9F,MAAa,mBAAoB,SAAQ,yCAAmB;IACxD,YAAY,IAAiC;QACzC,KAAK,CAAC,EAAE,GAAG,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,IAAI,kBAAkB,EAAE,CAAC,CAAC;IACnE,CAAC;CACJ;AAJD,kDAIC;AAED,kBAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ProjEnvPmonProjectStatus = exports.ProjEnvPmonStatus = void 0;
|
|
4
|
+
/**
|
|
5
|
+
* Enumeration of possible project running states as reported by PMON.
|
|
6
|
+
*/
|
|
7
|
+
var ProjEnvPmonStatus;
|
|
8
|
+
(function (ProjEnvPmonStatus) {
|
|
9
|
+
/** Status cannot be determined */
|
|
10
|
+
ProjEnvPmonStatus["Unknown"] = "unknown";
|
|
11
|
+
/** Project is currently running with active managers */
|
|
12
|
+
ProjEnvPmonStatus["Running"] = "running";
|
|
13
|
+
/** Project is configured but not currently running */
|
|
14
|
+
ProjEnvPmonStatus["NotRunning"] = "not-running";
|
|
15
|
+
})(ProjEnvPmonStatus || (exports.ProjEnvPmonStatus = ProjEnvPmonStatus = {}));
|
|
16
|
+
class ProjEnvPmonProjectStatus {
|
|
17
|
+
constructor() {
|
|
18
|
+
this.managers = [];
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
exports.ProjEnvPmonProjectStatus = ProjEnvPmonProjectStatus;
|
|
22
|
+
//# sourceMappingURL=ProjEnvPmonStatus.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjEnvPmonStatus.js","sourceRoot":"","sources":["../../../../src/types/project/ProjEnvPmonStatus.ts"],"names":[],"mappings":";;;AAEA;;GAEG;AACH,IAAY,iBASX;AATD,WAAY,iBAAiB;IACzB,kCAAkC;IAClC,wCAAmB,CAAA;IAEnB,wDAAwD;IACxD,wCAAmB,CAAA;IAEnB,sDAAsD;IACtD,+CAA0B,CAAA;AAC9B,CAAC,EATW,iBAAiB,iCAAjB,iBAAiB,QAS5B;AAED,MAAa,wBAAwB;IAArC;QACI,aAAQ,GAAyB,EAAE,CAAC;IAQxC,CAAC;CAAA;AATD,4DASC"}
|