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

2.1 KiB

CMxVariant Class

Namespace: ArchestrA.Toolkit

CMxVariant class is derived from CMxCommon and provides support for variant Attributes.

Syntax

public class CMxVariant : CMxCommon

CMxVariant Property

Value Property

Provides a property to get and set the value as a string.

Syntax

public CMxValue Value { get; set; }

Returns

CMxValue

CMxVariant Constructors

CMxVariant Constructor

Provides a default constructor.

Syntax

public CMxVariant();

CMxVariant Constructor CMxValue

Provides a constructor to initialize the object with a CMxValue.

Syntax

public CMxVariant(CMxValue v);

Parameters

v

[in] CMxValue value.

CMxVariant Constructor SupportWrapper, string

Provides a constructor to initialize the class for use in a primitive wrapper.

Syntax

public CMxStatus (SupportWrapper _wrapper, string _attributeRef);

Parameters

_wrapper

[in] SupportWrapper.

_attributeRef

[in] string value that holds the attribute reference.

CMxVariant Methods

Set Method

Provide a method to set the value of the Attribute from a CMxVariant

Syntax

public void Set(CMxVariant val);

Parameters

val

[in] CMxVariant value to be set.

SetDataType Method

Provides a method to set the MxDataType of the Attribute.

Syntax

public void SetDataType(MxDataType dtype);

Parameters

dtype

[in] MxDataType value to be set.

CMxVariant Operator Overloads

CMxValue Operator Overload CMxVariant

Provides an operator that converts from CMxVariant to CMxValue.

Syntax

public static implicit operator CMxValue(CMxVariant val);

Parameters

val

[in] CMxVariant value to convert to CMxValue.

Returns

CMxValue

CMxVariant Operator Overload CMxValue

Provides an operator that converts from CMxValue to CMxVariant.

Syntax

public static implicit operator CMxVariant(CMxValue val);

Parameters

val

[in] CMxValue value to convert to CMxVariant.

Returns

CMxVariant