Generic types for vessel instruments.
{
module types
{
struct TypeTest
{
char charVal;
octet uint8Val;
short int16Val;
unsigned short uint16Val;
long int32Val;
unsigned long uint32Val;
long long int64Val;
unsigned long long uint64Val;
float floatVal;
double doubleVal;
boolean boolVal;
string stringVal;
};
#pragma keylist TypeTest
struct ArrayTest
{
long vals[3];
TypeTest test;
};
struct Int8Val
{
char val;
};
#pragma keylist Int8Val
struct Uint8Val
{
octet val;
};
#pragma keylist Uint8Val
struct Int16Val
{
short val;
};
#pragma keylist Int16Val
struct Uint16Val
{
unsigned short val;
};
#pragma keylist Uint16Val
struct Int32Val
{
long val;
};
#pragma keylist Int32Val
struct Uint32Val
{
unsigned long val;
};
#pragma keylist Uint32Val
struct Int64Val
{
long long val;
};
#pragma keylist Int64Val
struct Uint64Val
{
unsigned long long val;
};
#pragma keylist Uint64Val
struct CharVal
{
char val;
};
#pragma keylist CharVal
struct BoolVal
{
boolean val;
};
#pragma keylist BoolVal
struct FloatVal
{
float val;
};
#pragma keylist FloatVal
struct ShortVal
{
short val;
};
#pragma keylist ShortVal
struct DoubleVal
{
double val;
};
#pragma keylist DoubleVal
struct StringVal
{
string val;
};
#pragma keylist StringVal
struct Double2
{
double x;
double y;
};
#pragma keylist Double2
struct Double3
{
double x;
double y;
double z;
};
#pragma keylist Double3
struct Double4
{
double x;
double y;
double z;
double w;
};
#pragma keylist Double4
struct Float3
{
float x;
float y;
float z;
};
#pragma keylist Float3
struct VectorChar
{
sequence<char> vals;
};
#pragma keylist VectorChar
struct ArrayFloat
{
short arrayid;
sequence<float> vals;
};
#pragma keylist ArrayFloat arrayid
struct ArrayDouble
{
short arrayid;
sequence<double> vals;
};
#pragma keylist ArrayDouble arrayid
struct Point2D
{
float x;
float y;
};
#pragma keylist Point2D
struct Line2D
{
sequence<float> x;
sequence<float> y;
};
#pragma keylist Line2D
struct PositionGlobal2D
{
double lat;
double lon;
};
#pragma keylist PositionGlobal2D
struct PositionLocal2D
{
double x;
double y;
};
#pragma keylist PositionLocal2D
struct PosInfo
{
double lat;
double lon;
double sog;
double cog;
};
#pragma keylist PosInfo
struct GyroInfo
{
double hdt;
double rot;
};
#pragma keylist GyroInfo
struct WindInfo
{
double trueSpeed;
double trueDir;
double relSpeed;
double relDir;
double trueWindRelDir;
};
#pragma keylist WindInfo
struct DepthInfo
{
double depth;
double depthBelowTransducer;
};
#pragma keylist DepthInfo
struct LogInfo
{
double speed;
};
#pragma keylist LogInfo
struct WinchInfo
{
double extractedWire;
double tension;
double speed;
double rpm;
double oilPressure;
};
#pragma keylist WinchInfo
struct FlowRateInfo
{
double rate;
double rate1;
double rate2;
};
#pragma keylist FlowRateInfo
struct FlowTotalInfo
{
double total;
double total1;
double total2;
};
#pragma keylist FlowTotalInfo
struct CurrentAtDepth
{
double speed;
double direction;
double depth;
};
#pragma keylist CurrentAtDepth
struct CurrentProfile
{
sequence<CurrentAtDepth> currents;
};
#pragma keylist CurrentProfile
struct Machinery
{
double auxCons;
double auxElProd;
double auxLoad_kW;
double meCons;
double meLoad_kW;
double meRpm;
double sumCons;
double sumElProd;
double sumLoad_kW;
double ptiPower;
double ptoPower;
double sfc;
};
struct Propulsion
{
double efficiency;
double pitchPd;
double pitchPercent;
double rpm;
double power;
double thrust;
double torque;
double speed;
double powerToPropellerJet;
};
struct CommonVesselInfo
{
Machinery machinery;
Propulsion propulsion;
double nfc;
};
#pragma keylist CommonVesselInfo
};
};
Definition: DecisionSupport.idl:1