Avionics
Dropship Simulator
Enumerations.h
Go to the documentation of this file.
1
#pragma once
2
3
namespace
Systems
4
{
5
enum
System
6
{
7
Undefined
,
8
Propulsion
,
// N1, N2, combustion chamber
9
Hydraulic
,
// pump, reservoir, actuator
10
Cooling
,
// pump, reservoir, intercooler, fan
11
Oxidizer
,
// pump, reservoir
12
Fuel
,
// pump, reservoir
13
Electrical
,
// battery, reactor, charger, waveguides
14
Control
,
15
Data
,
16
Weapons
,
17
Defense
,
18
Communication
// black box
19
};
20
21
enum
ComponentType
22
{
24
Reservoir
= 0,
26
PressurePump
= 1,
28
DisplacementPump
= 2,
30
Hard_Switch
= 3,
32
Solenoid_Relay
= 4,
34
Optocoupler
= 5,
36
Actuator
= 6,
38
Intercooler
= 7,
// always part of coolant? what if it is from fuel to oil?
39
Sensor_Pressure
= 8,
40
Sensor_Flow
= 9,
41
Sensor_Quantity
= 10,
42
Sensor_Position
= 11,
43
Sensor_Temperature
= 12,
44
Sensor_Vibration
= 13,
45
Sensor_Rotation
= 14,
46
Combustion_Chamber
= 15,
47
Hardpoint
= 16,
49
Sensor_Real
= 17,
50
N1_
= 18,
51
N2_
= 19,
52
Motor_
= 20,
53
BlackBoxModule
= 21,
54
Igniter_
= 22
55
};
56
57
enum
Fault
: DWORD
// we get 32 of these that can be combined!
58
{
59
None
= 0,
60
NoSignal
= 1,
// stuck at last value, no signal, collared, random value in range,
61
// for connectors it is OK or NOT and if it is NOT it could be BLOCKED, CUT (fluid leaks)
62
Status1
= 2,
63
Status2
= 4,
64
Status3
= 8
65
};
66
}
Systems::Status3
Definition:
Enumerations.h:64
Systems::Weapons
Definition:
Enumerations.h:16
Systems::Fuel
Definition:
Enumerations.h:12
Systems::Intercooler
Heat exchange.
Definition:
Enumerations.h:38
Systems::Igniter_
Definition:
Enumerations.h:54
Systems::None
Definition:
Enumerations.h:59
Systems::Cooling
Definition:
Enumerations.h:10
Systems
These have to be in this order.
Definition:
BaseComponent.h:12
Systems::Hardpoint
Definition:
Enumerations.h:47
Systems::Control
Definition:
Enumerations.h:14
Systems::Motor_
Definition:
Enumerations.h:52
Systems::Defense
Definition:
Enumerations.h:17
Systems::Hard_Switch
Hard switch.
Definition:
Enumerations.h:30
Systems::Oxidizer
Definition:
Enumerations.h:11
Systems::Sensor_Flow
Definition:
Enumerations.h:40
Systems::ComponentType
ComponentType
Definition:
Enumerations.h:21
Systems::Communication
Definition:
Enumerations.h:18
Systems::Sensor_Rotation
Definition:
Enumerations.h:45
Systems::Status1
Definition:
Enumerations.h:62
Systems::BlackBoxModule
Definition:
Enumerations.h:53
Systems::PressurePump
Hydraulic pump.
Definition:
Enumerations.h:26
Systems::Propulsion
Definition:
Enumerations.h:8
Systems::Hydraulic
Definition:
Enumerations.h:9
Systems::Sensor_Pressure
Definition:
Enumerations.h:39
Systems::Sensor_Temperature
Definition:
Enumerations.h:43
Systems::N1_
Definition:
Enumerations.h:50
Systems::Data
Definition:
Enumerations.h:15
Systems::Combustion_Chamber
Definition:
Enumerations.h:46
Systems::Sensor_Position
Definition:
Enumerations.h:42
Systems::Sensor_Vibration
Definition:
Enumerations.h:44
Systems::Optocoupler
Uses data control to turn on and off flow.
Definition:
Enumerations.h:34
Systems::Undefined
Definition:
Enumerations.h:7
Systems::N2_
Definition:
Enumerations.h:51
Systems::Status2
Definition:
Enumerations.h:63
Systems::System
System
Definition:
Enumerations.h:5
Systems::Sensor_Real
Is a real environment-related simulator sensor.
Definition:
Enumerations.h:49
Systems::Solenoid_Relay
Uses control voltage control to turn on and off flow.
Definition:
Enumerations.h:32
Systems::Electrical
Definition:
Enumerations.h:13
Systems::Fault
Fault
Definition:
Enumerations.h:57
Systems::NoSignal
Definition:
Enumerations.h:60
Systems::DisplacementPump
Charger, coolant pump, cooling fan motor.
Definition:
Enumerations.h:28
Systems::Actuator
Movement.
Definition:
Enumerations.h:36
Systems::Reservoir
Tank, battery.
Definition:
Enumerations.h:24
Systems::Sensor_Quantity
Definition:
Enumerations.h:41
Enumerations.h
Generated on Sat Feb 13 2021 09:30:41 for Avionics by
1.8.14