namespace ZB.MOM.WW.MxGateway.Contracts; /// Names of environment variables shared by the gateway worker launcher and worker process. public static class WorkerLaunchEnvironment { /// Bootstrap nonce used to authenticate the worker handshake. public const string WorkerNonce = "MXGATEWAY_WORKER_NONCE"; /// Per-attempt named-pipe connection timeout in milliseconds. public const string PipeConnectAttemptTimeoutMilliseconds = "MXGATEWAY_WORKER_PIPE_CONNECT_ATTEMPT_TIMEOUT_MS"; /// Bounded wait for a Write/Write2/WriteSecured/WriteSecured2 completion callback in milliseconds. public const string WriteCompletionWaitMilliseconds = "MXGATEWAY_WORKER_WRITE_COMPLETION_WAIT_MS"; /// Capacity of the worker's outbound MXAccess event queue. public const string EventQueueCapacity = "MXGATEWAY_EVENT_QUEUE_CAPACITY"; /// Worker alarm polling cadence in milliseconds. public const string AlarmPollIntervalMilliseconds = "MXGATEWAY_ALARM_POLL_INTERVAL_MS"; /// Maximum alarm records requested in one current-alarm fetch. public const string MaxAlarmsPerFetch = "MXGATEWAY_ALARM_MAX_ALARMS_PER_FETCH"; /// /// MXAccess client name the worker's alarm-ack writer registers with. The /// Historian records it as the acknowledgement's OperatorNode. /// public const string AlarmAckClientName = "MXGATEWAY_ALARM_ACK_CLIENT_NAME"; }