node-opcua-data-access 2.53.0 → 2.56.2

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/.mocharc.yml CHANGED
@@ -1,10 +1,10 @@
1
- require:
2
- - ../../node_modules/source-map-support/register
3
- - ../../node_modules/ts-node/register
4
- - ../../node_modules/should
5
- timeout: 30000
6
- extension:
7
- - ts
8
- - js
9
- bail: true
10
- parallel: false
1
+ require:
2
+ - ../../node_modules/source-map-support/register
3
+ - ../../node_modules/ts-node/register
4
+ - ../../node_modules/should
5
+ timeout: 30000
6
+ extension:
7
+ - ts
8
+ - js
9
+ bail: true
10
+ parallel: false
package/LICENSE CHANGED
@@ -1,20 +1,20 @@
1
- The MIT License (MIT)
2
-
3
- Copyright (c) 2014-2021 Etienne Rossignon
4
-
5
- Permission is hereby granted, free of charge, to any person obtaining a copy of
6
- this software and associated documentation files (the "Software"), to deal in
7
- the Software without restriction, including without limitation the rights to
8
- use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
- the Software, and to permit persons to whom the Software is furnished to do so,
10
- subject to the following conditions:
11
-
12
- The above copyright notice and this permission notice shall be included in all
13
- copies or substantial portions of the Software.
14
-
15
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
- FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
- COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
- IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
- CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2014-2021 Etienne Rossignon
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy of
6
+ this software and associated documentation files (the "Software"), to deal in
7
+ the Software without restriction, including without limitation the rights to
8
+ use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9
+ the Software, and to permit persons to whom the Software is furnished to do so,
10
+ subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17
+ FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18
+ COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19
+ IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20
+ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -155,7 +155,7 @@ exports.standardUnits = {
155
155
  terabyte: makeEUInformation("E35", "Tbyte", "terabyte = A unit of information equal to 10¹² bytes."),
156
156
  minute: makeEUInformation("MIN", "min", " minute (unit of time) 1min = 60 s"),
157
157
  minute_angle: makeEUInformation("D61", "'", "minute [unit of angle]"),
158
- part_per_million: makeEUInformation("59", "ppm", "A unit of proportion equal to 10⁻⁶."),
158
+ part_per_million: makeEUInformation("59", "ppm", "A unit of proportion equal to 10⁻⁶.")
159
159
  // to be continued
160
160
  };
161
161
  //# sourceMappingURL=EUInformation.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"EUInformation.js","sourceRoot":"","sources":["../source/EUInformation.ts"],"names":[],"mappings":";;;AAAA;;GAEG;AACH,qDAAiD;AAAxC,iHAAA,aAAa,OAAA;AACtB,yBAAyB;AACzB,4BAA4B;AAE5B,kBAAkB;AAClB,4GAA4G;AAC5G,yCAAyC;AACzC,uGAAuG;AAC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CAAC,IAAI,EAAE,KAAK,EAAE,yBAAyB,CAAC;IACxE,kBAAkB,EAAE,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,oBAAoB,CAAC;IACzE,mBAAmB,EAAE,iBAAiB,CAClC,KAAK,EACL,QAAQ,EACR,8FAA8F,CACjG;IACD,OAAO,EAAE,iBAAiB,CAAC,IAAI,EAAE,GAAG,EAAE,+CAA+C,CAAC;IACtF,KAAK,EAAE,iBAAiB,CAAC,KAAK,EAAE,EAAE,EAAE,8EAA8E,CAAC;IACnH,IAAI,EAAE,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,CAAC;IAE3C,IAAI,EAAE,iBAAiB,CAAC,IAAI,EAAE,MAAM,EAAE,+CAA+C,CAAC;IACtF,QAAQ,EAAE,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,6DAA6D,CAAC;IACzG,QAAQ,EAAE,iBAAiB,CAAC,IAAI,EAAE,OAAO,EAAE,gEAAgE,CAAC;IAC5G,QAAQ,EAAE,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,sDAAsD,CAAC;IACnG,QAAQ,EAAE,iBAAiB,CAAC,KAAK,EAAE,OAAO,EAAE,uDAAuD,CAAC;IACpG,MAAM,EAAE,iBAAiB,CAAC,KAAK,EAAE,KAAK,EAAE,oCAAoC,CAAC;IAC7E,YAAY,EAAE,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,wBAAwB,CAAC;IACrE,gBAAgB,EAAE,iBAAiB,CAAC,IAAI,EAAE,KAAK,EAAE,qCAAqC,CAAC;IACvF,kBAAkB;CACrB,CAAC"}
