메소드 | 설명 | |
---|---|---|
CommandFrame ( PhasorProtocols command, MessagePeriod messagePeriod ) : System |
Creates a new CommandFrame from specified parameters. This constructor is used by a consumer to generate an SEL Fast Message command frame. |
|
CommandFrame ( byte buffer, int startIndex, int length ) : System |
Creates a new CommandFrame from the given buffer. This constructor is used by a consumer to parse a received SEL Fast Message command frame. Typically command frames are sent to a device. This constructor would used if this code was being used inside of a phasor measurement device. |
|
GetObjectData ( |
Populates a SerializationInfo with the data needed to serialize the target object.
|
메소드 | 설명 | |
---|---|---|
CalculateChecksum ( byte buffer, int offset, int length ) : ushort |
Calculates checksum of given buffer.
|
|
CommandFrame ( |
Creates a new CommandFrame from serialization parameters.
|
protected CalculateChecksum ( byte buffer, int offset, int length ) : ushort | ||
buffer | byte | Buffer image over which to calculate checksum. |
offset | int | Start index into |
length | int | Length of data within |
리턴 | ushort |
public CommandFrame ( PhasorProtocols command, MessagePeriod messagePeriod ) : System | ||
command | PhasorProtocols | The |
messagePeriod | MessagePeriod | The desired |
리턴 | System |
protected CommandFrame ( |
||
info | The |
|
context | The source |
|
리턴 | System |
public CommandFrame ( byte buffer, int startIndex, int length ) : System | ||
buffer | byte | Binary image to parse. |
startIndex | int | Start index into |
length | int | Length of valid data within |
리턴 | System |
public GetObjectData ( |
||
info | The |
|
context | The destination |
|
리턴 | void |