public class Flags extends Object implements Serializable
| Constructor and Description |
|---|
Flags() |
| 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[] switches)
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[] switches)
switches - the switches to setpublic void tselec()
Copyright © 2025 CNES. All rights reserved.