lib60870.NET  2.2.0
IEC 60870-5-101/104 Protocol Source Code Library for C#/.NET
lib60870.CP24Time2a Class Reference

Public Member Functions

 CP24Time2a (int minute, int second, int millisecond)
 
int GetMilliseconds ()
 Gets the total milliseconds of the elapsed time More...
 
byte [] GetEncodedValue ()
 
override string ToString ()
 

Properties

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

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: