32f26272ae
Five tools under one repo, all docs organized per DOCS-GUIDE.md: - aalogcli: .NET 4.8 / x86 CliFx CLI for reading System Platform binary logs (*.aaLGX) for LLM debugging, built on aaOpenSource/aaLog. Commands: last, tail, range, unread, fields. Stable JSON envelope under --llm-json. Build template under lib/build/ for rebuilding aaLogReader.dll. - aot: ArchestrA Object Toolkit 2014 v4.0 reference material. Dev guide (Markdown converted from CHM), API reference for the ArchestrA.Toolkit namespace, and the Monitor / Watchdog VS sample solutions. - graccesscli: .NET 4.8 / x86 CliFx CLI that automates Galaxy configuration via the ArchestrA GRAccess COM interop. Includes session daemon, IPC protocol, and llm-json envelope contract. - grdb: SQL/DDL exploration of the Galaxy Repository database. DDL captures, reusable queries, hierarchy / contained-name <-> tag-name translation notes. - histdb: LLM-oriented reference for AVEVA Historian retrieval. INSQL linked-server, extension tables, every wwXxx time-domain extension, every retrieval mode, alarm/event SQL recipes, REST API. Distilled from the 243-page Historian Retrieval Guide. Root contains: - CLAUDE.md: thin index pointing into each tool's README. - DOCS-GUIDE.md: doctrine for organizing docs for LLM consumption. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
172 lines
2.7 KiB
Markdown
172 lines
2.7 KiB
Markdown
# CMxVariantArray Class
|
|
|
|
Namespace: `ArchestrA.Toolkit`
|
|
|
|
CMxVariantArray is derived from CMxArray and provides support for Variant Array Attributes.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public class CMxVariantArray : CMxArray<CMxValue)
|
|
```
|
|
|
|
## CMxVariantArray Properties
|
|
|
|
### Value Property
|
|
|
|
Provides a property to get and set the value as a CMxValue array.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxValue [] Value { get; set; }
|
|
```
|
|
|
|
**Returns**
|
|
|
|
CMxValue [ ]
|
|
|
|
### Property to Get and Set the CMxValue Value using the [ ] Operator
|
|
|
|
Provides a property to get and set the CMxValue of an element using [ ] operator.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxValue this[short i] { get; set; }
|
|
```
|
|
|
|
**Returns**
|
|
|
|
CMxValue
|
|
|
|
## CMxVariantArray Constructors
|
|
|
|
### CMxVariantArray Constructor int
|
|
|
|
Provides a constructor to initialize the array to a default length.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxVariantArray(int length);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`length`**
|
|
|
|
[in] integer value that holds the array length.
|
|
|
|
### CMxVariantArray Constructor CMxValue[ ]
|
|
|
|
Provides a constructor to initialize the class with a CMxValue array default value.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxVariantArray (CMxValue[] value);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`value`**
|
|
|
|
[in] CMxValue[ ] value to be set.
|
|
|
|
### CMxVariantArray Constructor SupportWrapper, string
|
|
|
|
Provides a constructor to initialize the class for use in a primitive wrapper.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxVariantArray (SupportWrapper _wrapper, string _attributeRef);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`_wrapper`**
|
|
|
|
[in] SupportWrapper.
|
|
|
|
**`_attributeRef`**
|
|
|
|
[in] string value that holds the attribute reference.
|
|
|
|
## CMxVariantArray Methods
|
|
|
|
### Set Method
|
|
|
|
Provides a method to set the value of the Attribute from a CMxVariantArray.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public void Set(CMxVariantArray newValue);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`newValue`**
|
|
|
|
[in] CMxVariantArray value to be set.
|
|
|
|
### SetDataType Method
|
|
|
|
Provides a method to set the value of the MxDataType of the Attribute.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public void SetDataType(MxDataType dtype);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`dtype`**
|
|
|
|
[in] MxDataType value.
|
|
|
|
## CMxVariantArray Operator Overloads
|
|
|
|
### CMxValue Operator Overload CMxVariantArray
|
|
|
|
Provides an operator that converts from CMxVariantArray to CMxValue.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public static implicit operator CMxValue(CMxVariantArray val);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`val`**
|
|
|
|
[in] CMxVariantArray value to convert to CMxValue.
|
|
|
|
**Returns**
|
|
|
|
CMxValue
|
|
|
|
### CMxVariantArray Operator Overload CMxValue
|
|
|
|
Provides an operator that converts from CMxValue to CMxVariantArray.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public static implicit operator CMxVariantArray (CMxValue val);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`val`**
|
|
|
|
[in] CMxValue value to convert to CMxVariantArray.
|
|
|
|
**Returns**
|
|
|
|
CMxVariantArray
|