dnp3  0.9.0
Public Member Functions | List of all members
dnp3.Commands Class Reference

Builder type used to construct command requests More...

Public Member Functions

 Commands ()
 Create a new set of commands More...
 
void AddG12v1u8 (byte idx, G12v1 header)
 Add a CROB with 1-byte prefix index More...
 
void AddG12v1u16 (ushort idx, G12v1 header)
 Add a CROB with 2-byte prefix index More...
 
void AddG41v1u8 (byte idx, int value)
 Add a Analog Output command (signed 32-bit integer) with 1-byte prefix index More...
 
void AddG41v1u16 (ushort idx, int value)
 Add a Analog Output command (signed 32-bit integer) with 2-byte prefix index More...
 
void AddG41v2u8 (byte idx, short value)
 Add a Analog Output command (signed 16-bit integer) with 1-byte prefix index More...
 
void AddG41v2u16 (ushort idx, short value)
 Add a Analog Output command (signed 16-bit integer) with 2-byte prefix index More...
 
void AddG41v3u8 (byte idx, float value)
 Add a Analog Output command (single-precision float) with 1-byte prefix index More...
 
void AddG41v3u16 (ushort idx, float value)
 Add a Analog Output command (single-precision float) with 2-byte prefix index More...
 
void AddG41v4u8 (byte idx, double value)
 Add a Analog Output command (double-precision float) with 1-byte prefix index More...
 
void AddG41v4u16 (ushort idx, double value)
 Add a Analog Output command (double-precision float) with 2-byte prefix index More...
 
void FinishHeader ()
 Finish any partially completed header. This allows for the construction of two headers with the same type and index More...
 

Detailed Description

Builder type used to construct command requests

Constructor & Destructor Documentation

◆ Commands()

dnp3.Commands.Commands ( )
inline

Create a new set of commands

Returns
Handle to the created set of commands

Member Function Documentation

◆ AddG12v1u16()

void dnp3.Commands.AddG12v1u16 ( ushort  idx,
G12v1  header 
)
inline

Add a CROB with 2-byte prefix index

Parameters
idxIndex of the point to send the command to
headerCROB data

◆ AddG12v1u8()

void dnp3.Commands.AddG12v1u8 ( byte  idx,
G12v1  header 
)
inline

Add a CROB with 1-byte prefix index

Parameters
idxIndex of the point to send the command to
headerCROB data

◆ AddG41v1u16()

void dnp3.Commands.AddG41v1u16 ( ushort  idx,
int  value 
)
inline

Add a Analog Output command (signed 32-bit integer) with 2-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v1u8()

void dnp3.Commands.AddG41v1u8 ( byte  idx,
int  value 
)
inline

Add a Analog Output command (signed 32-bit integer) with 1-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v2u16()

void dnp3.Commands.AddG41v2u16 ( ushort  idx,
short  value 
)
inline

Add a Analog Output command (signed 16-bit integer) with 2-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v2u8()

void dnp3.Commands.AddG41v2u8 ( byte  idx,
short  value 
)
inline

Add a Analog Output command (signed 16-bit integer) with 1-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v3u16()

void dnp3.Commands.AddG41v3u16 ( ushort  idx,
float  value 
)
inline

Add a Analog Output command (single-precision float) with 2-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v3u8()

void dnp3.Commands.AddG41v3u8 ( byte  idx,
float  value 
)
inline

Add a Analog Output command (single-precision float) with 1-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v4u16()

void dnp3.Commands.AddG41v4u16 ( ushort  idx,
double  value 
)
inline

Add a Analog Output command (double-precision float) with 2-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ AddG41v4u8()

void dnp3.Commands.AddG41v4u8 ( byte  idx,
double  value 
)
inline

Add a Analog Output command (double-precision float) with 1-byte prefix index

Parameters
idxIndex of the point to send the command to
valueValue to set the analog output to

◆ FinishHeader()

void dnp3.Commands.FinishHeader ( )
inline

Finish any partially completed header. This allows for the construction of two headers with the same type and index


The documentation for this class was generated from the following file: