libiec61850.NET  1.5.1
IEC 61850 .NET API for libiec61850 protocol library
IEC61850.Server Namespace Reference

Classes

class  CDC
 The CDC class contains helper functions to create DataObject instances for the most common Common Data Classes. More...
 
class  ClientConnection
 
class  ConfigFileParser
 Config file parser. More...
 
class  ControlAction
 Represents additional context information of the control action that caused the callback invokation More...
 
class  DataAttribute
 
class  DataObject
 
class  DataSet
 
class  DataSetEntry
 
class  GSEControlBlock
 GOOSE/GSE control block instance for server data model More...
 
class  IedModel
 Representation of the IED server data model More...
 
class  IedServer
 This class acts as the entry point for the IEC 61850 client API. It represents a single (MMS) connection to a server. More...
 
class  IedServerConfig
 IedServer configuration object More...
 
class  LogControlBlock
 Log control block (LCB) instance for server data model More...
 
class  LogicalDevice
 
class  LogicalNode
 
class  MmsGooseControlBlock
 
class  ModelNode
 
class  ReportControlBlock
 Report control block (RCB) instance for server data model More...
 
class  SettingGroupControlBlock
 Setting group control block for server data model More...
 

Enumerations

enum  AccessPolicy { ACCESS_POLICY_ALLOW = 0, ACCESS_POLICY_DENY = 1 }
 
enum  DataAttributeType {
  BOOLEAN = 0, INT8 = 1, INT16 = 2, INT32 = 3,
  INT64 = 4, INT128 = 5, INT8U = 6, INT16U = 7,
  INT24U = 8, INT32U = 9, FLOAT32 = 10, FLOAT64 = 11,
  ENUMERATED = 12, OCTET_STRING_64 = 13, OCTET_STRING_6 = 14, OCTET_STRING_8 = 15,
  VISIBLE_STRING_32 = 16, VISIBLE_STRING_64 = 17, VISIBLE_STRING_65 = 18, VISIBLE_STRING_129 = 19,
  VISIBLE_STRING_255 = 20, UNICODE_STRING_255 = 21, TIMESTAMP = 22, QUALITY = 23,
  CHECK = 24, CODEDENUM = 25, GENERIC_BITSTRING = 26, CONSTRUCTED = 27,
  ENTRY_TIME = 28, PHYCOMADDR = 29, CURRENCY = 30
}
 
enum  ModeValues {
  ON = 1, BLOCKED = 2, TEST = 3, TEST_BLOCKED = 4,
  OFF = 5
}
 
enum  HealthValues { OK = 1, WARNING = 2, ALARM = 3 }
 
enum  RCBEventType {
  RCBEventType.GET_PARAMETER = 0, RCBEventType.SET_PARAMETER = 1, RCBEventType.UNRESERVED = 2, RCBEventType.RESERVED = 3,
  RCBEventType.ENABLED = 4, RCBEventType.DISABLED = 5, RCBEventType.GI = 6, RCBEventType.PURGEBUF = 7
}
 Report control block event types More...
 
enum  SelectStateChangedReason {
  SelectStateChangedReason.SELECT_STATE_REASON_SELECTED = 0, SelectStateChangedReason.SELECT_STATE_REASON_CANCELED = 1, SelectStateChangedReason.SELECT_STATE_REASON_TIMEOUT = 2, SelectStateChangedReason.SELECT_STATE_REASON_OPERATED = 3,
  SelectStateChangedReason.SELECT_STATE_REASON_OPERATE_FAILED = 4, SelectStateChangedReason.SELECT_STATE_REASON_DISCONNECTED = 5
}
 Reason for the select state change More...
 
enum  ControlHandlerResult { ControlHandlerResult.FAILED = 0, ControlHandlerResult.OK = 1, ControlHandlerResult.WAITING = 2 }
 Return type of ControlHandler and ControlWaitForExecutionHandler More...
 
enum  CheckHandlerResult {
  CheckHandlerResult.ACCEPTED = -1, CheckHandlerResult.HARDWARE_FAULT = 1, CheckHandlerResult.TEMPORARILY_UNAVAILABLE = 2, CheckHandlerResult.OBJECT_ACCESS_DENIED = 3,
  CheckHandlerResult.OBJECT_UNDEFINED = 4
}
 

Functions

delegate void GoCBEventHandler (MmsGooseControlBlock goCB, int cbEvent, object parameter)
 
delegate void RCBEventHandler (object parameter, ReportControlBlock rcb, ClientConnection con, RCBEventType eventType, string parameterName, MmsDataAccessError serviceError)
 
delegate MmsDataAccessError WriteAccessHandler (DataAttribute dataAttr, MmsValue value, ClientConnection connection, object parameter)
 
delegate void ControlSelectStateChangedHandler (ControlAction action, object parameter, bool isSelected, SelectStateChangedReason reason)
 
delegate ControlHandlerResult ControlWaitForExecutionHandler (ControlAction action, object parameter, MmsValue ctlVal, bool test, bool synchroCheck)
 
delegate ControlHandlerResult ControlHandler (ControlAction action, object parameter, MmsValue ctlVal, bool test)
 
delegate CheckHandlerResult CheckHandler (ControlAction action, object parameter, MmsValue ctlVal, bool test, bool interlockCheck)
 

Enumeration Type Documentation

◆ CheckHandlerResult

Enumerator
ACCEPTED 

check passed

HARDWARE_FAULT 

check failed due to hardware fault

TEMPORARILY_UNAVAILABLE 

control is already selected or operated

OBJECT_ACCESS_DENIED 

check failed due to access control reason - access denied for this client or state

OBJECT_UNDEFINED 

object not visible in this security context ???

◆ ControlHandlerResult

Return type of ControlHandler and ControlWaitForExecutionHandler

Enumerator
FAILED 

check or operation failed

OK 

check or operation was successful

WAITING 

check or operation is in progress

◆ RCBEventType

Report control block event types

Enumerator
GET_PARAMETER 

parameter read by client (not implemented).

SET_PARAMETER 

parameter set by client.

UNRESERVED 

reservation canceled.

RESERVED 

reservation

ENABLED 

RCB enabled

DISABLED 

RCB disabled

GI 

GI report triggered

PURGEBUF 

Purge buffer procedure executed

◆ SelectStateChangedReason

Reason for the select state change

Enumerator
SELECT_STATE_REASON_SELECTED 

Control has been selected

SELECT_STATE_REASON_CANCELED 

Cancel received for the control

SELECT_STATE_REASON_TIMEOUT 

Unselected due to timeout (sboTimeout)

SELECT_STATE_REASON_OPERATED 

Unselected due to successful operate

SELECT_STATE_REASON_OPERATE_FAILED 

Unselected due to failed operate

SELECT_STATE_REASON_DISCONNECTED 

Unselected due to disconnection of selecting client