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

Internal database access More...

Public Member Functions

bool AddBinary (ushort index, EventClass pointClass, BinaryConfig config)
 Add a new Binary Input point More...
 
bool RemoveBinary (ushort index)
 Remove a Binary Input point More...
 
bool UpdateBinary (Binary value, UpdateOptions options)
 Update a Binary Input point More...
 
Binary GetBinary (ushort index)
 Get a Binary Input point More...
 
bool AddDoubleBitBinary (ushort index, EventClass pointClass, DoubleBitBinaryConfig config)
 Add a new Double-Bit Binary Input point More...
 
bool RemoveDoubleBitBinary (ushort index)
 Remove a Double-Bit Binary Input point More...
 
bool UpdateDoubleBitBinary (DoubleBitBinary value, UpdateOptions options)
 Update a Double-Bit Binary Input point More...
 
DoubleBitBinary GetDoubleBitBinary (ushort index)
 Get a Double-Bit Binary Input point More...
 
bool AddBinaryOutputStatus (ushort index, EventClass pointClass, BinaryOutputStatusConfig config)
 Add a new Binary Output Status point More...
 
bool RemoveBinaryOutputStatus (ushort index)
 Remove a Binary Output Status point More...
 
bool UpdateBinaryOutputStatus (BinaryOutputStatus value, UpdateOptions options)
 Update a Binary Output Status point More...
 
BinaryOutputStatus GetBinaryOutputStatus (ushort index)
 Get a Binary Output Status point More...
 
bool AddCounter (ushort index, EventClass pointClass, CounterConfig config)
 Add a new Counter point More...
 
bool RemoveCounter (ushort index)
 Remove a Counter point More...
 
bool UpdateCounter (Counter value, UpdateOptions options)
 Update a Counter point More...
 
Counter GetCounter (ushort index)
 Get a Counter point More...
 
bool AddFrozenCounter (ushort index, EventClass pointClass, FrozenCounterConfig config)
 Add a new Frozen Counter point More...
 
bool RemoveFrozenCounter (ushort index)
 Remove a Frozen Counter point More...
 
bool UpdateFrozenCounter (FrozenCounter value, UpdateOptions options)
 Update an Frozen Counter point More...
 
FrozenCounter GetFrozenCounter (ushort index)
 Get a Frozen Counter point More...
 
bool AddAnalog (ushort index, EventClass pointClass, AnalogConfig config)
 Add a new Analog point More...
 
bool RemoveAnalog (ushort index)
 Remove an Analog point More...
 
bool UpdateAnalog (Analog value, UpdateOptions options)
 Update a Analog point More...
 
Analog GetAnalog (ushort index)
 Get a Analog point More...
 
bool AddAnalogOutputStatus (ushort index, EventClass pointClass, AnalogOutputStatusConfig config)
 Add a new Analog Output Status point More...
 
bool RemoveAnalogOutputStatus (ushort index)
 Remove an Analog Output Status point More...
 
bool UpdateAnalogOutputStatus (AnalogOutputStatus value, UpdateOptions options)
 Update a Analog Output Status point More...
 
AnalogOutputStatus GetAnalogOutputStatus (ushort index)
 Get a Analog Output Status point More...
 
bool AddOctetString (ushort index, EventClass pointClass)
 Add a new Octet String point More...
 
bool RemoveOctetString (ushort index)
 Remove an Octet String point More...
 
bool UpdateOctetString (ushort index, System.Collections.Generic.ICollection< byte > value, UpdateOptions options)
 Update an Octet String point More...
 

Detailed Description

Internal database access

Warning: This object is only valid within the transaction.

Member Function Documentation

◆ AddAnalog()

bool dnp3.Database.AddAnalog ( ushort  index,
EventClass  pointClass,
AnalogConfig  config 
)
inline

Add a new Analog point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddAnalogOutputStatus()

bool dnp3.Database.AddAnalogOutputStatus ( ushort  index,
EventClass  pointClass,
AnalogOutputStatusConfig  config 
)
inline

Add a new Analog Output Status point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddBinary()

bool dnp3.Database.AddBinary ( ushort  index,
EventClass  pointClass,
BinaryConfig  config 
)
inline

Add a new Binary Input point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddBinaryOutputStatus()

bool dnp3.Database.AddBinaryOutputStatus ( ushort  index,
EventClass  pointClass,
BinaryOutputStatusConfig  config 
)
inline

Add a new Binary Output Status point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddCounter()

bool dnp3.Database.AddCounter ( ushort  index,
EventClass  pointClass,
CounterConfig  config 
)
inline

Add a new Counter point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddDoubleBitBinary()

bool dnp3.Database.AddDoubleBitBinary ( ushort  index,
EventClass  pointClass,
DoubleBitBinaryConfig  config 
)
inline

Add a new Double-Bit Binary Input point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddFrozenCounter()

bool dnp3.Database.AddFrozenCounter ( ushort  index,
EventClass  pointClass,
FrozenCounterConfig  config 
)
inline

