Translations:Formatted virtual/6/en

From Larnitech wiki page
Revision as of 13:12, 26 January 2022 by FuzzyBot (talk | contribs) (Importing a new version from external source)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
  • TEXT – unchangeable text to be displayed;
  • flags, wigth, precision, type – status formatting description, see sprintf.
  • STATUS – status description
    • id() – device id, u16
    • subId() – device subId, u8
    • addr() – device address, u32
    • addrString() – device address textually
    • statusStringHex() – device status string as hexadecimal notation
    • statusString() – string with the device status
    • statusString(u32 byteOffset = 0) – string with the device status with byteOffset offset
    • statusString(u32 byteOffset=0, u32 len=0) – string with the device status with byteOffset offset and length len
    • status() – device status, i8
    • status(u32 byteOffset = 0) – device status with byteOffset offset, i8
    • statusU() – device status, u8
    • statusBit1Count() – number of status bit(?)
    • statusRgb() – RGB status, 0xRRGGBB
    • statusU16(u32 byteOffset=0) – device status, u16
    • statusU32(u32 byteOffset=0) – device status, u32
    • statusBit(u32 byteOffset=0, u32 bitOffset=0) – state of status bit with bitOffset offset, with byteOffset byte offset,
    • statusBit(u32 bitOffset=0) – state of status bit with bitOffset offset
    • statusBits(u32 byteOffset=0, u32 bitOffset=0, u32 len=0) – len bit status starting from bitOffset of byteOffset byte
    • statusBits(u32 bitOffset=0, u32 len=0) – len bit status starting from bitOffset
    • statusFloat() – status fractional (status/250)
    • statusFloat() – status unsigned fractional (status/250)
    • statusFloat2(u32 byteOffset=0) – status fractional (status/256)
    • statusFloat2U(u32 byteOffset=0) – status unsigned fractional (status/256) with byteOffset offset
    • statusFloat(u32 byteOffset=0) – status fractional (status/250) with byteOffset offset
    • statusLevel() – level (for example, dimmer)
    • statusFloatString() – string with status fractional (status/250)
    • statusFloatString(u32 byteOffset = 0) – string with status fractional (status/250) with byteOffset offset
    • statusFloatString2() – string with status fractional (status/256)
    • statusFloatString2(u32 byteOffset=0) – string with status fractional (status/256) with byteOffset offset