Files
wwtools/aot/reference/CMxReference.md
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

176 lines
2.5 KiB
Markdown

# CMxReference Class
Namespace: `ArchestrA.Toolkit`
CMxReference is derived from CMxCommon and provides support for Reference Attributes.
**Syntax**
```csharp
public class CMxReference : CMxCommon
```
## CMxReference Property
### Value Property
Provides a property to get or set the value as a full reference string.
**Syntax**
```csharp
public string Value { get; set; }
```
**Returns**
string
## CMxReference Constructors
### CMxReference Constructor
Provides a default constructor.
**Syntax**
```csharp
public CMxReference ();
```
### CMxReference Constructor string
Provides a constructor to initialize the class with a full reference string.
**Syntax**
```csharp
public CMxReference (string v);
```
**Parameters**
**`v`**
[in] string value that holds the reference.
### CMxReference Constructor SupportWrapper, string
Provides a constructor to initialize the class for use in a primitive wrapper.
**Syntax**
```csharp
public CMxReference (SupportWrapper _wrapper, string _attributeRef);
```
**Parameters**
**`_wrapper`**
[in] SupportWrapper.
**`_attributeRef`**
[in] string value that holds the attribute reference.
## CMxReference Method
### Set Method
Provides a method to set the value of the Attribute from a CMxReference.
**Syntax**
```csharp
public void Set(CMxReference val);
```
**Parameters**
**`val`**
[in] CMxReference value.
## CMxReference Operator Overloads
### CMxReference Operator Overload string
Provides an operator that converts from full reference string to CMxReference.
**Syntax**
```csharp
public static implicit operator CMxReference (string x);
```
**Parameters**
**`x`**
[in] string to convert to CMxReference.
**Returns**
CMxReference
### CMxValue Operator Overload
Provides an operator that converts from CMxReference to CMxValue.
**Syntax**
```csharp
public static implicit operator CMxValue(CMxReference val);
```
**Parameters**
**`val`**
[in] CMxReference value to convert to CMxValue.
**Returns**
CMxValue
### string Operator Overload
Provides an operator that converts from CMxReference to full reference string.
**Syntax**
```csharp
public static implicit operator string (CMxReference val);
```
**Parameters**
**`val`**
[in] CMxReference value to convert to string.
**Returns**
string
### CMxReference Operator Overload CMxValue
Provides an operator that converts from CMxValue to CMxReference.
**Syntax**
```csharp
public static implicit operator CMxReference (CMxValue val);
```
**Parameters**
**`val`**
[in] CMxValue value to convert to CMxReference.
**Returns**
CMxReference