Changeset 920 for branches/gui


Ignore:
Timestamp:
Feb 26, 2010, 2:20:34 PM (12 years ago)
Author:
Rafael de Pelegrini Soares
Message:

Added color support

Location:
branches/gui/eml
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/eml/pressure_changers/valve.mso

    r909 r920  
    129129in      Inlet                   as stream       (Brief ="Inlet stream", PosX=0, PosY=0.7365, Symbol="_{in}",Protected=true);
    130130out     Outlet                  as stream       (Brief ="Outlet stream", PosX=1, PosY=0.7365, Symbol="_{out}",Protected=true);
    131 in      FlowFraction    as fraction (Brief ="Flow Signal", PosX=0.5, PosY=0,Protected=true);
     131in      FlowFraction    as control_signal (Brief ="Flow Signal", PosX=0.5, PosY=0,Protected=true);
    132132       
    133133EQUATIONS
  • branches/gui/eml/types.mso

    r867 r920  
    3333fraction as Real (Brief = "Fraction" , Default=0.5, Lower=-1e-6, Upper=1.00001);
    3434percent as Real (Brief = "Percent", Default=50, final Lower=0, final Upper=100);
    35 control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9);
     35control_signal as Real (Brief = "Control Signal", Default=1, Lower=-1e9, Upper=1e9, Color="Gray60");
    3636efficiency as Real (Brief = "Efficiency", Default=0.5, final Lower=0, final Upper=1);
    3737
     
    131131energy_mass as Real (Brief = "Energy per mass", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kg');
    132132energy_mol as Real (Brief = "Energy per mol", Default=10000, Lower=-1e15, Upper=1e15, final Unit = 'kJ/kmol');
    133 power as Real (Brief = "Power", Default=10, Lower=-1e8, Upper=1e8, final Unit = 'kW');
     133power as Real (Brief = "Power", Default=10, Lower=-1e8, Upper=1e8, final Unit = 'kW', Color="Red");
    134134
    135135
Note: See TracChangeset for help on using the changeset viewer.