Ignore:
Timestamp:
Mar 15, 2007, 10:11:56 PM (16 years ago)
Author:
Argimiro Resende Secchi
Message:

Remove some warnings from samples.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newlanguage/sample/miscellaneous/sample_calc_object.mso

    r176 r217  
    4545Model Calc as CalcBasic
    4646        PARAMETERS
    47 outer obj as Plugin;
    48 
     47outer obj as Plugin(Type="sample");
     48        dummy as Real(Default=0);
     49       
    4950        EQUATIONS
    50         r1 = obj.method1(T, P);
     51        r1 = obj.method1(T, dummy);
    5152        r2 = obj.method2(T, P);
    5253        r3 = obj.method3(z);
     
    7677FlowSheet CalcTest
    7778        PARAMETERS
    78         obj     as Plugin(File = "calcsample");
     79        obj     as Plugin(Type="sample");
    7980        NoComps as Integer(Default = 5);
    80        
     81
    8182        DEVICES
    8283        calc1   as Calc;
     
    100101        OPTIONS
    101102        RelativeAccuracy = 1e-6;
    102         #mode = "steady";
     103        Dynamic = false;
    103104end
    104105
Note: See TracChangeset for help on using the changeset viewer.