Changeset 128

Show
Ignore:
Timestamp:
06/20/08 13:55:30 (16 years ago)
Author:
smidl
Message:
 
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • pmsm/pmsm.h

    r94 r128  
    33 
    44#include <stat/libFN.h> 
    5 #include <userinfo.h> 
    6  
    75 
    86//TODO hardcoded RVs!!! 
     
    119RV ry ( "7 8", "{oia oib }", ones_i ( 2 ) ,zeros_i ( 2 )); 
    1210 
    13 class uipmsm : public uibase{ 
    14         double Rs, Ls, dt, Ypm, kp, p,  J, Mz; 
    15 }; 
     11// class uipmsm : public uibase{ 
     12//      double Rs, Ls, dt, Ypm, kp, p,  J, Mz; 
     13// }; 
    1614 
    1715//! State evolution model for a PMSM drive and its derivative with respect to \$x\$ 
  • tests/testUI.cpp

    r122 r128  
    2222         
    2323        EngineUI() 
    24                 : UserInfo( "engine", "type of engine" ), 
     24                : UserInfo<Engine>( "engine", "type of engine" ), 
    2525                producer( "producer"), 
    2626                consumption( "consumption") 
     
    6262 
    6363        CarUI() 
    64                 : UserInfo("car", "type of a car"),  
     64                : UserInfo<Car>("car", "type of a car"),  
    6565                color( "color"),  
    66                 year( "year" ) 
     66                year( "color" ) 
    6767        { 
    6868                engine.Attach( elements );