internal override string GetLabel(Vessel vessel, EvaluationContext context, SubRequirementState state)
        {
            EquipmentRunningState equipmentRunningState = (EquipmentRunningState)state;
            string label = EquipmentData.StatusInfo(equipmentRunningState.equipmentState);

            if (!string.IsNullOrEmpty(shortDescription))
            {
                label = shortDescription + ": " + label;
            }
            return(label);
        }
Example #2
0
 public virtual void Update()
 {
     Events["ToggleEvent"].guiName = Lib.StatusToggle(Lib.Ellipsis(title, 25), EquipmentData <TModule, TData> .StatusInfo(moduleData.state));
 }