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

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

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

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

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

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

Constructs a new bitstring16 instance

Load ( IValueStream stream ) : BitString56

Loads a bitstring56 value from a stream

Save ( IValueSink sink, BitString56 value ) : void

Saves a bitstring56 value to a stream

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

Creates a copy of this bitstring with a certain bit overriden

WithLength ( byte length ) : BitString56

Creates a copy of this bitstring with the supplied length

this ( int index ) : bool

Retrieves the value of the indexth bit

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

BitString56() публичный Метод

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

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

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

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

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

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

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

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

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

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 bitstring56 values
public static ISchema Schema
Результат ISchema