Class CANOpenTime
- java.lang.Object
-
- org.apache.plc4x.java.canopen.readwrite.CANOpenTime
-
- All Implemented Interfaces:
Message,Serializable
public class CANOpenTime extends Object implements Message
-
-
Constructor Summary
Constructors Constructor Description CANOpenTime(long millis, int days)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)intgetCleanMillis()intgetDays()intgetLengthInBits()intgetLengthInBytes()longgetMillis()inthashCode()voidserialize(WriteBuffer writeBuffer)static CANOpenTimestaticParse(ReadBuffer readBuffer)static CANOpenTimestaticParse(ReadBuffer readBuffer, Object... args)StringtoString()
-
-
-
Method Detail
-
getMillis
public long getMillis()
-
getDays
public int getDays()
-
getCleanMillis
public int getCleanMillis()
-
serialize
public void serialize(WriteBuffer writeBuffer) throws SerializationException
- Specified by:
serializein interfaceSerializable- Throws:
SerializationException
-
getLengthInBytes
public int getLengthInBytes()
- Specified by:
getLengthInBytesin interfaceMessage
-
getLengthInBits
public int getLengthInBits()
- Specified by:
getLengthInBitsin interfaceMessage
-
staticParse
public static CANOpenTime staticParse(ReadBuffer readBuffer, Object... args) throws ParseException
- Throws:
ParseException
-
staticParse
public static CANOpenTime staticParse(ReadBuffer readBuffer) throws ParseException
- Throws:
ParseException
-
-