lib60870.NET 2.3.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
Loading...
Searching...
No Matches
lib60870.CP24Time2a Class Reference

Public Member Functions

 CP24Time2a (byte[] msg, int startIndex)
 
 CP24Time2a (int minute, int second, int millisecond)
 
 CP24Time2a (CP24Time2a original)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 
int GetMilliseconds ()
 Gets the total milliseconds of the elapsed time.
 
byte[] GetEncodedValue ()
 
override string ToString ()
 

Properties

int Millisecond [get, set]
 Gets or sets the millisecond part of the time value.
 
int Second [get, set]
 Gets or sets the second (range 0 to 59)
 
int Minute [get, set]
 Gets or sets the minute (range 0 to 59)
 
bool Invalid [get, set]
 Gets a value indicating whether this lib60870.CP24Time2a is invalid.
 
bool Substitued [get, set]
 Gets a value indicating whether this lib60870.CP24Time2a was substitued by an intermediate station.
 

Member Function Documentation

◆ GetMilliseconds()

int lib60870.CP24Time2a.GetMilliseconds ( )

Gets the total milliseconds of the elapsed time.

Returns
The milliseconds.

Property Documentation

◆ Invalid

bool lib60870.CP24Time2a.Invalid
getset

Gets a value indicating whether this lib60870.CP24Time2a is invalid.

true if invalid; otherwise, false.

◆ Millisecond

int lib60870.CP24Time2a.Millisecond
getset

Gets or sets the millisecond part of the time value.

The millisecond.

◆ Minute

int lib60870.CP24Time2a.Minute
getset

Gets or sets the minute (range 0 to 59)

The minute.

◆ Second

int lib60870.CP24Time2a.Second
getset

Gets or sets the second (range 0 to 59)

The second.

◆ Substitued

bool lib60870.CP24Time2a.Substitued
getset

Gets a value indicating whether this lib60870.CP24Time2a was substitued by an intermediate station.

true if substitued; otherwise, false.


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