@winccoa-tools-pack/npm-winccoa-core 0.1.0-9ec3b86
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 +301 -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 +257 -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 +73 -0
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
/**
|
|
2
|
+
@brief Language enum
|
|
3
|
+
*/
|
|
4
|
+
export declare enum OaLanguage {
|
|
5
|
+
undefined = 65534,
|
|
6
|
+
auto = 65533,
|
|
7
|
+
posix = 254,
|
|
8
|
+
meta_iso88591 = 255,
|
|
9
|
+
de_AT = 10000,
|
|
10
|
+
en_US = 10001,
|
|
11
|
+
hu_HU = 10002,
|
|
12
|
+
jp_JP = 10003,
|
|
13
|
+
zh_CN = 10004,
|
|
14
|
+
en_GB = 10005,
|
|
15
|
+
nl_NL = 10006,
|
|
16
|
+
tr_TR = 10007,
|
|
17
|
+
it_IT = 10008,
|
|
18
|
+
fr_FR = 10009,
|
|
19
|
+
es_ES = 10010,
|
|
20
|
+
de_DE = 10011,
|
|
21
|
+
el_GR = 10012,
|
|
22
|
+
iw_IL = 10013,
|
|
23
|
+
fr_CA = 10014,
|
|
24
|
+
da_DK = 10015,
|
|
25
|
+
fi_FI = 10016,
|
|
26
|
+
no_NO = 10017,
|
|
27
|
+
pt_PT = 10018,
|
|
28
|
+
sv_SE = 10019,
|
|
29
|
+
is_IS = 10020,
|
|
30
|
+
cs_CZ = 10021,
|
|
31
|
+
pl_PL = 10022,
|
|
32
|
+
ro_RO = 10023,
|
|
33
|
+
hr_HR = 10024,
|
|
34
|
+
sk_SK = 10025,
|
|
35
|
+
sl_SI = 10026,
|
|
36
|
+
ru_RU = 10027,
|
|
37
|
+
bg_BG = 10028,
|
|
38
|
+
ar_SA = 10029,
|
|
39
|
+
zh_TW = 10030,
|
|
40
|
+
ko_KR = 10031,
|
|
41
|
+
ja_JP = 10032,
|
|
42
|
+
th_TH = 10033,
|
|
43
|
+
de_CH = 10034,
|
|
44
|
+
fr_CH = 10035,
|
|
45
|
+
it_CH = 10036,
|
|
46
|
+
vi_VN = 10038,
|
|
47
|
+
id_ID = 10039,
|
|
48
|
+
lt_LT = 10040,
|
|
49
|
+
ka_GE = 10041,
|
|
50
|
+
ms_MY = 10042,
|
|
51
|
+
sr_SR = 10043,
|
|
52
|
+
pt_BR = 10044,
|
|
53
|
+
es_AR = 10045,
|
|
54
|
+
es_BO = 10046,
|
|
55
|
+
es_CL = 10047,
|
|
56
|
+
es_CO = 10048,
|
|
57
|
+
es_CR = 10049,
|
|
58
|
+
es_CU = 10050,
|
|
59
|
+
es_DO = 10051,
|
|
60
|
+
es_EC = 10052,
|
|
61
|
+
es_GT = 10053,
|
|
62
|
+
es_HN = 10054,
|
|
63
|
+
es_MX = 10055,
|
|
64
|
+
es_NI = 10056,
|
|
65
|
+
es_PA = 10057,
|
|
66
|
+
es_PE = 10058,
|
|
67
|
+
es_PR = 10059,
|
|
68
|
+
es_PY = 10060,
|
|
69
|
+
es_SV = 10061,
|
|
70
|
+
es_UY = 10062,
|
|
71
|
+
es_VE = 10063,
|
|
72
|
+
my_MM = 10064,
|
|
73
|
+
km_KH = 10065,
|
|
74
|
+
uk_UA = 10066,
|
|
75
|
+
sq_AL = 10067,
|
|
76
|
+
mk_MK = 10068,
|
|
77
|
+
lv_LV = 10069,
|
|
78
|
+
kn_IN = 10070,
|
|
79
|
+
hi_IN = 10071,
|
|
80
|
+
af_ZA = 10072,
|
|
81
|
+
ar_DZ = 10073,
|
|
82
|
+
ar_EG = 10074,
|
|
83
|
+
be_BY = 10075,
|
|
84
|
+
bn_BD = 10076,
|
|
85
|
+
bs_BA = 10077,
|
|
86
|
+
ca_ES = 10078,
|
|
87
|
+
et_EE = 10079,
|
|
88
|
+
he_IL = 10080,
|
|
89
|
+
hy_AM = 10081,
|
|
90
|
+
kk_KZ = 10082,
|
|
91
|
+
lo_LA = 10083,
|
|
92
|
+
mn_MN = 10085,
|
|
93
|
+
nb_NO = 10086,
|
|
94
|
+
nn_NO = 10087,
|
|
95
|
+
si_LK = 10088,
|
|
96
|
+
tg_TJ = 10089,
|
|
97
|
+
tk_TM = 10090,
|
|
98
|
+
uz_UZ = 10091
|
|
99
|
+
}
|
|
100
|
+
export declare function OaLanguageFromString(entry: string): OaLanguage;
|
|
101
|
+
//# sourceMappingURL=OaLanguage.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OaLanguage.d.ts","sourceRoot":"","sources":["../../../src/types/localization/OaLanguage.ts"],"names":[],"mappings":"AAAA;;EAEE;AACF,oBAAY,UAAU;IAClB,SAAS,QAAQ;IAKjB,IAAI,QAAQ;IAEZ,KAAK,MAAM;IACX,aAAa,MAAM;IAEnB,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IAEb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;IACb,KAAK,QAAQ;CAChB;AAED,wBAAgB,oBAAoB,CAAC,KAAK,EAAE,MAAM,GAAG,UAAU,CAiC9D"}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Lightweight error handler used by project utilities.
|
|
3
|
+
* Intended to be small and dependency-free so it can be used in NPM packages.
|
|
4
|
+
*/
|
|
5
|
+
export type WinCCOAErrorHandlerLogLevel = 'verbose' | 'info' | 'warning' | 'severe' | 'exception';
|
|
6
|
+
/** Output hook can be a function or a VS Code-like OutputChannel with appendLine(). */
|
|
7
|
+
export type OutputHook = ((line: string) => void) | {
|
|
8
|
+
appendLine: (line: string) => void;
|
|
9
|
+
};
|
|
10
|
+
export interface WinCCOAErrorHandlerOptions {
|
|
11
|
+
verbose?: boolean;
|
|
12
|
+
debugFlag?: string;
|
|
13
|
+
/** If true, methods labeled 'exception' or 'severe' will throw Error objects. */
|
|
14
|
+
throwOnSevere?: boolean;
|
|
15
|
+
prefix?: string;
|
|
16
|
+
output?: OutputHook;
|
|
17
|
+
}
|
|
18
|
+
export declare class WinCCOAErrorHandler {
|
|
19
|
+
protected verboseEnabled: boolean;
|
|
20
|
+
protected debugFlag?: string;
|
|
21
|
+
protected throwOnSevere: boolean;
|
|
22
|
+
protected prefix?: string;
|
|
23
|
+
protected outputHook?: OutputHook;
|
|
24
|
+
constructor(opts?: WinCCOAErrorHandlerOptions);
|
|
25
|
+
setOutputHook(hook?: OutputHook): void;
|
|
26
|
+
protected sendToOutput(line: string): void;
|
|
27
|
+
protected formatMessage(level: WinCCOAErrorHandlerLogLevel, msg: string): string;
|
|
28
|
+
verbose(msg: string): void;
|
|
29
|
+
info(msg: string): void;
|
|
30
|
+
warning(msg: string, code?: number): Error;
|
|
31
|
+
severe(msg: string, code?: number): never | void;
|
|
32
|
+
exception(msg: string, code?: number): never;
|
|
33
|
+
log(level: WinCCOAErrorHandlerLogLevel, msg: string, code?: number): void | Error | never;
|
|
34
|
+
}
|
|
35
|
+
//# sourceMappingURL=WinCCOAErrorHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOAErrorHandler.d.ts","sourceRoot":"","sources":["../../../src/types/logs/WinCCOAErrorHandler.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,QAAQ,GAAG,WAAW,CAAC;AAElG,uFAAuF;AACvF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAC,GAAG;IAAE,UAAU,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;CAAE,CAAC;AAE3F,MAAM,WAAW,0BAA0B;IACvC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;IACjF,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,UAAU,CAAC;CACvB;AAED,qBAAa,mBAAmB;IAC5B,SAAS,CAAC,cAAc,EAAE,OAAO,CAAC;IAClC,SAAS,CAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAC7B,SAAS,CAAC,aAAa,EAAE,OAAO,CAAC;IACjC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,CAAC;IAC1B,SAAS,CAAC,UAAU,CAAC,EAAE,UAAU,CAAC;gBAEtB,IAAI,CAAC,EAAE,0BAA0B;IAQtC,aAAa,CAAC,IAAI,CAAC,EAAE,UAAU;IAItC,SAAS,CAAC,YAAY,CAAC,IAAI,EAAE,MAAM;IAanC,SAAS,CAAC,aAAa,CAAC,KAAK,EAAE,2BAA2B,EAAE,GAAG,EAAE,MAAM,GAAG,MAAM;IAMzE,OAAO,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAS1B,IAAI,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;IAOvB,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,SAAK,GAAG,KAAK;IAStC,MAAM,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,SAAK,GAAG,KAAK,GAAG,IAAI;IAc5C,SAAS,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,SAAK,GAAG,KAAK;IASxC,GAAG,CAAC,KAAK,EAAE,2BAA2B,EAAE,GAAG,EAAE,MAAM,EAAE,IAAI,SAAI,GAAG,IAAI,GAAG,KAAK,GAAG,KAAK;CAoB9F"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface WinCCOALogEntry {
|
|
2
|
+
timestamp: Date;
|
|
3
|
+
managerName: string;
|
|
4
|
+
managerNumber: number;
|
|
5
|
+
errorType: string;
|
|
6
|
+
priority: string;
|
|
7
|
+
errorCode: string;
|
|
8
|
+
translation: string;
|
|
9
|
+
additionalInfo: string;
|
|
10
|
+
rawLine: string;
|
|
11
|
+
}
|
|
12
|
+
//# sourceMappingURL=WinCCOALogEntry.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOALogEntry.d.ts","sourceRoot":"","sources":["../../../src/types/logs/WinCCOALogEntry.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,eAAe;IAC5B,SAAS,EAAE,IAAI,CAAC;IAChB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,cAAc,EAAE,MAAM,CAAC;IACvB,OAAO,EAAE,MAAM,CAAC;CACnB"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import { WinCCOALogEntry } from './WinCCOALogEntry';
|
|
2
|
+
export declare class WinCCOALogParser {
|
|
3
|
+
/**
|
|
4
|
+
* Parses a WinCC OA log file and returns an array of log entries
|
|
5
|
+
* @param filePath Path to the log file
|
|
6
|
+
* @returns Promise<WinCCOALogEntry[]>
|
|
7
|
+
*/
|
|
8
|
+
parseLogFile(filePath: string): Promise<WinCCOALogEntry[]>;
|
|
9
|
+
/**
|
|
10
|
+
* Parses log content string and returns an array of log entries
|
|
11
|
+
* @param content Raw log file content
|
|
12
|
+
* @returns WinCCOALogEntry[]
|
|
13
|
+
*/
|
|
14
|
+
parseLogContent(content: string): WinCCOALogEntry[];
|
|
15
|
+
/**
|
|
16
|
+
* Parses a single log line into a WinCCOALogEntry object
|
|
17
|
+
* Real WinCC OA format examples:
|
|
18
|
+
* 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
|
|
19
|
+
* WCCOActrl (0), 2025.10.15 13:54:34.364, CTRL, WARNING, 5/ctrl, Ort der folgenden Meldung:
|
|
20
|
+
*
|
|
21
|
+
* Format: MANAGER_NAME (NUMBER), TIMESTAMP, ERROR_TYPE, PRIORITY, ERROR_CODE[/CATALOG], TRANSLATION, ADDITIONAL_INFO...
|
|
22
|
+
*
|
|
23
|
+
* Note: Commas are the primary delimiters, spaces are optional and used for readability
|
|
24
|
+
* @param line Single log line
|
|
25
|
+
* @returns WinCCOALogEntry | null
|
|
26
|
+
*/
|
|
27
|
+
private parseLogLine;
|
|
28
|
+
/**
|
|
29
|
+
* Parses WinCC OA timestamp format
|
|
30
|
+
* @param timestampStr Timestamp string in format YYYY.MM.DD HH:MM:SS.mmm
|
|
31
|
+
* @returns Date | null
|
|
32
|
+
*/
|
|
33
|
+
private parseTimestamp;
|
|
34
|
+
/**
|
|
35
|
+
* Filters log entries based on provided criteria
|
|
36
|
+
* @param entries Array of log entries to filter
|
|
37
|
+
* @param filters Filter criteria
|
|
38
|
+
* @returns Filtered array of log entries
|
|
39
|
+
*/
|
|
40
|
+
filterEntries(entries: WinCCOALogEntry[], filters: LogFilters): WinCCOALogEntry[];
|
|
41
|
+
}
|
|
42
|
+
export interface LogFilters {
|
|
43
|
+
startTime?: Date;
|
|
44
|
+
endTime?: Date;
|
|
45
|
+
managerName?: string;
|
|
46
|
+
managerNumber?: number;
|
|
47
|
+
errorType?: string;
|
|
48
|
+
priority?: string;
|
|
49
|
+
errorCode?: string;
|
|
50
|
+
translation?: string;
|
|
51
|
+
additionalInfo?: string;
|
|
52
|
+
}
|
|
53
|
+
//# sourceMappingURL=WinCCOALogParser.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WinCCOALogParser.d.ts","sourceRoot":"","sources":["../../../src/types/logs/WinCCOALogParser.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAEpD,qBAAa,gBAAgB;IACzB;;;;OAIG;IACU,YAAY,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC,eAAe,EAAE,CAAC;IASvE;;;;OAIG;IACI,eAAe,CAAC,OAAO,EAAE,MAAM,GAAG,eAAe,EAAE;IAuB1D;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,YAAY;IA6DpB;;;;OAIG;IACH,OAAO,CAAC,cAAc;IAkBtB;;;;;OAKG;IACI,aAAa,CAAC,OAAO,EAAE,eAAe,EAAE,EAAE,OAAO,EAAE,UAAU,GAAG,eAAe,EAAE;CAqE3F;AAED,MAAM,WAAW,UAAU;IACvB,SAAS,CAAC,EAAE,IAAI,CAAC;IACjB,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @fileoverview Current Project Information Type
|
|
3
|
+
*
|
|
4
|
+
* This module defines the CurrentProjectInfo interface used for representing
|
|
5
|
+
* information about the currently active WinCC OA project as retrieved
|
|
6
|
+
* from the WinCC OA runtime environment.
|
|
7
|
+
*
|
|
8
|
+
* @author mPokornyETM
|
|
9
|
+
*/
|
|
10
|
+
/**
|
|
11
|
+
* Information about the currently active WinCC OA project,
|
|
12
|
+
* typically retrieved from the WinCC OA runtime environment.
|
|
13
|
+
*/
|
|
14
|
+
export interface CurrentProjectInfo {
|
|
15
|
+
/** Name of the currently active project */
|
|
16
|
+
projectName: string;
|
|
17
|
+
/** WinCC OA version string (e.g., "3.20", "3.19") */
|
|
18
|
+
version: string;
|
|
19
|
+
/** Optional installation directory path */
|
|
20
|
+
installationDir?: string;
|
|
21
|
+
/** Optional path to the last used project directory */
|
|
22
|
+
lastUsedProjectDir?: string;
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=CurrentProjectInfo.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CurrentProjectInfo.d.ts","sourceRoot":"","sources":["../../../src/types/project/CurrentProjectInfo.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAC/B,2CAA2C;IAC3C,WAAW,EAAE,MAAM,CAAC;IAEpB,qDAAqD;IACrD,OAAO,EAAE,MAAM,CAAC;IAEhB,2CAA2C;IAC3C,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,uDAAuD;IACvD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC/B"}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* WinCC OA project and manager enums and helper functions
|
|
3
|
+
*/
|
|
4
|
+
export declare enum ProjEnvProjectState {
|
|
5
|
+
Unknown = -1,
|
|
6
|
+
Down = 0,
|
|
7
|
+
Starting = 1,
|
|
8
|
+
Monitoring = 2,
|
|
9
|
+
Stopping = 3,
|
|
10
|
+
Restarting = 5
|
|
11
|
+
}
|
|
12
|
+
export declare enum ProjEnvManagerStartMode {
|
|
13
|
+
Unknown = -1,
|
|
14
|
+
Manual = 0,
|
|
15
|
+
Once = 1,
|
|
16
|
+
Always = 2
|
|
17
|
+
}
|
|
18
|
+
export declare enum ProjEnvManagerState {
|
|
19
|
+
Unknown = -1,
|
|
20
|
+
NotRunning = 0,
|
|
21
|
+
Init = 1,
|
|
22
|
+
Running = 2,
|
|
23
|
+
Blocked = 3
|
|
24
|
+
}
|
|
25
|
+
export declare function ProjEnvManagerStateToString(state: ProjEnvManagerState): string;
|
|
26
|
+
export declare function ProjEnvProjectStateToString(state: ProjEnvProjectState): string;
|
|
27
|
+
export interface ProjEnvManagerInfo {
|
|
28
|
+
state: ProjEnvManagerState;
|
|
29
|
+
pid: number;
|
|
30
|
+
startMode: ProjEnvManagerStartMode;
|
|
31
|
+
startTime: Date;
|
|
32
|
+
managerNumber: number;
|
|
33
|
+
}
|
|
34
|
+
export interface ProjEnvManagerOptions {
|
|
35
|
+
component: string;
|
|
36
|
+
startMode: ProjEnvManagerStartMode;
|
|
37
|
+
secondToKill: number;
|
|
38
|
+
resetMin: number;
|
|
39
|
+
resetStartCounter: number;
|
|
40
|
+
startOptions: string;
|
|
41
|
+
}
|
|
42
|
+
export declare function startModeToString(mode: ProjEnvManagerStartMode): string;
|
|
43
|
+
export declare enum ProjEnvProjectRunnable {
|
|
44
|
+
Unknown = -1,
|
|
45
|
+
Runnable = 0,
|
|
46
|
+
NotRunnable = 1
|
|
47
|
+
}
|
|
48
|
+
export declare const ProjEnvProjectFileSysStruct: Readonly<{
|
|
49
|
+
readonly BIN_REL_PATH: "bin/";
|
|
50
|
+
readonly SOURCE_REL_PATH: "source/";
|
|
51
|
+
readonly HELP_REL_PATH: "help/";
|
|
52
|
+
readonly MSG_REL_PATH: "msg/";
|
|
53
|
+
readonly CONFIG_REL_PATH: "config/";
|
|
54
|
+
readonly PICTURES_REL_PATH: "pictures/";
|
|
55
|
+
readonly PRINTERS_REL_PATH: "printers/";
|
|
56
|
+
readonly COLORDB_REL_PATH: "colorDB/";
|
|
57
|
+
readonly PANELS_REL_PATH: "panels/";
|
|
58
|
+
readonly IMAGES_REL_PATH: "images/";
|
|
59
|
+
readonly SCRIPTS_REL_PATH: "scripts/";
|
|
60
|
+
readonly LIBS_REL_PATH: "scripts/libs/";
|
|
61
|
+
readonly DATA_REL_PATH: "data/";
|
|
62
|
+
readonly DB_REL_PATH: "db/wincc_oa/";
|
|
63
|
+
readonly LOG_REL_PATH: "log/";
|
|
64
|
+
readonly DPLIST_REL_PATH: "dplist/";
|
|
65
|
+
readonly NLS_REL_PATH: "nls/";
|
|
66
|
+
readonly JAVASCRIPT_REL_PATH: "javascript/";
|
|
67
|
+
readonly PIXMAPS_REL_PATH: "pictures/";
|
|
68
|
+
readonly ICONS_REL_PATH: "pictures/";
|
|
69
|
+
readonly GIF_REL_PATH: "pictures/";
|
|
70
|
+
}>;
|
|
71
|
+
export type ProjEnvProjectFileSysStructKey = keyof typeof ProjEnvProjectFileSysStruct;
|
|
72
|
+
export type ProjEnvProjectFileSysStructValue = (typeof ProjEnvProjectFileSysStruct)[ProjEnvProjectFileSysStructKey];
|
|
73
|
+
//# sourceMappingURL=ProjEnv.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjEnv.d.ts","sourceRoot":"","sources":["../../../src/types/project/ProjEnv.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,oBAAY,mBAAmB;IAC3B,OAAO,KAAK;IACZ,IAAI,IAAI;IACR,QAAQ,IAAI;IACZ,UAAU,IAAI;IACd,QAAQ,IAAI;IACZ,UAAU,IAAI;CACjB;AAED,oBAAY,uBAAuB;IAC/B,OAAO,KAAK;IACZ,MAAM,IAAI;IACV,IAAI,IAAI;IACR,MAAM,IAAI;CACb;AAED,oBAAY,mBAAmB;IAC3B,OAAO,KAAK;IACZ,UAAU,IAAI;IACd,IAAI,IAAI;IACR,OAAO,IAAI;IACX,OAAO,IAAI;CACd;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,mBAAmB,GAAG,MAAM,CAe9E;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,mBAAmB,GAAG,MAAM,CAiB9E;AAED,MAAM,WAAW,kBAAkB;IAC/B,KAAK,EAAE,mBAAmB,CAAC;IAC3B,GAAG,EAAE,MAAM,CAAC;IACZ,SAAS,EAAE,uBAAuB,CAAC;IACnC,SAAS,EAAE,IAAI,CAAC;IAChB,aAAa,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,WAAW,qBAAqB;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,uBAAuB,CAAC;IACnC,YAAY,EAAE,MAAM,CAAC;IACrB,QAAQ,EAAE,MAAM,CAAC;IACjB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,YAAY,EAAE,MAAM,CAAC;CACxB;AAED,wBAAgB,iBAAiB,CAAC,IAAI,EAAE,uBAAuB,GAAG,MAAM,CAWvE;AAED,oBAAY,sBAAsB;IAC9B,OAAO,KAAK;IACZ,QAAQ,IAAI;IACZ,WAAW,IAAI;CAClB;AAED,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;EAsB7B,CAAC;AAEZ,MAAM,MAAM,8BAA8B,GAAG,MAAM,OAAO,2BAA2B,CAAC;AACtF,MAAM,MAAM,gCAAgC,GACxC,CAAC,OAAO,2BAA2B,CAAC,CAAC,8BAA8B,CAAC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { WinCCOAErrorHandler, WinCCOAErrorHandlerOptions } from '../logs/WinCCOAErrorHandler';
|
|
2
|
+
export declare class ProjEnvErrorHandler extends WinCCOAErrorHandler {
|
|
3
|
+
constructor(opts?: WinCCOAErrorHandlerOptions);
|
|
4
|
+
}
|
|
5
|
+
export default ProjEnvErrorHandler;
|
|
6
|
+
//# sourceMappingURL=ProjEnvErrorHandler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjEnvErrorHandler.d.ts","sourceRoot":"","sources":["../../../src/types/project/ProjEnvErrorHandler.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAE9F,qBAAa,mBAAoB,SAAQ,mBAAmB;gBAC5C,IAAI,CAAC,EAAE,0BAA0B;CAGhD;AAED,eAAe,mBAAmB,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import type { ProjEnvManagerInfo, ProjEnvProjectState } from './ProjEnv';
|
|
2
|
+
/**
|
|
3
|
+
* Enumeration of possible project running states as reported by PMON.
|
|
4
|
+
*/
|
|
5
|
+
export declare enum ProjEnvPmonStatus {
|
|
6
|
+
/** Status cannot be determined */
|
|
7
|
+
Unknown = "unknown",
|
|
8
|
+
/** Project is currently running with active managers */
|
|
9
|
+
Running = "running",
|
|
10
|
+
/** Project is configured but not currently running */
|
|
11
|
+
NotRunning = "not-running"
|
|
12
|
+
}
|
|
13
|
+
export declare class ProjEnvPmonProjectStatus {
|
|
14
|
+
managers: ProjEnvManagerInfo[];
|
|
15
|
+
project?: {
|
|
16
|
+
status: ProjEnvProjectState;
|
|
17
|
+
statusCode: number;
|
|
18
|
+
text: string;
|
|
19
|
+
emergency: boolean;
|
|
20
|
+
demo: boolean;
|
|
21
|
+
};
|
|
22
|
+
}
|
|
23
|
+
//# sourceMappingURL=ProjEnvPmonStatus.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ProjEnvPmonStatus.d.ts","sourceRoot":"","sources":["../../../src/types/project/ProjEnvPmonStatus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,mBAAmB,EAAE,MAAM,WAAW,CAAC;AAEzE;;GAEG;AACH,oBAAY,iBAAiB;IACzB,kCAAkC;IAClC,OAAO,YAAY;IAEnB,wDAAwD;IACxD,OAAO,YAAY;IAEnB,sDAAsD;IACtD,UAAU,gBAAgB;CAC7B;AAED,qBAAa,wBAAwB;IACjC,QAAQ,EAAE,kBAAkB,EAAE,CAAM;IACpC,OAAO,CAAC,EAAE;QACN,MAAM,EAAE,mBAAmB,CAAC;QAC5B,UAAU,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,SAAS,EAAE,OAAO,CAAC;QACnB,IAAI,EAAE,OAAO,CAAC;KACjB,CAAC;CACL"}
|