Difference between revisions of "Gantt-chart-for-TLS"

From ESS-WIKI
Jump to: navigation, search
(modify feature)
Line 1: Line 1:
 
= Gannt Panel For TLS =
 
= Gannt Panel For TLS =
  
[[File:Gantt.PNG|RTENOTITLE]]
+
[[File:Portal.PNG]]
  
  
  
  
 +
 +
=  =
  
 
= Introduction =
 
= Introduction =
Line 16: Line 18:
 
#Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
 
#Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
 
#Can define timeline period on Gantt chart.
 
#Can define timeline period on Gantt chart.
 +
 +
  
  
Line 31: Line 35:
  
  
= Install Plugin Of Panel   =
 
  
  Step 1: Add "gantt-chart-for-tls-panel.zip" see Figure 1.
 
  Step 2: Restart Grafana Server see Figure 2.
 
 
 
 
[[File:TLS-AddPluginByConfig.PNG|RTENOTITLE]]
 
 
                                                                                                             (Figure 1 、Add Plugin By Configuration) 
 
 
[[File:TLS-restart.PNG|RTENOTITLE]]
 
 
                                                                                                                                                                               (Figure 2 、Restart) 
 
  
  
Line 85: Line 76:
 
                                                                                                                                                      (Figure 7 、 Set Metrics)
 
                                                                                                                                                      (Figure 7 、 Set Metrics)
  
{| border="1" cellspacing="1" cellpadding="1" style="width: 598px;"
+
= =
|-
 
| style="width: 591px;" |
 
In Data Source, choose RMM-SimpleJson.
 
 
 
​In Device, choose Device Id for Tower Light Sensor module.
 
 
 
In Plugin, choose SenHub.
 
 
 
In Sensor, choose SenData/Light1~SenData/Light4
 
 
 
 
 
 
 
 
 
 
 
|}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
  
 
= Customizable =
 
= Customizable =
Line 129: Line 89:
  
  
[[File:Tls-opt-v2.PNG]]
+
[[File:Tls-opt-v2.PNG|RTENOTITLE]]
  
 
                                                                                                              (Figure 8 、 Options Step)
 
                                                                                                              (Figure 8 、 Options Step)
  
[[File:Status-v2.PNG]]
+
[[File:Status-v2.PNG|RTENOTITLE]]
  
 
                                                                                                                                           (Figure 9 、 Status Text)
 
                                                                                                                                           (Figure 9 、 Status Text)
  
[[File:Label-v2.png]]
+
[[File:Label-v2.png|RTENOTITLE]]
  
 
                                                                                                                                           (Figure 9 、 Label Text)
 
                                                                                                                                           (Figure 9 、 Label Text)

Revision as of 04:32, 3 February 2020

Gannt Panel For TLS

Portal.PNG



Introduction

This is a customized Gantt chart for the TLS project. The diagram has following features.

  1. Can gets TLS data in period and shows color bar with priority display rule.
  2. Can set customize status text from option.
  3. Direction of time axis: from Left (past) to Right (present).
  4. Can set color (Red, Yellow, Green, Blue) mapping to light sensor ID (Light1, Light2, Light3, Light4) by TLS.
  5. Can define timeline period on Gantt chart.





Grafana Version

This Project is base on Grafana v5.3.0 .






How To Create A New Gantt Panel

 Step 1: Add panel and choose plugin "Gantt-for-TLS" see Figure 5.
 Step 2: Edit panel see Figure 6.
 Step 3: Set up Metrics and choose DataSource "RMM-SimpleJson".
 Step 4: Set up all of the sensor's(Light1、Light2、Light3、Light4) "Device" "Plugin" "Sensor" "Alias" see Figure 7. 

      *Warning: Although the sensor light can define the mapping color but the aliases must be these strings "red" "yellow" "green" "blue".




RTENOTITLE                 

                                                                                                      (Figure 5 、 Add Panel)



RTENOTITLE

                                                                                                        (Figure 6 、 Edit Panel) 



RTENOTITLE

                                                                                                                                                      (Figure 7 、 Set Metrics)

Customizable

      Options

  •  You can set up the status text from option1~option5 see Figure 8 and it will change the title from Figure 9 .
  • "Row Height" can change panel's height from option6 .
  • "Text Size" can change status text's size from option7 .
  • "Header Indent" can change the header's width from option8 .


RTENOTITLE

                                                                                                              (Figure 8 、 Options Step)

RTENOTITLE

                                                                                                                                           (Figure 9 、 Status Text)

RTENOTITLE

                                                                                                                                           (Figure 9 、 Label Text)

      Colors

  • "Status Text" can change  status text's color  from 1 see Figure 10 .
  • "Red/Yellow/Green/Blue Light" can change  light's color from 2 ~ 6 see Figure 10 .

RTENOTITLE

                                                                 (Figure 10 、 Colors Mapping)



Release

Index Version Date OS
Release Note
Download Link
1 1.0.0_rc 2019-11-1 windows First Release

[1]

2 1.0.1_rc 2020-2-3 windows Add two Feature

[2]