C# Class kOS.Suffixed.Part.SensorValue

Inheritance: PartValue
显示文件 Open project: KSP-KOS/KOS Class Usage Examples

Public Methods

Method Description
GetPowerConsumption ( ) : ScalarValue
PartsToList ( IEnumerable parts, SharedObjects sharedObj ) : ListValue
SensorValue ( global part, ModuleEnviroSensor sensor, SharedObjects sharedObj ) : System.Collections.Generic

Private Methods

Method Description
SensorInitializeSuffixes ( ) : void

Method Details

GetPowerConsumption() public method

public GetPowerConsumption ( ) : ScalarValue
return ScalarValue

PartsToList() public static method

public static PartsToList ( IEnumerable parts, SharedObjects sharedObj ) : ListValue
parts IEnumerable
sharedObj SharedObjects
return ListValue

SensorValue() public method

public SensorValue ( global part, ModuleEnviroSensor sensor, SharedObjects sharedObj ) : System.Collections.Generic
part global
sensor ModuleEnviroSensor
sharedObj SharedObjects
return System.Collections.Generic