|
|
@@ -28,6 +28,8 @@ export type FieldInfo = {
|
|
|
excludeGauge: boolean,
|
|
|
minValue: number,
|
|
|
maxValue: number,
|
|
|
+ /** If the maximum value should be stretched upwards. */
|
|
|
+ stretchMax: boolean,
|
|
|
gaugeColours: any,
|
|
|
}
|
|
|
|
|
|
@@ -51,6 +53,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
windowType: WindowType.AVERAGE,
|
|
|
minValue: -10,
|
|
|
maxValue: 30,
|
|
|
+ stretchMax: true,
|
|
|
excludeGauge: false,
|
|
|
gaugeColours: {
|
|
|
'-10': Colours.PaleBlue,
|
|
|
@@ -70,6 +73,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
windowType: WindowType.AVERAGE,
|
|
|
minValue: 0,
|
|
|
maxValue: 100,
|
|
|
+ stretchMax: false,
|
|
|
excludeGauge: false,
|
|
|
gaugeColours: {
|
|
|
20: Colours.Orange,
|
|
|
@@ -87,6 +91,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
windowType: WindowType.AVERAGE,
|
|
|
minValue: 960,
|
|
|
maxValue: 1030,
|
|
|
+ stretchMax: true,
|
|
|
excludeGauge: false,
|
|
|
gaugeColours: {
|
|
|
990: Colours.Blue,
|
|
|
@@ -103,6 +108,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
windowType: WindowType.AVERAGE,
|
|
|
minValue: 50,
|
|
|
maxValue: 8191,
|
|
|
+ stretchMax: false,
|
|
|
excludeGauge: false,
|
|
|
gaugeColours: {
|
|
|
0: Colours.Blue,
|
|
|
@@ -120,6 +126,7 @@ export const FIELDS: FieldInfo[] = [
|
|
|
windowType: WindowType.MAX,
|
|
|
minValue: 0,
|
|
|
maxValue: 10,
|
|
|
+ stretchMax: true,
|
|
|
excludeGauge: true,
|
|
|
gaugeColours: null,
|
|
|
},
|