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