From d6deaf18b6a31c60124e7ed6d9f2563c026cfb13 Mon Sep 17 00:00:00 2001 From: Joshua Lucas Date: Wed, 4 Nov 2026 16:28:06 -0600 Subject: [PATCH] Change schema path to https location. --- extensions/aveva_historian/xlsx.yaml | 137 ++++++++++++++++++ extensions/kepserver/strings/caption_csv.yaml | 5 +- extensions/kepserver/strings/desc_csv.yaml | 5 +- extensions/kepserver/strings/message_csv.yaml | 5 +- extensions/kepserver/strings/tagname_csv.yaml | 5 +- extensions/kepserver/strings/unit_csv.yaml | 5 +- 6 files changed, 157 insertions(+), 5 deletions(-) create mode 100644 extensions/aveva_historian/xlsx.yaml diff --git a/extensions/aveva_historian/xlsx.yaml b/extensions/aveva_historian/xlsx.yaml new file mode 100644 index 0000000..f0b8a91 --- /dev/null +++ b/extensions/aveva_historian/xlsx.yaml @@ -0,0 +1,137 @@ +$schema: "\ + https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\ + main/src/AuDaGe/assets/schema.yaml + " +format: csv +import: + filter: + columns: + - name + - type + - address + columns: + Tag Name: + type: str + translate: + columns: name + operations: + # Replace any character that is not a letter, underscore, number, or + # square bracket with an underscore. + operation: replace + pattern: '[^\w\d\[\]]' + repl: _ + Address: + type: float + parse: + # Add a leading zero to one-digit bit addresses, e.g. 400001.1 -> + # 400001.01. + operation: replace + pattern: '\.(\d\"?,?)$' + repl: '.0\1' + translate: + columns: address + operations: + operation: address_iec_to_modbus + Data Type: + type: str + enum: + - Boolean + - Char + - Byte + - Short + - Word + - Long + - DWord + - LongLong + - QWord + - Float + - Double + - String + translate: + columns: type + operations: + operation: type_iec_to_opcua + Respect Data Type: + type: int + enum: + - 0 + - 1 + const: 1 + Client Access: + type: str + enum: + - R + - W + - R/W + const: R/W + Scan Rate: + type: int + const: 1000 + Scaling: + type: str + enum: + - "" + - Linear + - Square Root + const: "" + Raw Low: + type: float + const: nan + Raw High: + type: float + const: nan + Scaled Low: + type: float + const: nan + Scaled High: + type: float + const: nan + Scaled Data Type: + type: str + enum: + - Boolean + - Char + - Byte + - Short + - Word + - Long + - DWord + - LongLong + - QWord + - Float + - Double + - String + const: "" + Clamp Low: + type: float + const: nan + Clamp High: + type: float + const: nan + Eng Units: + type: str + const: "" + Description: + type: str + translate: + columns: comment + Negate Value: + type: str + const: nan +export: + tagname: + translate: + columns: Tag Name + type: + translate: + columns: Data Type + operations: + operation: type_opcua_to_iec + address: + translate: + columns: Address + operations: + operation: address_modbus_to_iec + comment: + translate: + columns: Description diff --git a/extensions/kepserver/strings/caption_csv.yaml b/extensions/kepserver/strings/caption_csv.yaml index 2071b6d..98f3b0f 100644 --- a/extensions/kepserver/strings/caption_csv.yaml +++ b/extensions/kepserver/strings/caption_csv.yaml @@ -1,4 +1,7 @@ -$schema: ../../../src/AuDage/extensions/assets/schema.yaml +$schema: "\ + https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\ + main/src/AuDaGe/assets/schema.yaml + " format: name: csv export: diff --git a/extensions/kepserver/strings/desc_csv.yaml b/extensions/kepserver/strings/desc_csv.yaml index 2071b6d..98f3b0f 100644 --- a/extensions/kepserver/strings/desc_csv.yaml +++ b/extensions/kepserver/strings/desc_csv.yaml @@ -1,4 +1,7 @@ -$schema: ../../../src/AuDage/extensions/assets/schema.yaml +$schema: "\ + https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\ + main/src/AuDaGe/assets/schema.yaml + " format: name: csv export: diff --git a/extensions/kepserver/strings/message_csv.yaml b/extensions/kepserver/strings/message_csv.yaml index 27d131a..9ca5160 100644 --- a/extensions/kepserver/strings/message_csv.yaml +++ b/extensions/kepserver/strings/message_csv.yaml @@ -1,4 +1,7 @@ -$schema: ../../../src/AuDage/extensions/assets/schema.yaml +$schema: "\ + https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\ + main/src/AuDaGe/assets/schema.yaml + " format: name: csv export: diff --git a/extensions/kepserver/strings/tagname_csv.yaml b/extensions/kepserver/strings/tagname_csv.yaml index 2071b6d..98f3b0f 100644 --- a/extensions/kepserver/strings/tagname_csv.yaml +++ b/extensions/kepserver/strings/tagname_csv.yaml @@ -1,4 +1,7 @@ -$schema: ../../../src/AuDage/extensions/assets/schema.yaml +$schema: "\ + https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\ + main/src/AuDaGe/assets/schema.yaml + " format: name: csv export: diff --git a/extensions/kepserver/strings/unit_csv.yaml b/extensions/kepserver/strings/unit_csv.yaml index 33198c3..1e5f935 100644 --- a/extensions/kepserver/strings/unit_csv.yaml +++ b/extensions/kepserver/strings/unit_csv.yaml @@ -1,4 +1,7 @@ -$schema: ../../../src/AuDage/extensions/assets/schema.yaml +$schema: "\ + https://primegit.primecontrols-dev.com/j.lucas/AuDaGe/raw/branch/\ + main/src/AuDaGe/assets/schema.yaml + " format: name: csv export: