public class Flags extends Object
Constructor and Description |
---|
Flags()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
bool(double fakeBool)
Return boolean from double.
|
double |
getSw(int position)
Getter for a particular element in the sw array.
|
double |
getSwc(int position)
Getter for a particular element in the swc array.
|
int[] |
getSwitches()
Getter for switches.
|
void |
setSwitches(int[] inSwitches)
Setter for switches.
|
void |
setSwitches(int position,
int value)
Setter for a specific element of the switches array.
|
void |
tselec()
Prepare sw and swc.
|
public boolean bool(double fakeBool)
fakeBool
- doublepublic double getSw(int position)
position
- position in the arraypublic double getSwc(int position)
position
- position in the arraypublic int[] getSwitches()
public void setSwitches(int position, int value)
position
- position in the arrayvalue
- new value.public void setSwitches(int[] inSwitches)
inSwitches
- the switches to setpublic void tselec()
Copyright © 2017 CNES. All rights reserved.