Files
wwtools/aot/reference/CMxCustomStructArray.md
T
Joseph Doherty 32f26272ae Initial commit: Wonderware / System Platform tools and reference
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>
2026-05-03 18:22:20 -04:00

216 lines
3.7 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# CMxCustomStructArray Class
Namespace: `ArchestrA.Toolkit`
CMxCustomStructArray is derived from CMxArray and provides support for an array of custom data in the form of a guid and byte array.
**Syntax**
```csharp
public class CMxCustomStructArray : CMxArray<MxCustomStruct>
```
## CMxCustomStructArray Properties
### Value Property
Provides a property to get and set the value as an MxCustomStruct array.
**Syntax**
```csharp
public MxCustomStruct[] Value { get; set; }
```
**Returns**
MxCustomStruct[ ]
### Property to get and set value as a MxCustomStruct
Provides a property to get and set the value of an element as an MxCustomStruct.
**Syntax**
```csharp
public MxCustomStruct this[short i] { get; set; }
```
**Returns**
MxCustomStruct
## CMxCustomStructArray Constructors
### CMxCustomStructArray Constructor (int)
Provides a constructor to initialize the CustomStructArray with a length.
**Syntax**
```csharp
public CMxCustomStructArray(int length);
```
**Parameters**
**`length`**
[in] int value that holds the length of the array.
### CMxCustomStructArray Constructor (int, int)
Provides a constructor to initialize CustomStructArray with an ID and length.
**Syntax**
```csharp
public CMxCustomStructArray(int id, int length);
```
**Parameters**
**`id`**
[in] int value that holds the ID.
**`length`**
[in] int value that holds the array length.
### CMxCustomStructArray Constructor (MxCustomStruct[ ])
Provides a constructor to initialize CustomStructArray with an array of MxCustomStruct.
**Syntax**
```csharp
public CMxCustomStructArray(MxCustomStruct[] value);
```
**Parameters**
**`value`**
[in] MxCustomStruct[ ] value to be set.
### CMxCustomStructArray Constructor (SupportWrapper, string)
Provides a constructor to initialize the class for use in a primitive wrapper.
**Syntax**
```csharp
public CMxCustomStruct(SupportWrapper _wrapper, string _attributeRef);
```
**Parameters**
**`_wrapper`**
[in] SupportWrapper.
**`_attributeRef`**
[in] string value that holds the attribute reference.
## CMxCustomStructArray Method
### Set Method
Provides a method to set the value of the Attribute from a CMxCustomStructArray.
**Syntax**
```csharp
public void Set(CMxCustomStructArray newValue);
```
**Parameters**
**`newValue`**
[in] CMxCustomStructArray value to be set.
## CMxCustomStructArray Operator Overloads
### CMxValue Operator Overload
Provides an operator to convert a CMxCustomStructArray into a CMxValue.
**Syntax**
```csharp
public static implicit operator CMxValue(CMxCustomStructArray val);
```
**Parameters**
**`val`**
[in] CMxCustomStructArray value to convert to CMxValue.
**Returns**
CMxValue
### MxCustomStruct [ ]Operator Overload
Provides an operator to convert a CMxCustomStructArray into a MxCustomStruct array.
**Syntax**
```csharp
public static implicit operator MxCustomStruct[] (CMxCustomStructArray val);
```
**Parameters**
**`val`**
[in] CMxCustomStructArray value to convert to MxCustomStruct[ ].
**Returns**
MxCustomStruct[ ]
### CMxCustomStructArray Operator Overload
Provides an operator to convert a CMxValue into a CMxCustomStructArray.
**Syntax**
```csharp
public static implicit operator CMxCustomStructArray(CMxValue val);
```
**Parameters**
**`val`**
[in] CMxValue value to convert to CMxCustomStructArray.
**Returns**
CMxCustomStructArray
### CMxCustomStructArray Operator Overload
Provides an operator to convert a MxCustomStruct array into a CMxCustomStructArray.
**Syntax**
```csharp
public static implicit operator CMxCustomStructArray(MxCustomStruct[] val);
```
**Parameters**
**`val`**
[in] MxCustomStruct[ ] value to convert to CMxCustomStructArray.
**Returns**
CMxCustomStructArray