Jump to: navigation, search

Difference between revisions of "SYSCLS STATUSCOLOR"


 
(5 intermediate revisions by 3 users not shown)
Line 3: Line 3:
 
| name = {{PAGENAMEE}}
 
| name = {{PAGENAMEE}}
 
| inheritance = -
 
| inheritance = -
| namespace = System.Classification
+
| namespace = System.Classification.Status
 
| purpose = Classify objects for status color
 
| purpose = Classify objects for status color
 
| version = 2+
 
| version = 2+
Line 10: Line 10:
 
Display a status LED (small graphical icon) next to the description in the object list. The color is connected to the property's value and related to the client's color scheme.
 
Display a status LED (small graphical icon) next to the description in the object list. The color is connected to the property's value and related to the client's color scheme.
  
{{Hint|Using this Classification together with [http://wiki.augmensys.com/index.php/SYSCLS_VALUEREPORTING SYSCLS_VALUEREPORTING] a progress status color can be displayed, depending on the reported value. Therefore, the MetaProperty definition for the value itself may not have a selective list being attached to it:
+
If this classification is used in combination with [[SYSCLS_VALUEREPORTING]] a progress status color, depending on the reported value, will be displayed. The colors are
* white (0%)
+
* '''white''', if value = 0%
* yellow [> 0% .. < 100%]
+
* '''yellow''', if value > 0% and < 100%
* green (100%)}}
+
* '''green''', if value = 100%
  
 
== MetaProperties ==
 
== MetaProperties ==
Line 20: Line 20:
 
! width=30% | Name !! width=20% | Data type !! Comment
 
! width=30% | Name !! width=20% | Data type !! Comment
 
|-
 
|-
| STATUSCOLOR || {{Integer}} || Numeric color code
+
| STATUSCOLOR || {{Integer}} || Numeric color code in ARGB Format
 
|}
 
|}
 +
 +
The integer value of the configured color is expected in ARGB (Alpha, Red, Green, Blue).
 +
See https://learn.microsoft.com/de-de/dotnet/api/system.drawing.color.fromargb?view=net-7.0 for details.
 +
 +
You can use an Online Color Generator like https://argb-int-calculator.netlify.app/ to get your preferred color.
  
 
[[Category:Classifications|S]]
 
[[Category:Classifications|S]]

Latest revision as of 09:07, 8 September 2023

IC CLASSIFICATION.gif Status color classification
Name SYSCLS_STATUSCOLOR
Inheritance -
Namespace System.Classification.Status
ID {1e84cf6c-cf6d-49b7-8eaf-c013cb384dc5}
Purpose Classify objects for status color
Version 2+

Display a status LED (small graphical icon) next to the description in the object list. The color is connected to the property's value and related to the client's color scheme.

If this classification is used in combination with SYSCLS VALUEREPORTING a progress status color, depending on the reported value, will be displayed. The colors are

  • white, if value = 0%
  • yellow, if value > 0% and < 100%
  • green, if value = 100%

MetaProperties

Name Data type Comment
STATUSCOLOR Integer Numeric color code in ARGB Format

The integer value of the configured color is expected in ARGB (Alpha, Red, Green, Blue). See https://learn.microsoft.com/de-de/dotnet/api/system.drawing.color.fromargb?view=net-7.0 for details.

You can use an Online Color Generator like https://argb-int-calculator.netlify.app/ to get your preferred color.