====== API: Gauge Controls ====== Riferimento API per indicatori e misuratori. ===== TWvdSCircularGauge ===== Indicatore analogico circolare. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ Value | Double | 0 | Valore attuale | ^ Minimum | Double | 0 | Valore minimo | ^ Maximum | Double | 100 | Valore massimo | ^ StartAngle | Double | -135 | Angolo iniziale (gradi) | ^ EndAngle | Double | 135 | Angolo finale (gradi) | ^ Ranges | TGaugeRangeCollection | nil | Intervalli valori | ^ ShowValue | Boolean | True | Mostra valore | ^ ValueFormat | string | '0' | Formato valore | ^ NeedleColor | TWvdSColor | clRed | Colore lancetta | ==== Rendering TUI ==== Rappresentazione TUI (ASCII): .-"""-. / 120 \ | ^ | \ ___ / '-...-' ---- ===== TWvdSLinearGauge ===== Indicatore a barra lineare. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ Value | Double | 0 | Valore attuale | ^ Minimum | Double | 0 | Valore minimo | ^ Maximum | Double | 100 | Valore massimo | ^ Orientation | TWvdSOrientation | oHorizontal | Orientamento | ^ ShowMarker | Boolean | True | Mostra marker | ^ MarkerStyle | TMarkerStyle | msTriangle | Stile marker | ---- ===== TWvdSDigitalGauge ===== Display digitale a 7 segmenti. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ Value | Double | 0 | Valore visualizzato | ^ Text | string | '' | Testo visualizzato | ^ DigitCount | Integer | 4 | Numero cifre | ^ ShowLeadingZeros | Boolean | False | Zeri iniziali | ^ SegmentColor | TWvdSColor | clGreen | Colore segmenti | ^ BackgroundColor | TWvdSColor | clBlack | Sfondo | ==== Rendering TUI ==== #### #### #### #### ## ## ## ## #### #### #### #### ## ## ## ## #### #### #### #### ---- ===== TWvdSStateIndicator ===== Indicatore di stato (semaforo). ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ State | string | '' | Stato attuale | ^ States | TIndicatorStateCollection | nil | Definizioni stati | ^ Shape | TIndicatorShape | isCircle | Circle, Square, Triangle | ^ Size | Integer | 24 | Dimensione in pixel | ---- ===== TWvdSLED ===== Indicatore LED semplice. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ IsOn | Boolean | False | Acceso/Spento | ^ OnColor | TWvdSColor | clGreen | Colore acceso | ^ OffColor | TWvdSColor | clDarkGray | Colore spento | ^ Blink | Boolean | False | Lampeggiante | ^ BlinkInterval | Integer | 500 | Intervallo lampeggio (ms) | ---- ===== TWvdSArcScaleGauge ===== Indicatore a scala ad arco. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ ArcThickness | Integer | 10 | Spessore arco | ^ StartAngle | Double | -180 | Angolo iniziale | ^ SweepAngle | Double | 180 | Angolo arco | ---- ===== TWvdSScaleIndicator ===== Indicatore basato su scala. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ ScaleType | TScaleType | stLinear | Linear, Logarithmic | ^ TickCount | Integer | 5 | Numero tacche | ^ ShowLabels | Boolean | True | Mostra etichette | ---- ===== TWvdSLevelBar ===== Indicatore livello. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ Value | Double | 0 | Livello | ^ Minimum | Double | 0 | Minimo | ^ Maximum | Double | 100 | Massimo | ^ Orientation | TWvdSOrientation | oVertical | Orientamento | ^ FillColor | TWvdSColor | clBlue | Colore riempimento | ^ ShowPercentage | Boolean | True | Mostra percentuale | ==== Rendering TUI ==== +----+ |####| 80% |####| |####| |####| | | +----+ ---- ===== TWvdSProgressGauge ===== Indicatore progresso ad anello. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ Value | Double | 0 | Progresso | ^ Maximum | Double | 100 | Massimo | ^ Thickness | Integer | 8 | Spessore anello | ^ TrackColor | TWvdSColor | clLightGray | Sfondo | ^ ProgressColor | TWvdSColor | clBlue | Colore progresso | ---- ===== TWvdSThermometer ===== Indicatore termometro. ==== Namespace ==== ''WvdS.UI.Controls.Gauges'' ==== PXAML ==== ==== Properties ==== | Property | Tipo | Default | Descrizione | ^ Value | Double | 0 | Temperatura | ^ Minimum | Double | -20 | Minimo | ^ Maximum | Double | 50 | Massimo | ^ Unit | string | 'C' | Unita | ^ ShowBulb | Boolean | True | Mostra bulbo | ^ MercuryColor | TWvdSColor | clRed | Colore mercurio | ==== Rendering TUI ==== ^ 50 | # 30 # # 10 | v-20 o ---- ===== Vedi anche ===== * [[.:control-bibliothek|Libreria Control]] * [[.:api-controls-charts|API Charts]] * [[.:tui-controls|TUI Controls]]