Table of Contents

Class CanDetectorData

Namespace
Z21.Core.Model
Assembly
Z21.Client.dll

A CAN occupancy detector report (LAN_CAN_DETECTOR, protocol §10.1). The meaning of Value1/Value2 depends on Type.

public record CanDetectorData : IEquatable<CanDetectorData>
Inheritance
CanDetectorData
Implements
Inherited Members

Constructors

CanDetectorData(ushort, ushort, byte, byte, ushort, ushort)

A CAN occupancy detector report (LAN_CAN_DETECTOR, protocol §10.1). The meaning of Value1/Value2 depends on Type.

public CanDetectorData(ushort NetworkId, ushort ModuleAddress, byte Port, byte Type, ushort Value1, ushort Value2)

Parameters

NetworkId ushort
ModuleAddress ushort
Port byte
Type byte
Value1 ushort
Value2 ushort

Properties

ModuleAddress

public ushort ModuleAddress { get; init; }

Property Value

ushort

NetworkId

public ushort NetworkId { get; init; }

Property Value

ushort

Port

public byte Port { get; init; }

Property Value

byte

Type

public byte Type { get; init; }

Property Value

byte

Value1

public ushort Value1 { get; init; }

Property Value

ushort

Value2

public ushort Value2 { get; init; }

Property Value

ushort