package/fragment.yml CHANGED
@@ -1,32 +1,32 @@
1
- AxisInformation:
2
- engineeringUnits: >
3
- EngineeringUnit Holds the information about the engineering units for a given axis.
4
- euRange: >
5
- Range Limits of the range of the axis
6
- title: >
7
- LocalizedText User readable axis title, useful when the units are %, the Title may be “Particle size distribution"
8
- axisScaleType: >
9
- AxisScaleEnumeration LINEAR, LOG, LN, defined by AxisSteps
10
- axisSteps: >
11
- Double[] Specific value of each axis steps, may be set to “Null” if not used
12
-
13
- EngineeringUnit:
14
- document: >
15
- Units of measurement for AnalogItems that represent continuously- variable physical quantities ( e.g.,
16
- length, mass , time, temperature )
17
- NOTE This standard defines Properties to inform about the unit used for the DataItem
18
- value and about the highest and lowest value likely to be obtained in normal operation
19
-
20
- fields:
21
- namespaceUri: >
22
- Identifies the organization (company, standards organization) that defines the EUInformation.
23
-
24
- unitId: >
25
- Identifier for programmatic evaluation. −1 is used if a unitId is not available.
26
- The displayName of the engineering unit is typically the abbreviation of the
27
- engineering unit, for example ”h” for hour or ”m/s” for meter per second." +
28
- description: >
29
- Contains the full name of the engineering unit such as ”hour” or ”meter per second"
30
- displayName: >
31
- The displayName of the engineering ( for instance 'm/s' )"
32
-
1
+ AxisInformation:
2
+ engineeringUnits: >
3
+ EngineeringUnit Holds the information about the engineering units for a given axis.
4
+ euRange: >
5
+ Range Limits of the range of the axis
6
+ title: >
7
+ LocalizedText User readable axis title, useful when the units are %, the Title may be “Particle size distribution"
8
+ axisScaleType: >
9
+ AxisScaleEnumeration LINEAR, LOG, LN, defined by AxisSteps
10
+ axisSteps: >
11
+ Double[] Specific value of each axis steps, may be set to “Null” if not used
12
+
13
+ EngineeringUnit:
14
+ document: >
15
+ Units of measurement for AnalogItems that represent continuously- variable physical quantities ( e.g.,
16
+ length, mass , time, temperature )
17
+ NOTE This standard defines Properties to inform about the unit used for the DataItem
18
+ value and about the highest and lowest value likely to be obtained in normal operation
19
+
20
+ fields:
21
+ namespaceUri: >
22
+ Identifies the organization (company, standards organization) that defines the EUInformation.
23
+
24
+ unitId: >
25
+ Identifier for programmatic evaluation. −1 is used if a unitId is not available.
26
+ The displayName of the engineering unit is typically the abbreviation of the
27
+ engineering unit, for example ”h” for hour or ”m/s” for meter per second." +
28
+ description: >
29
+ Contains the full name of the engineering unit such as ”hour” or ”meter per second"
30
+ displayName: >
31
+ The displayName of the engineering ( for instance 'm/s' )"
32
+
package/package.json CHANGED
@@ -2,22 +2,23 @@
2
2
  "name": "node-opcua-data-access",
3
3
  "main": "./dist/index.js",
4
4
  "types": "./dist/index.d.ts",
5
- "version": "2.53.0",
5
+ "version": "2.56.2",
6
6
  "description": "pure nodejs OPCUA SDK - module -data-access",
7
7
  "scripts": {
8
8
  "build": "tsc -b",
9
9
  "test": "mocha",
10
10
  "clean": "node -e \"require('rimraf').sync('dist');\"",
11
- "lint": "eslint source/**/*.ts"
11
+ "lint": "eslint source test",
12
+ "format": "prettier --write source test"
12
13
  },
