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>
196 lines
3.0 KiB
Markdown
196 lines
3.0 KiB
Markdown
# CMxIntegerArray Class
|
|
|
|
Namespace: `ArchestrA.Toolkit`
|
|
|
|
CMxIntegerArray is derived from CMxArray and provides support for Integer Array Attributes.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public class CMxIntegerArray : CMxArray<int>
|
|
```
|
|
|
|
## CMxIntegerArray Properties
|
|
|
|
### Value Property
|
|
|
|
Provides a property to get and set the value as an int array.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public int Value { get; set; }
|
|
```
|
|
|
|
**Returns**
|
|
|
|
int[ ]
|
|
|
|
### Property to Get and Set the Int Value using the [ ] Operator
|
|
|
|
Provides a property to get and set the int value of an element using[ ] operator.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public int this[short i] { get; set; }
|
|
```
|
|
|
|
**Returns**
|
|
|
|
int
|
|
|
|
## CMxIntegerArray Constructors
|
|
|
|
### CMxIntegerArray Constructor (int)
|
|
|
|
Provides a constructor to initialize the array to a default length.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxIntegerArray(int length);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`length`**
|
|
|
|
[in] integer value that holds the length of the array.
|
|
|
|
### CMxIntegerArray Constructor (int[ ])
|
|
|
|
Provides a constructor to initialize the class with an int array.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxIntegerArray(int [] value);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`value`**
|
|
|
|
[in] int array value to be set.
|
|
|
|
### CMxIntegerArray Constructor (SupportWrapper, string)
|
|
|
|
Provide a constructor to initialize the class for use in a primitive wrapper.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public CMxIntegerArray (SupportWrapper _wrapper, string _attributeRef);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`_wrapper`**
|
|
|
|
[in] SupportWrapper.
|
|
|
|
**`_attributeRef`**
|
|
|
|
[in] string value that holds the attribute reference.
|
|
|
|
## CMxIntegerArray Method
|
|
|
|
### Set Method
|
|
|
|
Provides a method to set the value of the Attribute from a CMxIntegerArray.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public void Set(CMxIntegerArray newValue);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`newValue`**
|
|
|
|
[in] CMxIntegerArray instance value to be set.
|
|
|
|
## CMxIntegerArray Operator Overloads
|
|
|
|
### CMxIntegerArray Operator Overload (int[ ])
|
|
|
|
Provides an operator to convert an int array into a CMxInteger Array.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public static implicit operator CMxIntegerArray(int [] val);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`val`**
|
|
|
|
[in] int [ ] value to convert to CMxIntegerArray.
|
|
|
|
**Returns**
|
|
|
|
CMxIntegerArray
|
|
|
|
### CMxValue Operator Overload
|
|
|
|
Provides an operator to convert a CMxInteger Array into a CMxValue.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public static implicit operator CMxValue(CMxIntegerArray val);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`val`**
|
|
|
|
[in] CMxIntegerArray to convert to CMxValue.
|
|
|
|
**Returns**
|
|
|
|
CMxValue
|
|
|
|
### int[ ] Operator Overload
|
|
|
|
Provides an operator to convert a CMxIntegerArray into an int array.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public static implicit operator int [](CMxIntegerArray val);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`val`**
|
|
|
|
[in] CMxIntegerArray to convert to int [].
|
|
|
|
**Returns**
|
|
|
|
int[ ]
|
|
|
|
### CMxIntegerArray Operator Overload (CMxValue)
|
|
|
|
Provides an operator to convert a CMxValue into a CMxIntegerArray.
|
|
|
|
**Syntax**
|
|
|
|
```csharp
|
|
public static implicit operator CMxIntegerArray(CMxValue val);
|
|
```
|
|
|
|
**Parameters**
|
|
|
|
**`val`**
|
|
|
|
[in] CMxValue to convert to CMxIntegerArray.
|
|
|
|
**Returns**
|
|
|
|
CMxIntegerArray
|