C# Класс BACnet.Types.BitString24

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
Schema ISchema

Открытые методы

Метод Описание
BitString24 ( byte length, uint flags ) : System

Constructs a new bitstring16 instance

Load ( IValueStream stream ) : BitString24

Loads a bitstring24 value from a stream

Save ( IValueSink sink, BitString24 value ) : void

Saves a bitstring24 value to a sink

WithBit ( int index, bool set = true ) : BitString24

Creates a copy of this bitstring with a certain bit overriden

WithLength ( byte length ) : BitString24

Creates a copy of this bitstring with the supplied length

this ( int index ) : bool

Retrieves the value of the indexth bit

Описание методов

BitString24() публичный метод

Constructs a new bitstring16 instance
public BitString24 ( byte length, uint flags ) : System
length byte The length of the bitstring
flags uint The flag values
Результат System

Load() публичный статический метод

Loads a bitstring24 value from a stream
public static Load ( IValueStream stream ) : BitString24
stream IValueStream The stream to load from
Результат BitString24

Save() публичный статический метод

Saves a bitstring24 value to a sink
public static Save ( IValueSink sink, BitString24 value ) : void
sink IValueSink The sink to save to
value BitString24 The value to save
Результат void

WithBit() публичный метод

Creates a copy of this bitstring with a certain bit overriden
public WithBit ( int index, bool set = true ) : BitString24
index int The bit to override
set bool The value to override to
Результат BitString24

WithLength() публичный метод

Creates a copy of this bitstring with the supplied length
public WithLength ( byte length ) : BitString24
length byte The length of the new bitstring
Результат BitString24

this() публичный метод

Retrieves the value of the indexth bit
public this ( int index ) : bool
index int The index of the bit to retrieve
Результат bool

Описание свойств

Schema публичное статическое свойство

The schema for bitstring24 values
public static ISchema Schema
Результат ISchema