Class ResourceManagerPartEntry
public class ResourceManagerPartEntry : ApiDataContext, IDisposable, IDataContext, IDataContextReadonly, IDataContextWritable
- Inheritance
-
ResourceManagerPartEntry
- Implements
- Inherited Members
- Extension Methods
Constructors
ResourceManagerPartEntry(ResourceManagerUI, VesselComponent, PartComponent, int)
public ResourceManagerPartEntry(ResourceManagerUI resourceManagerUI, VesselComponent activeVessel, PartComponent part, int partIndex)
Parameters
resourceManagerUIResourceManagerUIactiveVesselVesselComponentpartPartComponentpartIndexint
Fields
Containers
[DataList("ContainersList")]
public ContextListProperty<ResourceManagerContainerEntry> Containers
Field Value
Guid
[DataProperty("GUID")]
public PropertyReadonly<IGGuid> Guid
Field Value
IsHighlighted
[DataProperty("IsHighlighted")]
public Property<bool> IsHighlighted
Field Value
IsInTransferList
[DataProperty("IsInTransferList")]
public PropertyReadonly<bool> IsInTransferList
Field Value
PartFamily
[DataProperty("PartFamily")]
public Property<string> PartFamily
Field Value
PartIndex
[DataProperty("PartIndex")]
public PropertyReadonly<int> PartIndex
Field Value
PartName
[DataProperty("PartName")]
public Property<string> PartName
Field Value
Properties
GetPartFamily
public string GetPartFamily { get; }
Property Value
GetPartName
public string GetPartName { get; }
Property Value
Methods
AddFlowRequest(ResourceFlowRequestCommandConfig)
public void AddFlowRequest(ResourceFlowRequestCommandConfig newRequestConfig)
Parameters
newRequestConfigResourceFlowRequestCommandConfig
AreFlowRequestsDone()
public bool AreFlowRequestsDone()
Returns
ClearFlowStates()
public void ClearFlowStates()
HasFlowRequests()
public bool HasFlowRequests()
Returns
SetResourceContainersToFlowState(ResourceDefinitionID, FlowState)
public void SetResourceContainersToFlowState(ResourceDefinitionID resourceID, FlowState flowState)
Parameters
resourceIDResourceDefinitionIDflowStateFlowState
StartResourceTransfer()
public bool StartResourceTransfer()
Returns
StopResourceTransfer()
public void StopResourceTransfer()