dnp3 (.NET API) 1.1.0
dnp3.IControlHandler Interface Reference

Callbacks for handling controls More...

Public Member Functions

void BeginFragment ()
 Notifies the start of a command fragment More...
 
void EndFragment (DatabaseHandle database)
 Notifies the end of a command fragment More...
 
CommandStatus SelectG12v1 (Group12Var1 value, ushort index, DatabaseHandle databaseHandle)
 Select a CROB, but do not operate More...
 
CommandStatus OperateG12v1 (Group12Var1 value, ushort index, OperateType opType, DatabaseHandle databaseHandle)
 Operate a control point More...
 
CommandStatus SelectG41v1 (int value, ushort index, DatabaseHandle databaseHandle)
 Select an analog output, but do not operate More...
 
CommandStatus OperateG41v1 (int value, ushort index, OperateType opType, DatabaseHandle databaseHandle)
 Operate a control point More...
 
CommandStatus SelectG41v2 (short value, ushort index, DatabaseHandle databaseHandle)
 Select an analog output, but do not operate More...
 
CommandStatus OperateG41v2 (short value, ushort index, OperateType opType, DatabaseHandle databaseHandle)
 Operate a control point More...
 
CommandStatus SelectG41v3 (float value, ushort index, DatabaseHandle databaseHandle)
 Select an analog output, but do not operate More...
 
CommandStatus OperateG41v3 (float value, ushort index, OperateType opType, DatabaseHandle databaseHandle)
 Operate a control point More...
 
CommandStatus SelectG41v4 (double value, ushort index, DatabaseHandle databaseHandle)
 Select an analog output, but do not operate More...
 
CommandStatus OperateG41v4 (double value, ushort index, OperateType opType, DatabaseHandle databaseHandle)
 Operate a control point More...
 

Detailed Description

Callbacks for handling controls

Member Function Documentation

◆ BeginFragment()

void dnp3.IControlHandler.BeginFragment ( )

Notifies the start of a command fragment

◆ EndFragment()

void dnp3.IControlHandler.EndFragment ( DatabaseHandle  database)

Notifies the end of a command fragment

Parameters
databaseDatabase handle

◆ OperateG12v1()

CommandStatus dnp3.IControlHandler.OperateG12v1 ( Group12Var1  value,
ushort  index,
OperateType  opType,
DatabaseHandle  databaseHandle 
)

Operate a control point

Parameters
valueReceived CROB
indexIndex of the point
opTypeOperate type
databaseHandleDatabase handle
Returns
Command status

◆ OperateG41v1()

CommandStatus dnp3.IControlHandler.OperateG41v1 ( int  value,
ushort  index,
OperateType  opType,
DatabaseHandle  databaseHandle 
)

Operate a control point

Parameters
valueReceived analog output value
indexIndex of the point
opTypeOperate type
databaseHandleDatabase handle
Returns
Command status

◆ OperateG41v2()

CommandStatus dnp3.IControlHandler.OperateG41v2 ( short  value,
ushort  index,
OperateType  opType,
DatabaseHandle  databaseHandle 
)

Operate a control point

Parameters
valueReceived analog output value
indexIndex of the point
opTypeOperate type
databaseHandleDatabase handle
Returns
Command status

◆ OperateG41v3()

CommandStatus dnp3.IControlHandler.OperateG41v3 ( float  value,
ushort  index,
OperateType  opType,
DatabaseHandle  databaseHandle 
)

Operate a control point

Parameters
valueReceived analog output value
indexIndex of the point
opTypeOperate type
databaseHandleDatabase handle
Returns
Command status

◆ OperateG41v4()

CommandStatus dnp3.IControlHandler.OperateG41v4 ( double  value,
ushort  index,
OperateType  opType,
DatabaseHandle  databaseHandle 
)

Operate a control point

Parameters
valueReceived analog output value
indexIndex of the point
opTypeOperate type
databaseHandleDatabase handle
Returns
Command status

◆ SelectG12v1()

CommandStatus dnp3.IControlHandler.SelectG12v1 ( Group12Var1  value,
ushort  index,
DatabaseHandle  databaseHandle 
)

Select a CROB, but do not operate

Implementors can think of this function as asking the question "is this control supported"?

Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.

Parameters
valueReceived CROB
indexIndex of the point
databaseHandleDatabase handle
Returns
Command status

◆ SelectG41v1()

CommandStatus dnp3.IControlHandler.SelectG41v1 ( int  value,
ushort  index,
DatabaseHandle  databaseHandle 
)

Select an analog output, but do not operate

Implementors can think of this function as asking the question "is this control supported"?

Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.

Parameters
valueReceived analog output value
indexIndex of the point
databaseHandleDatabase handle
Returns
Command status

◆ SelectG41v2()

CommandStatus dnp3.IControlHandler.SelectG41v2 ( short  value,
ushort  index,
DatabaseHandle  databaseHandle 
)

Select an analog output, but do not operate

Implementors can think of this function as asking the question "is this control supported"?

Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.

Parameters
valueReceived analog output value
indexIndex of the point
databaseHandleDatabase handle
Returns
Command status

◆ SelectG41v3()

CommandStatus dnp3.IControlHandler.SelectG41v3 ( float  value,
ushort  index,
DatabaseHandle  databaseHandle 
)

Select an analog output, but do not operate

Implementors can think of this function as asking the question "is this control supported"?

Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.

Parameters
valueReceived analog output value
indexIndex of the point
databaseHandleDatabase handle
Returns
Command status

◆ SelectG41v4()

CommandStatus dnp3.IControlHandler.SelectG41v4 ( double  value,
ushort  index,
DatabaseHandle  databaseHandle 
)

Select an analog output, but do not operate

Implementors can think of this function as asking the question "is this control supported"?

Most implementations should not alter the database in this method. It is only provided in the event that some event counters reflected via the API get updated on SELECT, but this would be highly abnormal.

Parameters
valueReceived analog output value
indexIndex of the point
databaseHandleDatabase handle
Returns
Command status

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