com.azalient.api.b.parameters
Interface IEngineRecord

All Superinterfaces:
IRecord, RecordR, RecordRW, RecordW, SortableData, StoreRecordRW

public interface IEngineRecord
extends StoreRecordRW

An engine record is one row in the table in the file holding a single value of acceleration, deceleration or an emission


Nested Class Summary
static class IEngineRecord.EngineRecordType
          An enumeration of record types
 
Field Summary
 
Fields inherited from interface com.azalient.api.a.tables.IRecord
DELETED, KEY_SEP, KEY_SEP_CHAR
 
Method Summary
 double acceleration()
          The "output" acceleration or deceleration for this record, or the "input" acceleration to which this record entry applies for emissions
 IEngine.Emission emission()
          The emission type for this record, if it is an emission record
 double gradient()
          The gradient to which this record entry applies (for acceleration and deceleration)
 double gramsPerSecond()
          The emission rate for this record, if it is an emission record
 int index()
          The index of this record
 double speed()
          The speed (m/s) to which this record entry applies
 IEngineRecord.EngineRecordType type()
          The type of the record
 
Methods inherited from interface com.azalient.api.file.StoreRecordRW
canRename, rename, store
 
Methods inherited from interface com.azalient.api.file.RecordR
extraSet, finished, isApplicable, isEditable, set
 
Methods inherited from interface com.azalient.api.a.tables.IRecord
name
 
Methods inherited from interface com.azalient.api.file.RecordW
extraCols, extraGet, extraGetB, extraGetD, extraGetI, extraGetS, extraGetT, get, isVolatile
 

Method Detail

index

int index()
The index of this record


type

IEngineRecord.EngineRecordType type()
The type of the record


speed

double speed()
The speed (m/s) to which this record entry applies


gradient

double gradient()
The gradient to which this record entry applies (for acceleration and deceleration)


acceleration

double acceleration()
The "output" acceleration or deceleration for this record, or the "input" acceleration to which this record entry applies for emissions


emission

IEngine.Emission emission()
The emission type for this record, if it is an emission record


gramsPerSecond

double gramsPerSecond()
The emission rate for this record, if it is an emission record