Changeset 836 for applications/doprava

Show
Ignore:
Timestamp:
02/23/10 15:48:19 (14 years ago)
Author:
smidl
Message:

details

Location:
applications/doprava
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • applications/doprava/Zlicin.cfg

    r820 r836  
    1919      name = "601DVA1"; 
    2020                distance = 100; 
    21       to = ("VC","VD"); 
     21      to_sg = ("VC","VD"); 
    2222    }, 
    2323    { 
    2424      name = "601DVA"; 
    2525                distance = 100; 
    26       to = ("VC","VD"); 
     26      to_sg = ("VC","VD"); 
    2727    } 
    2828  ); 
     
    3636 
    3737  offset = 40; //s 
     38  moje_special=14; 
    3839}, 
    3940{ //agent 2 
  • applications/doprava/main_loop.cpp

    r832 r836  
    5757        glob_ut[11] = 20; 
    5858 
    59         for ( int tK=0;tK<Ds.max_length();tK++ ) { 
     59        for ( int tK=0; tK < Ds.max_length(); tK++ ) { 
    6060                Ds.log_write ( ); // write stuff to  
    6161                Ds.getdata(glob_dt); 
  • applications/doprava/traffic_agent.h

    r820 r836  
    1818                string name;             //! detector name 
    1919                int distance;                //! distance from stop-line 
    20                 RV rv; 
     20 
    2121                //! function loading info from Setting 
    2222                void from_setting(const Setting &set){ 
     
    3030class DetectorIn : public Detector{ 
    3131        string from; // from agent 
    32         Array<string> to; // to signal plans 
     32        Array<string> to_sg; // to signal plans 
    3333        void from_setting(const Setting &set){ 
    3434                Detector::from_setting(set); 
    3535                UI::get(from,set,"from",UI::compulsory); 
    36                 UI::get(to, set, "to", UI::compulsory); 
     36                UI::get(to_sg, set, "to_sg", UI::compulsory); 
    3737        } 
    3838};