Package | Description |
---|---|
io.elevator.building |
Shell Package
The building package encompasses the wrappers organizing components relating to the elevators hardware, including the building itself, the hoistway, and control panels representing the cabin, each floor, and the maintenance room |
io.elevator.components |
The components package encompasses drivers for physical external components (hardware) and some necessary linkages
|
Constructor and Description |
---|
MaintenanceControlPanel(int numOfFloors,
java.lang.Object floorChime,
java.lang.Object emergencyChime,
java.util.List<EnvironmentSensor.BooleanSensor> sensors,
java.util.List<ControlPanel.FloorControlPanel> floors)
The ControlPanel mainButtonsOnPanel stores the floor buttons [null, 1, ..., n] so that the button at index 1
will send you to floor 1.
|
Modifier and Type | Class and Description |
---|---|
static class |
EnvironmentSensor.AlignmentSensor
Represents the alignment of the cabin at a landing utilizing BooleanSensor conditions normal as no cabin
present
.reset() represents the alignment sensor turning off .trigger() represents the alignment sensor turning on .isAligned() returns true if the elevator is aligned at this Alignment Sensor's floor. |
static class |
EnvironmentSensor.CabinSpeedSensor
A basic cabin speed sensor
|
static class |
EnvironmentSensor.CabinWeightSensor
A basic cabin weight sensor
|
static class |
EnvironmentSensor.DoorSensor
Represents the state of the doors of the cabin utilizing BooleanSensor conditions normal as doors closed
.trigger() represents the door having been opened .reset() represents the door having been closed |
static class |
EnvironmentSensor.FireSensor
A basic fire detector
|
static class |
EnvironmentSensor.MaxTolerance
A basic dummy sensor schematic
|
static class |
EnvironmentSensor.MotorSensor
Reports the state of the hoistway motor
|
static class |
EnvironmentSensor.VibrationSensor
A basic vibration sensor
|
Modifier and Type | Method and Description |
---|---|
EnvironmentSensor.BooleanSensor |
EnvironmentSensor.BooleanSensor.experienceProblem()
Set this sensor to inoperable
|
EnvironmentSensor.BooleanSensor |
EnvironmentSensor.BooleanSensor.reset()
Reset this sensor
|
EnvironmentSensor.BooleanSensor |
EnvironmentSensor.MaxTolerance.reset() |
EnvironmentSensor.BooleanSensor |
EnvironmentSensor.BooleanSensor.trigger()
Set this sensor to display adverse conditions
|
EnvironmentSensor.BooleanSensor |
EnvironmentSensor.MaxTolerance.trigger()
Set this sensor to display adverse conditions, represents that by placing the current value outside the max
value
|