Package com.uc4.api.objects
Class CockpitThresholds
- java.lang.Object
-
- com.uc4.api.objects.CockpitThresholds
-
public class CockpitThresholds extends java.lang.Object
Represents the Threshold values for theCockpitControl
Pie, Bar and TrafficLight. You can specify the minimum and maximum value as well as the threshold values for the yellow indicator.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getMax()
Returns the maximal value.int
getMin()
Returns the minimal value.int
getThreshold1()
Returns the maximal value for lowest indicator.int
getThreshold2()
Returns the maximal value for middle indicator (yellow area).void
setMax(int max)
Sets the maximal value.void
setMin(int min)
Sets the minimal value.void
setThreshold1(int threshold1)
Sets the maximal value for the lowest indicator.void
setThreshold2(int threshold2)
Sets the maximal value for the middle indicator (yellow area).
-
-
-
Method Detail
-
getMin
public int getMin()
Returns the minimal value.- Returns:
- minimal value
-
setMin
public void setMin(int min)
Sets the minimal value.- Parameters:
min
- minimal value
-
getMax
public int getMax()
Returns the maximal value.- Returns:
- maximal value
-
setMax
public void setMax(int max)
Sets the maximal value.- Parameters:
max
- maximal value
-
getThreshold1
public int getThreshold1()
Returns the maximal value for lowest indicator.- Returns:
- maximal value for the lowest indicator.
-
setThreshold1
public void setThreshold1(int threshold1)
Sets the maximal value for the lowest indicator.- Parameters:
threshold1
- maximal value for the lowest indicator.
-
getThreshold2
public int getThreshold2()
Returns the maximal value for middle indicator (yellow area).- Returns:
- maximal value for the middle indicator (yellow area).
-
setThreshold2
public void setThreshold2(int threshold2)
Sets the maximal value for the middle indicator (yellow area).- Parameters:
threshold2
- maximal value for the middle indicator (yellow area).
-
-