Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
knx
v1.2.4
KNX
ActionDatagram
ActionType
Address
Boolean
CEMI
ConnectionError
ConnectRequest
ConnectResponse
ConnectStateRequest
ConnectStateResponse
ConnectType
CRD
CRI
DatagramBuilder
Datapoint
Date
DateTime
ResponseFlags
DayOfWeek
DescriptionType
DeviceInfo
DIB
DisconnectRequest
DisconnectResponse
DpString
DpTime
FamilyType
FourByteFloat
GroupAddress
GroupAddress2Level
Header
Timer
Wrapper
HPAI
IndividualAddress
InformationBlock
MediumType
MsgCode
ObjectServer
Command
ConnectionHeader
Datagram
Error
Filter
Item
ObjectHeader
Status
Priority
ProtocolType
RequestTypes
ResponseDatagram
SearchRequest
SearchResponse
ServiceFamily
StatusDatagram
SupportedServices
TpciType
TunnelClient
Request
TunnelRequest
TunnelResponse
TwoByteFloatingPoint
Generated using Crystal 1.12.2
2024-08-13 07:01:38 UTC
class
KNX::
TwoByteFloatingPoint
KNX::TwoByteFloatingPoint
KNX::Datapoint
Reference
Object
Defined in:
knx/datapoint/two_byte_floating_point.cr
Constructors
.new
(data : Int | Float)
.new
(data : Bytes)
Instance Method Summary
#from_bytes
(data : Bytes)
#to_bytes
: Bytes
#value
: Float64
#value=
(value : Float64)
Instance methods inherited from class
KNX::Datapoint
from_bytes(data : Bytes)
from_bytes
,
to_bytes : Bytes
to_bytes
,
to_slice
to_slice
Constructor methods inherited from class
KNX::Datapoint
new(data : Bytes)
new
Constructor Detail
def self.
new
(data : Int | Float)
#
[
View source
]
def self.
new
(data : Bytes)
#
[
View source
]
Instance Method Detail
def
from_bytes
(data : Bytes)
#
[
View source
]
def
to_bytes
: Bytes
#
[
View source
]
def
value
: Float64
#
[
View source
]
def
value=
(value : Float64)
#
[
View source
]