Difference between revisions of "Stentofon.AlphaCom.AlphaNet.dll"
From Zenitel Wiki
(4 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | Library for Handling AlphaNet | + | Library for Handling AlphaNet communication with AlphaCom node(s). |
== Release Info == | == Release Info == | ||
− | + | See [[Release_Notes_Stentofon.AlphaCom.AlphaNet.dll|Release Notes]] | |
− | |||
− | See | ||
== Short Library Description == | == Short Library Description == | ||
Line 12: | Line 10: | ||
For details see the compiled help file: Stentofon.AlphaCom.AlphaNet.chm | For details see the compiled help file: Stentofon.AlphaCom.AlphaNet.chm | ||
− | One | + | One single node as well as a complete AlphaCom node network is supported. The library includes code for Message parsing, Message sending, and being an AlphaNet client (TCP/IP, connection monitoring etc). |
− | {| | + | {|class="sortable" border="1" |
|- style="background: #ffdead;" | |- style="background: #ffdead;" | ||
! Namespace | ! Namespace | ||
Line 28: | Line 26: | ||
| Client | | Client | ||
| AlphaNet Client ("OPC mode") with .NET event support on messages | | AlphaNet Client ("OPC mode") with .NET event support on messages | ||
− | | | + | | Beta Release |
|- | |- | ||
| Config | | Config | ||
− | | Common definitions, and experimental config structures for the | + | | Common definitions, and experimental config structures for the library.. |
− | | | + | | Beta Release |
|} | |} | ||
Line 50: | Line 48: | ||
StationConnect sc = (StationConnect)am; | StationConnect sc = (StationConnect)am; | ||
Int16 conRef = sc.ConnectionRef; | Int16 conRef = sc.ConnectionRef; | ||
+ | |||
+ | [[Category: AMC Software]] |
Latest revision as of 11:27, 9 February 2023
Library for Handling AlphaNet communication with AlphaCom node(s).
Release Info
See Release Notes
Short Library Description
For details see the compiled help file: Stentofon.AlphaCom.AlphaNet.chm
One single node as well as a complete AlphaCom node network is supported. The library includes code for Message parsing, Message sending, and being an AlphaNet client (TCP/IP, connection monitoring etc).
Namespace | Short Description | Status |
---|---|---|
Messages | Classes for all AlphaNet Data Protocol Messages, and general class for parsing of AlphaNet message. | Beta Release |
Client | AlphaNet Client ("OPC mode") with .NET event support on messages | Beta Release |
Config | Common definitions, and experimental config structures for the library.. | Beta Release |
AlphaNet Messages
Each AlphaNet Message has its own class derived from the base class ApplicationMessage. The SLLParser class does the real parsing job. It will return an ApplicationMessage object. Each derived ApplicationMessage is required to implement a ToString() method so every message is printable. The message format can also be configured through the AlphaConfig class and the OPCServerConfigurator application. If special handling of a message is required the application needs to read the member variables from the parsed object, example:
ApplicationMessage am = null; am = _alphaParser.DecodeMessage(Message); if (am != null) { // Do special handling of Messages if needed. if (am is StationConnect) { StationConnect sc = (StationConnect)am; Int16 conRef = sc.ConnectionRef;