import type { UAProperty } from "node-opcua-address-space-base"; import type { UABaseInterface, UABaseInterface_Base } from "node-opcua-nodeset-ua/dist/ua_base_interface.js"; import type { DataType } from "node-opcua-variant"; // ----- this file has been automatically generated - do not edit /** * Interface defining counters for the duration of * operation * * | | | * |----------------|------------------------------------------------------------| * |namespace |http://opcfoundation.org/UA/DI/ | * |nodeClass |ObjectType | * |typedDefinition |IOperationCounterType i=480 | * |isAbstract |true | */ export interface UAIOperationCounter_Base extends UABaseInterface_Base { /** * powerOnDuration * PowerOnDuration is the duration the Device has * been powered. The main purpose is to determine * the time in which degradation of the Device * occurred. The details, when the time is counted, * is implementation-specific. Companion * specifications can define specific rules. * Typically, when the Device has supply voltage and * the main CPU is running, the time is counted. * This can include any kind of sleep mode, but * cannot include pure Wake on LAN. This value shall * only increase during the lifetime of the Device * and shall not be reset when the Device is * restarted. The PowerOnDuration is provided as * Duration, i.e., in milliseconds or even fractions * of a millisecond. However, the Server is not * expected to update the value in such a high * frequency, but possibly once a minute or once an * hour, depending on the application. */ powerOnDuration?: UAProperty; /** * operationDuration * OperationDuration is the duration the Device has * been powered and performing an activity. This * counter is intended for Devices where a * distinction is made between switched on and in * operation. For example, a drive can be powered on * but not operating. It is not intended for Devices * always performing an activity like sensors always * measuring data. This value shall only increase * during the lifetime of the Device and shall not * be reset when the Device is restarted. The * OperationDuration is provided as Duration, i.e., * in milliseconds or even fractions of a * millisecond. However, the Server is not expected * to update the value in such a high frequency, but * possibly once a minute or once an hour, depending * on the application. */ operationDuration?: UAProperty; /** * operationCycleCounter * OperationCycleCounter is counting the times the * Device switches from not performing an activity * to performing an activity. For example, each time * a valve starts moving, is counted. This value * shall only increase during the lifetime of the * Device and shall not be reset when the Device is * restarted. */ operationCycleCounter?: UAProperty; } export interface UAIOperationCounter extends UABaseInterface, UAIOperationCounter_Base {}