diff --git a/docs/classes/AbstractService.html b/docs/classes/AbstractService.html index 06f0c6e..0b4f255 100644 --- a/docs/classes/AbstractService.html +++ b/docs/classes/AbstractService.html @@ -29,7 +29,7 @@

Hierarchy

  • GetStateService
  • UsrcfgCgiService
  • +
  • Defined in abstract-service.ts:59
  • @@ -78,14 +78,14 @@
    logger: Returns AbstractService
    +
  • Defined in abstract-service.ts:112
  • Properties

    +
  • Defined in abstract-service.ts:60
  • _endpoint: string
    @@ -95,7 +95,7 @@
    +
  • Defined in abstract-service.ts:68
  • _method: Method
    @@ -107,7 +107,7 @@
    +
  • Defined in abstract-service.ts:89
  • _requestHeaders: {
        [key: string]: string;
    }
    @@ -123,7 +123,7 @@

    Type declaration

    [key: string]: string
    +
  • Defined in abstract-service.ts:99
  • log: ILogger
    @@ -131,7 +131,7 @@
    +
  • Defined in abstract-service.ts:104
  • Accessors

    @@ -144,7 +144,7 @@
    +
  • Defined in abstract-service.ts:164
  • +
  • Defined in abstract-service.ts:123
    • @@ -170,7 +170,7 @@

      Returns stringThrows

      TypeError [ERR_INVALID_URL]: Invalid URL

    +
  • Defined in abstract-service.ts:141
  • +
  • Defined in abstract-service.ts:60
  • _endpoint: string = '/Command.htm'
    @@ -104,7 +104,7 @@
    +
  • Defined in command.service.ts:31
  • _method: Method = 'get'
    @@ -114,7 +114,7 @@
    +
  • Defined in command.service.ts:37
  • _requestHeaders: {
        [key: string]: string;
    }
    @@ -131,7 +131,7 @@
    [
    +
  • Defined in abstract-service.ts:99
  • log: ILogger
    @@ -140,7 +140,7 @@
    +
  • Defined in abstract-service.ts:104
  • Accessors

    @@ -154,7 +154,7 @@

    Returns AxiosReq

    +
  • Defined in abstract-service.ts:164
  • +
  • Defined in abstract-service.ts:123
    • @@ -182,7 +182,7 @@

      Throws

      TypeError [ERR_INVALID_URL]: Invalid URL

    +
  • Defined in abstract-service.ts:141
  • Methods

    @@ -199,7 +199,7 @@
    dosageTarget: dosageDuration: number

    Returns Promise<number>

    +
  • Defined in command.service.ts:84
  • Returns AxiosPromise

    +
  • Defined in command.service.ts:106
  • +
  • Defined in command.service.ts:44
  • +
  • Defined in command.service.ts:72
  • +
  • Defined in command.service.ts:53
  • +
  • Defined in command.service.ts:62
  • +
  • Defined in get-state-data.ts:129
  • parsed: string[][]
    @@ -121,7 +121,7 @@
    +
  • Defined in get-state-data.ts:114
  • raw: string
    @@ -129,7 +129,7 @@
    +
  • Defined in get-state-data.ts:95
  • @@ -139,7 +139,7 @@
    +
  • Defined in get-state-data.ts:122
  • categories: IGetStateCategories = ...
    @@ -153,7 +153,7 @@
    +
  • Defined in get-state-data.ts:149
  • Methods

    @@ -175,7 +175,7 @@

    Returns string

    +
  • Defined in get-state-data.ts:247
  • +
  • Defined in get-state-data.ts:312
  • +
  • Defined in get-state-data.ts:291
  • +
  • Defined in get-state-data.ts:274
  • +
  • Defined in get-state-data.ts:263
  • +
  • Defined in get-state-data.ts:284
  • +
  • Defined in get-state-data.ts:319
  • +
  • Defined in get-state-data.ts:298
  • +
  • Defined in get-state-data.ts:326
  • +
  • Defined in get-state-data.ts:305
  • +
  • Defined in get-state-data.ts:333
  • +
  • Defined in get-state-data.ts:347
  • +
  • Defined in get-state-data-object.ts:52
  • gain: number
    @@ -149,7 +149,7 @@
    +
  • Defined in get-state-data-object.ts:42
  • id: number
    @@ -157,7 +157,7 @@
    +
  • Defined in get-state-data-object.ts:22
  • label: string
    @@ -165,7 +165,7 @@
    +
  • Defined in get-state-data-object.ts:27
  • offset: number
    @@ -173,7 +173,7 @@
    +
  • Defined in get-state-data-object.ts:37
  • raw: number
    @@ -181,7 +181,7 @@
    +
  • Defined in get-state-data-object.ts:32
  • unit: string
    @@ -189,7 +189,7 @@
    +
  • Defined in get-state-data-object.ts:57
  • value: string | number
    @@ -197,7 +197,7 @@
    +
  • Defined in get-state-data-object.ts:47
  • Methods

    @@ -229,7 +229,7 @@

    Returns anyReturns void

    +
  • Defined in get-state-data-object.ts:154
  • +
  • Defined in get-state-data-object.ts:106
  • +
  • Defined in get-state-data-sys-info.ts:97
  • ntpFaultState: number
    @@ -155,7 +155,7 @@
    +
  • Defined in get-state-data-sys-info.ts:63
  • phMinusDosageRelay: number
    @@ -163,7 +163,7 @@
    +
  • Defined in get-state-data-sys-info.ts:107
  • phPlusDosageRelay: number
    @@ -171,7 +171,7 @@
    +
  • Defined in get-state-data-sys-info.ts:102
  • resetRootCause: number
    @@ -188,13 +188,13 @@
    +
  • Defined in get-state-data-sys-info.ts:49
  • time: string
    +
  • Defined in get-state-data-sys-info.ts:25
  • uptime: number
    @@ -202,7 +202,7 @@
    +
  • Defined in get-state-data-sys-info.ts:30
  • version: string
    @@ -210,7 +210,7 @@
    +
  • Defined in get-state-data-sys-info.ts:35
  • Methods

    @@ -234,7 +234,7 @@
    object: Returns number
    +
  • Defined in get-state-data-sys-info.ts:215
  • +
  • Defined in get-state-data-sys-info.ts:234
  • +
  • Defined in get-state-data-sys-info.ts:160
  • +
  • Defined in get-state-data-sys-info.ts:256
  • +
  • Defined in get-state-data-sys-info.ts:191
  • +
  • Defined in get-state-data-sys-info.ts:167
  • +
  • Defined in get-state-data-sys-info.ts:241
  • +
  • Defined in get-state-data-sys-info.ts:249
  • +
  • Defined in get-state-data-sys-info.ts:174
  • +
  • Defined in get-state-data-sys-info.ts:181
  • +
  • Defined in get-state-data-sys-info.ts:132
  • +
  • Defined in get-state-data-sys-info.ts:148
  • +
  • Defined in abstract-service.ts:60
  • _endpoint: string = '/GetState.csv'
    @@ -110,7 +110,7 @@
    +
  • Defined in get-state.service.ts:38
  • _method: Method = 'get'
    @@ -120,7 +120,7 @@
    +
  • Defined in get-state.service.ts:44
  • _requestHeaders: {
        [key: string]: string;
    }
    @@ -137,7 +137,7 @@
    [
    +
  • Defined in abstract-service.ts:99
  • _updateCallback?: ((data) => any)
    @@ -159,7 +159,7 @@
    data: Returns any
    +
  • Defined in get-state.service.ts:72
  • _updateInterval: number
    @@ -168,7 +168,7 @@
    +
  • Defined in get-state.service.ts:66
  • @@ -176,7 +176,7 @@
    +
  • Defined in get-state.service.ts:49
  • log: ILogger
    @@ -185,7 +185,7 @@
    +
  • Defined in abstract-service.ts:104
  • Accessors

    @@ -199,7 +199,7 @@

    Returns AxiosReq

    +
  • Defined in abstract-service.ts:164
  • +
  • Defined in abstract-service.ts:123
    • @@ -227,7 +227,7 @@

      Throws

      TypeError [ERR_INVALID_URL]: Invalid URL

    +
  • Defined in abstract-service.ts:141
  • Methods

    @@ -243,7 +243,7 @@
    +
  • Defined in get-state.service.ts:186
  • +
  • Defined in get-state.service.ts:255
  • +
  • Defined in get-state.service.ts:119
  • +
  • Defined in get-state.service.ts:267
  • +
  • Defined in get-state.service.ts:135
  • +
  • Defined in get-state.service.ts:128
  • +
  • Defined in get-state.service.ts:154
  • +
  • Defined in get-state.service.ts:174
  • +
  • Defined in get-state.service.ts:209
  • +
  • Defined in logger.ts:93
    • @@ -130,7 +130,7 @@

      Returns void

    +
  • Defined in logger.ts:126
  • +
  • Defined in logger.ts:104
  • +
  • Defined in logger.ts:84
  • +
  • Defined in logger.ts:115
  • +
  • Defined in get-state-data-object.ts:77
  • category: string
    @@ -103,7 +103,7 @@
    +
  • Defined in get-state-data-object.ts:62
  • categoryId: number
    @@ -114,7 +114,7 @@
    +
  • Defined in get-state-data-object.ts:70
  • displayValue: string
    @@ -123,7 +123,7 @@
    +
  • Defined in get-state-data-object.ts:52
  • gain: number
    @@ -132,7 +132,7 @@
    +
  • Defined in get-state-data-object.ts:42
  • id: number
    @@ -141,7 +141,7 @@
    +
  • Defined in get-state-data-object.ts:22
  • label: string
    @@ -150,7 +150,7 @@
    +
  • Defined in get-state-data-object.ts:27
  • offset: number
    @@ -159,7 +159,7 @@
    +
  • Defined in get-state-data-object.ts:37
  • raw: number
    @@ -168,7 +168,7 @@
    +
  • Defined in get-state-data-object.ts:32
  • unit: string
    @@ -177,7 +177,7 @@
    +
  • Defined in get-state-data-object.ts:57
  • value: string | number
    @@ -186,7 +186,7 @@
    +
  • Defined in get-state-data-object.ts:47
  • Accessors

    @@ -208,7 +208,7 @@
    +
  • Defined in relay-data-object.ts:41
  • Methods

    @@ -241,7 +241,7 @@

    Returns void

    +
  • Defined in get-state-data-object.ts:154
  • +
  • Defined in get-state-data-object.ts:106
  • +
  • Defined in abstract-service.ts:60
  • _endpoint: string = '/usrcfg.cgi'
    @@ -122,7 +122,7 @@
    +
  • Defined in usrcfg-cgi.service.ts:42
  • _method: Method = 'post'
    @@ -132,7 +132,7 @@
    +
  • Defined in usrcfg-cgi.service.ts:48
  • _requestHeaders: {
        [key: string]: string;
    }
    @@ -149,12 +149,12 @@
    [
    +
  • Defined in abstract-service.ts:99
  • getStateService: GetStateService
    +
  • Defined in usrcfg-cgi.service.ts:52
  • log: ILogger
    @@ -163,17 +163,17 @@
    +
  • Defined in abstract-service.ts:104
  • relayDataInterpreter: RelayDataInterpreter
    +
  • Defined in usrcfg-cgi.service.ts:54
  • stateData: GetStateData
    +
  • Defined in usrcfg-cgi.service.ts:50
  • Accessors

    @@ -187,7 +187,7 @@

    Returns AxiosReq

    +
  • Defined in abstract-service.ts:164
  • +
  • Defined in abstract-service.ts:123
    • @@ -215,7 +215,7 @@

      Throws

      TypeError [ERR_INVALID_URL]: Invalid URL

    +
  • Defined in abstract-service.ts:141
  • Methods

    @@ -232,7 +232,7 @@
    relay: state: number

    Returns Promise<number>

    +
  • Defined in usrcfg-cgi.service.ts:126
    • @@ -245,7 +245,7 @@

      Parameters

      bitTupel: [number, number]

    Returns AxiosPromise

    +
  • Defined in usrcfg-cgi.service.ts:175
  • +
  • Defined in usrcfg-cgi.service.ts:101
  • +
  • Defined in usrcfg-cgi.service.ts:92
  • +
  • Defined in usrcfg-cgi.service.ts:83
  • +
  • Defined in usrcfg-cgi.service.ts:111
  • +
  • Defined in command.service.ts:15
  • @@ -40,17 +40,17 @@

    Enumeration Members

    CHLORINE: 0
    +
  • Defined in command.service.ts:16
  • PH_MINUS: 1
    +
  • Defined in command.service.ts:17
  • PH_PLUS: 2
    +
  • Defined in command.service.ts:18
  • +
  • Defined in get-state-data.ts:21
  • @@ -50,7 +50,7 @@
    +
  • Defined in get-state-data.ts:31
  • CANISTER: "canister"
    @@ -58,7 +58,7 @@
    +
  • Defined in get-state-data.ts:61
  • CANISTER_CONSUMPTION: "canisterConsumptions"
    @@ -66,7 +66,7 @@
    +
  • Defined in get-state-data.ts:66
  • DIGITAL_INPUT: "digitalInput"
    @@ -74,7 +74,7 @@
    +
  • Defined in get-state-data.ts:51
  • ELECTRODES: "electrodes"
    @@ -82,7 +82,7 @@
    +
  • Defined in get-state-data.ts:36
  • EXTERNAL_RELAYS: "externalRelays"
    @@ -90,7 +90,7 @@
    +
  • Defined in get-state-data.ts:56
  • RELAYS: "relays"
    @@ -98,7 +98,7 @@
    +
  • Defined in get-state-data.ts:46
  • TEMPERATURES: "temperatures"
    @@ -106,7 +106,7 @@
    +
  • Defined in get-state-data.ts:41
  • TIME: "time"
    @@ -115,7 +115,7 @@
    +
  • Defined in get-state-data.ts:26
  • +
  • Defined in logger.ts:14
  • +
  • Defined in relay-data-interpreter.ts:19
  • @@ -42,12 +42,12 @@

    Enumeration Members

    manual: 2
    +
  • Defined in relay-data-interpreter.ts:21
  • on: 1
    +
  • Defined in relay-data-interpreter.ts:20
  • +
  • Defined in usrcfg-cgi.service.ts:21
  • @@ -40,17 +40,17 @@

    Enumeration Members

    AUTO: 2
    +
  • Defined in usrcfg-cgi.service.ts:24
  • OFF: 0
    +
  • Defined in usrcfg-cgi.service.ts:22
  • ON: 1
    +
  • Defined in usrcfg-cgi.service.ts:23
  • Add CommandService for manual dosage control.
  • Release v1.5.4

      -
    • Dependency Updates
    • +
    • Dependency updates

    Release v1.5.3

      -
    • Dependency Updates
    • +
    • Dependency updates

    Release v1.5.2

      -
    • Dependency Updates
    • +
    • Dependency updates

    Release v1.5.1

      -
    • Dependency Updates
    • +
    • Dependency updates

    Release v1.5.0

    canister: number[]
    +
  • Defined in get-state-data.ts:77
  • canisterConsumptions: number[]
    +
  • Defined in get-state-data.ts:78
  • digitalInput: number[]
    +
  • Defined in get-state-data.ts:75
  • electrodes: number[]
    +
  • Defined in get-state-data.ts:72
  • externalRelays: number[]
    +
  • Defined in get-state-data.ts:76
  • relays: number[]
    +
  • Defined in get-state-data.ts:74
  • temperatures: number[]
    +
  • Defined in get-state-data.ts:73
  • time: number[]
    +
  • Defined in get-state-data.ts:70
  • +
  • Defined in abstract-service.ts:24
  • errorTolerance: number
    @@ -74,7 +74,7 @@
    +
  • Defined in get-state.service.ts:25
  • password?: string
    @@ -83,7 +83,7 @@
    +
  • Defined in abstract-service.ts:34
  • requestHeaders?: {
        [key: string]: string;
    }
    @@ -94,7 +94,7 @@

    Type declaration

    [key: string]: string
    +
  • Defined in abstract-service.ts:17
  • timeout: number
    @@ -103,7 +103,7 @@
    +
  • Defined in abstract-service.ts:44
  • updateInterval: number
    @@ -111,7 +111,7 @@
    +
  • Defined in get-state.service.ts:20
  • username?: string
    @@ -120,7 +120,7 @@
    +
  • Defined in abstract-service.ts:29
  • +
  • Defined in abstract-service.ts:17
  • timeout: number
    @@ -86,7 +86,7 @@
    +
  • Defined in abstract-service.ts:44
  • username?: string
    @@ -94,7 +94,7 @@
    +
  • Defined in abstract-service.ts:29
  • +
  • Defined in mock-state.ts:13