#pragma region WLD file
/// From DAMAGE.BAS - PRIORITY(T); FAULTED(T); REFNUM(T); BASEREPAIRPERS(T); LIFEHRS(T); HRSLEFT(T); MAXHITPOINTS(T); HITPOINTSLEFT(T); Unpowered(T); DEPENDSON(T); MINVOLT(T)
/// numbers could be int/float
/// so we now have support for multiple dependencies...
//int componentNumber; // we are indexing by uniqueName
//char priority; ??
//bool faulted; // internally tracked ... more than just a bool
//float baseRepairPointsPerSecondPhysical; // based on robot and hitpoints
float averageServiceLife; // hours /// WHERE IAN AND I LEFT OFF
short maxHpPhysical; // better than damage percentage because it can be derived and has weight
//bool unpowered; // part of the internal tracking
float minPressure; // minimum voltage to operate, pressure
// from makeship
std::string make, model, description, name;
float weightLbs, replacementCost;
// custom field 1
// custom field 2
// stuff I conjured up
float minTemp, maxTemp; // maxTemp, minTemp 0K to 2000K (melting point of titanium is 1941 K, max ITT for CRJ 900 is 1233 K)
float serviceLifeCycleHit; // hrs, new concept, takes a hit each time unit starts up (lower for solid state devices, high for mechanical devices)
float totalCapacity; // amps generated, coolant gallons per hour (pump), coolant reservoir capacity
#pragma region ASM file
// components attached to other components get heat transfer
GUID attachedTo = GUID_NULL; // like the vib sensor is attached to the engine component, not dependent on except that it is based on the REAL n1
/// internal tracking
float remainingServiceLife; // hours
unsigned char remainingHitpoints;
// relay would have bool, proportional control would have float 0.0 - 1.0
//float operating; // 0.0 to 1.0 for engines, 0.0 or 1.0 for relays?
bool faulted; // more than just a bool
// stuck at last value, no signal, collared, random value in range,
// no signal may be the direct result of the data connection being unavailable!!!
float currentLevel, oldLevel; // how much is in the pipe, how much was in the pipe