//----------------------- public CRF_Consumer(string aName, string aLabel, Color aColor, double Demand) : base(aName, aLabel, aColor) { FValue = Demand; // OK Setup Resources using Flux List to avoid confusion between Resources and Consumers FResources = FFluxs; }
//----------------------- public CRF_Resource(string aName, string aLabel, Color aColor, double AvailableSupply) : base(aName, aLabel, aColor) { FValue = AvailableSupply; // OK Setup Consumers using Flux List to avoid confusion between Resources and Consumers FConsumerList = FFluxs; }
///------------------------------------------------------------------------------------------------- /// <summary> Constructor. </summary> /// /// <param name="aName"> The name. This is the local named used for object identification, best if unique, but not neccesary, best if short </param> ///------------------------------------------------------------------------------------------------- public CRF_DataItem(string aName) : base() { FFluxs = new CRF_FluxList(this); FName = aName; FLabel = aName; }
///------------------------------------------------------------------------------------------------- /// <summary> Constructor. </summary> /// /// <param name="aName"> The name. </param> /// <param name="aLabel"> The label. This is the string that will be used to label this item in visualizations</param> /// <param name="aColor"> The color. This will be the color of the label</param> ///------------------------------------------------------------------------------------------------- public CRF_DataItem(string aName, string aLabel, Color aColor) : base() { FFluxs = new CRF_FluxList(this); FName = aName; FLabel = aLabel; FColor = aColor; }
/// <summary> Default constructor. </summary> public CRF_DataItem() { FFluxs = new CRF_FluxList(this); FName = FKey.ToString(); FLabel = FName; }
//----------------------- public CRF_Consumer(string aName) : base(aName) { // OK Setup Resources using Flux List to avoid confusion between Resources and Consumers FResources = FFluxs; }
//----------------------- public CRF_Resource(string aName, string aLabel, Color aColor) : base(aName, aLabel, aColor) { // OK Setup Consumers using Flux List to avoid confusion between Resources and Consumers FConsumerList = FFluxs; }