13
14
  "dependencies": {
14
- "node-opcua-assert": "2.52.0",
15
- "node-opcua-basic-types": "2.53.0",
16
- "node-opcua-binary-stream": "2.52.0",
17
- "node-opcua-data-model": "2.53.0",
18
- "node-opcua-factory": "2.53.0",
19
- "node-opcua-nodeid": "2.53.0",
20
- "node-opcua-types": "2.53.0"
15
+ "node-opcua-assert": "2.55.0",
16
+ "node-opcua-basic-types": "2.56.0",
17
+ "node-opcua-binary-stream": "2.55.0",
18
+ "node-opcua-data-model": "2.56.0",
19
+ "node-opcua-factory": "2.56.0",
20
+ "node-opcua-nodeid": "2.55.0",
21
+ "node-opcua-types": "2.56.2"
21
22
  },
22
23
  "devDependencies": {
23
24
  "should": "^13.2.3"
@@ -37,5 +38,5 @@
37
38
  "internet of things"
38
39
  ],
39
40
  "homepage": "http://node-opcua.github.io/",
40
- "gitHead": "f7da55bc8e581496b85970a6cee1a1e707f76c29"
41
+ "gitHead": "45dbf2f65d96a91fae6e884bb5006af4249cf1fa"
41
42
  }
@@ -70,7 +70,7 @@ export function commonCodeToUInt(code: string): number {
70
70
  return unitId;
71
71
  }
72
72
 
73
- export function makeEUInformation(symbol: string, shortName: string, longName: string) {
73
+ export function makeEUInformation(symbol: string, shortName: string, longName: string): EUInformation {
74
74
  return new EUInformation({
75
75
  description: { text: longName },
76
76
  displayName: { text: shortName },
@@ -219,7 +219,11 @@ export const standardUnits: StandardUnits = {
219
219
  millipascal: makeEUInformation("74", "mPa", "1 millipascal = 10⁻³ Pa"),
220
220
  kilobecquerel: makeEUInformation("2Q", "kBq", "kilo becquerel = 1E3 Bq"),
221
221
  mega_electron_volt: makeEUInformation("B71", "MeV", "mega electron volt"),
222
- megawatt_per_minute: makeEUInformation("Q35", "MW/min", "A unit of power defining the total amount of bulk energy transferred or consumer per minute."),
222
+ megawatt_per_minute: makeEUInformation(
223
+ "Q35",
224
+ "MW/min",
225
+ "A unit of power defining the total amount of bulk energy transferred or consumer per minute."
226
+ ),
223
227
  percent: makeEUInformation("P1", "%", "Percent, a unit of proportion equal to 0.01. "),
224
228
  pixel: makeEUInformation("E37", "", "pixel: unit of count defining the number of pixels (pixel: picture element)"),
225
229
  volt: makeEUInformation("VLT", "V", "Volt"),
@@ -231,6 +235,6 @@ export const standardUnits: StandardUnits = {
231
235
  terabyte: makeEUInformation("E35", "Tbyte", "terabyte = A unit of information equal to 10¹² bytes."),
232
236
  minute: makeEUInformation("MIN", "min", " minute (unit of time) 1min = 60 s"),
233
237
  minute_angle: makeEUInformation("D61", "'", "minute [unit of angle]"),
234
- part_per_million: makeEUInformation("59", "ppm", "A unit of proportion equal to 10⁻⁶."),
238
+ part_per_million: makeEUInformation("59", "ppm", "A unit of proportion equal to 10⁻⁶.")
235
239
  // to be continued
236
240
  };
package/source/Range.ts CHANGED
@@ -1,4 +1,4 @@
1
- /**
2
- * @module node-opcua-data-access
3
- */
4
- export { Range } from "node-opcua-types";
1
+ /**
2
+ * @module node-opcua-data-access
3
+ */
4
+ export { Range } from "node-opcua-types";
package/source/imports.ts CHANGED
@@ -1,5 +1,5 @@
1
- /**
2
- * @module node-opcua-data-access
3
- */
4
- export { LocalizedText } from "node-opcua-data-model";
5
- export * from "./Range";
1
+ /**
2
+ * @module node-opcua-data-access
3
+ */
4
+ export { LocalizedText } from "node-opcua-data-model";
5
+ export * from "./Range";
package/source/index.ts CHANGED
@@ -1,6 +1,6 @@
1
- /**
2
- * @module node-opcua-data-access
3
- */
4
- export * from "./Range";
5
- export * from "./EUInformation";
6
- export { AxisInformation, AxisScaleEnumeration } from "node-opcua-types";
1
+ /**
2
+ * @module node-opcua-data-access
3
+ */
4
+ export * from "./Range";
5
+ export * from "./EUInformation";
6
+ export { AxisInformation, AxisScaleEnumeration } from "node-opcua-types";