Add a new Frozen Counter point

Parameters
indexIndex of the point
pointClassEvent class
configConfiguration
Returns
True if the point was successfully added, false otherwise

◆ AddOctetString()

bool dnp3.Database.AddOctetString ( ushort  index,
EventClass  pointClass 
)
inline

Add a new Octet String point

Parameters
indexIndex of the point
pointClassEvent class
Returns
True if the point was successfully added, false otherwise

◆ GetAnalog()

Analog dnp3.Database.GetAnalog ( ushort  index)
inline

Get a Analog point

Parameters
indexIndex of the point to get
Returns
Analog point
Exceptions
ParamException

◆ GetAnalogOutputStatus()

AnalogOutputStatus dnp3.Database.GetAnalogOutputStatus ( ushort  index)
inline

Get a Analog Output Status point

Parameters
indexIndex of the point to get
Returns
Analog Output Status point
Exceptions
ParamException

◆ GetBinary()

Binary dnp3.Database.GetBinary ( ushort  index)
inline

Get a Binary Input point

Parameters
indexIndex of the point to get
Returns
Binary Input point
Exceptions
ParamException

◆ GetBinaryOutputStatus()

BinaryOutputStatus dnp3.Database.GetBinaryOutputStatus ( ushort  index)
inline

Get a Binary Output Status point

Parameters
indexIndex of the point to get
Returns
Binary Output Status point
Exceptions
ParamException

◆ GetCounter()

Counter dnp3.Database.GetCounter ( ushort  index)
inline

Get a Counter point

Parameters
indexIndex of the point to get
Returns
Counter point
Exceptions
ParamException

◆ GetDoubleBitBinary()

DoubleBitBinary dnp3.Database.GetDoubleBitBinary ( ushort  index)
inline

Get a Double-Bit Binary Input point

Parameters
indexIndex of the point to get
Returns
Double-Bit Binary Input point
Exceptions
ParamException

◆ GetFrozenCounter()

FrozenCounter dnp3.Database.GetFrozenCounter ( ushort  index)
inline

Get a Frozen Counter point

Parameters
indexIndex of the point to get
Returns
Frozen Counter point
Exceptions
ParamException

◆ RemoveAnalog()

bool dnp3.Database.RemoveAnalog ( ushort  index)
inline

Remove an Analog point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveAnalogOutputStatus()

bool dnp3.Database.RemoveAnalogOutputStatus ( ushort  index)
inline

Remove an Analog Output Status point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveBinary()

bool dnp3.Database.RemoveBinary ( ushort  index)
inline

Remove a Binary Input point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveBinaryOutputStatus()

bool dnp3.Database.RemoveBinaryOutputStatus ( ushort  index)
inline

Remove a Binary Output Status point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveCounter()

bool dnp3.Database.RemoveCounter ( ushort  index)
inline

Remove a Counter point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveDoubleBitBinary()

bool dnp3.Database.RemoveDoubleBitBinary ( ushort  index)
inline

Remove a Double-Bit Binary Input point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveFrozenCounter()

bool dnp3.Database.RemoveFrozenCounter ( ushort  index)
inline

Remove a Frozen Counter point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ RemoveOctetString()

bool dnp3.Database.RemoveOctetString ( ushort  index)
inline

Remove an Octet String point

Parameters
indexIndex of the point
Returns
True if the point was successfully removed, false otherwise

◆ UpdateAnalog()

bool dnp3.Database.UpdateAnalog ( Analog  value,
UpdateOptions  options 
)
inline

Update a Analog point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateAnalogOutputStatus()

bool dnp3.Database.UpdateAnalogOutputStatus ( AnalogOutputStatus  value,
UpdateOptions  options 
)
inline

Update a Analog Output Status point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateBinary()

bool dnp3.Database.UpdateBinary ( Binary  value,
UpdateOptions  options 
)
inline

Update a Binary Input point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateBinaryOutputStatus()

bool dnp3.Database.UpdateBinaryOutputStatus ( BinaryOutputStatus  value,
UpdateOptions  options 
)
inline

Update a Binary Output Status point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateCounter()

bool dnp3.Database.UpdateCounter ( Counter  value,
UpdateOptions  options 
)
inline

Update a Counter point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateDoubleBitBinary()

bool dnp3.Database.UpdateDoubleBitBinary ( DoubleBitBinary  value,
UpdateOptions  options 
)
inline

Update a Double-Bit Binary Input point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateFrozenCounter()

bool dnp3.Database.UpdateFrozenCounter ( FrozenCounter  value,
UpdateOptions  options 
)
inline

Update an Frozen Counter point

Parameters
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

◆ UpdateOctetString()

bool dnp3.Database.UpdateOctetString ( ushort  index,
System.Collections.Generic.ICollection< byte >  value,
UpdateOptions  options 
)
inline

Update an Octet String point

Parameters
indexIndex of the octet string
valueNew value of the point
optionsUpdate options
Returns
True if the point was successfully updated, false otherwise

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