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>
68 lines
2.6 KiB
C#
68 lines
2.6 KiB
C#
//------------------------------------------------------------------------------
|
|
// Copyright (C) 2008 Invensys Systems Inc. All rights reserved.
|
|
//
|
|
// THIS CODE AND INFORMATION ARE PROVIDED "AS IS" WITHOUT WARRANTY OF ANY
|
|
// KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
|
|
// IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
|
|
// PARTICULAR PURPOSE.
|
|
//------------------------------------------------------------------------------
|
|
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
using ArchestrA.Core;
|
|
using ArchestrA.Toolkit;
|
|
|
|
namespace ArchestrA.Toolkit.Watchdog
|
|
{
|
|
#region Object Information - Toolkit generated code
|
|
// Required region for Object Information - do not modify
|
|
// the contents of this region with the code editor.
|
|
[APrimitive()]
|
|
[Guid("78ce58a4-b80a-4a1e-a9b1-d8b5a4e8233c")]
|
|
[ObjectAttributes.ExecutionGroup("Custom 2")]
|
|
[ObjectAttributes.Dictionary(@"WatchDog1.aaDCT")]
|
|
[ObjectAttributes.Vendor("ArchestrA")]
|
|
[ObjectAttributes.ConfigtimeCLSID("057251b9-4dfa-4216-80ae-0981f7bc63e9")]
|
|
[ObjectAttributes.RuntimeCLSID("85ca8612-8c40-4e51-b8b5-8588f2af5e59")]
|
|
[ObjectAttributes.MajorVersion(1)]
|
|
[ObjectAttributes.FullName("WatchDogStats")]
|
|
#endregion
|
|
|
|
/// <summary>
|
|
/// Summary description for Stats
|
|
/// </summary>
|
|
public class Stats : APrimitiveBase
|
|
{
|
|
[Attributes.AAttrCategory(MxAttributeCategory.MxCategoryCalculated)]
|
|
public CMxElapsedTime DelayMax = new CMxElapsedTime();
|
|
|
|
[Attributes.AAttrSecurityClassification(MxSecurityClassification.MxSecurityOperate)]
|
|
[Attributes.AAttrCategory(MxAttributeCategory.MxCategoryWriteable_U)]
|
|
public CMxBoolean Reset = new CMxBoolean();
|
|
|
|
[Attributes.AAttrCategory(MxAttributeCategory.MxCategoryCalculated)]
|
|
public CMxElapsedTime DelayAverage = new CMxElapsedTime();
|
|
|
|
[Attributes.AAttrCategory(MxAttributeCategory.MxCategoryCalculated)]
|
|
public CMxTime LastTimeout = new CMxTime();
|
|
|
|
[SystemPrimitive.HistoryPrimitive.AttrOverride("TimeoutCntHistory", SystemPrimitive.HistoryPrimitive.EngineeringUnits, "LockStatus", true)]
|
|
[SystemPrimitive.HistoryPrimitive("TimeoutCntHistory", Common.SystemPrimitive.ExtensionMode.VirtualEnable)]
|
|
[Attributes.AAttrCategory(MxAttributeCategory.MxCategoryCalculated)]
|
|
public CMxInteger TimeoutCnt = new CMxInteger();
|
|
|
|
// required to allow the aaDEF file to be generated
|
|
public Stats()
|
|
{
|
|
}
|
|
|
|
// required to use the child primitive as an attribute in an object
|
|
public Stats(string _name, bool _virt)
|
|
: base(_name, _virt)
|
|
{
|
|
}
|
|
}
|
|
}
|
|
|