Crestron CT-3000 Especificações Página 89

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 94
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 88
Crestron e-control Database Manager SW-DBM
89 Appendices Installation & Reference Guide — DOC. 5823
ScrollBar scroller signal
Description
Maintains “scroll bar” (actually an analog gauge) displayed on touchscreen
adjacent to scroller.
Direction
System to Server
Type
Analog
Value
Bar mode: (65535 / pps) to 65535 (where pps is number of pages in the table)
Line mode: 0 to 65535
Expected Reply
None.
Comments
This signal should be hooked directly to an analog gauge.
Operates in one of two modes, Bar Mode and Line Mode, settable from the Scroller
Signal Block Definition window. Both modes show progress through the recordset,
but in slightly different ways.
Bar Mode (or “thermometer” mode) shows progress based on the last row in the
current page. The formula the server uses to calculate the value is p / pps x 65535
where p is the current page and pps is the total number of pages.
Example 1: There are 20 records in the recordset. The current scroller height is set to
8 rows. Therefore, there are three pages. On the first page, 1/3 of the gauge is filled
[value = 1/3 x 65535 = 21845]; on the second page, 2/3 of the gauge is filled [value =
2/3 x 65535 = 43690]; and on the third page, the entire gauge is filled [value = 3/3 x
65535 = 65535].
Line Mode shows progressed based on the first row on the first page through the
last row on the last page. The formula the server uses to calculate the value is (p-
1) / (pps-1) x 65535.
Example 2: Again, there are three pages. On the first page, the gauge is empty
[value = (1-1)/(3-1) x 65535 = 0]; on the second page, 1/2 of the gauge is filled [value
= (2-1)/(3-1) x 65535 = 32767]; and on the third page, the entire gauge is filled [value
= (3-1)/(3-1) x 65535 = 65535].
If you find this confusing, note that it is simply a manifestation of the classic “fence
post problem.” The easiest way to think about this is to consider a certain length of
fencing to represent the length of the recordset. Bar Mode shows sections of the
fence, one section per page. (In Example 1, there are three pages represented by
three sections of fence.) By contrast, Line Mode shows fence posts. (In Example 2,
there are also three pages but this time they are represented by three fence posts.)
Line Mode is not yet implemented in the present version.
See Also
Signals from the control system that affect the scroll page also affect the value of
the ScrollBar signal. These include: First, Prev, Next, Last, DeleteRec,
DeleteAllRecs, and NewRec.
Vista de página 88
1 2 ... 84 85 86 87 88 89 90 91 92 93 94

Comentários a estes Manuais

Sem comentários