Esempio n. 1
0
 public double GetJamLengthMeters(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.JAM_LENGTH_METERS));
 }
Esempio n. 2
0
 public List <string> GetIdList()
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <List <string> >(
              Client,
              "ignored",
              TraCIConstants.CMD_GET_JUNCTION_VARIABLE,
              TraCIConstants.ID_LIST));
 }
Esempio n. 3
0
 public Position2D GetPosition(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <Position2D>(
              Client,
              id,
              TraCIConstants.CMD_GET_JUNCTION_VARIABLE,
              TraCIConstants.VAR_POSITION));
 }
Esempio n. 4
0
 public List <string> GetControlledLanes(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <List <string> >(
              Client,
              id,
              TraCIConstants.CMD_GET_TL_VARIABLE,
              TraCIConstants.TL_CONTROLLED_LANES));
 }
Esempio n. 5
0
 public string GetCurrentProgram(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_TL_VARIABLE,
              TraCIConstants.TL_CURRENT_PROGRAM));
 }
Esempio n. 6
0
 public Color GetColor(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <Color>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_COLOR));
 }
Esempio n. 7
0
 public string GetState(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_TL_VARIABLE,
              TraCIConstants.TL_RED_YELLOW_GREEN_STATE));
 }
Esempio n. 8
0
 public double GetLastStepOccupancy(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.LAST_STEP_OCCUPANCY));
 }
Esempio n. 9
0
 public double GetLanePosition(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_LANEPOSITION));
 }
Esempio n. 10
0
 public double GetLastStepMeanSpeed(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.LAST_STEP_MEAN_SPEED));
 }
Esempio n. 11
0
 public List <string> GetLastStepVehicleIds(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <List <string> >(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.LAST_STEP_VEHICLE_ID_LIST));
 }
Esempio n. 12
0
 public int GetLastStepVehicleNumber(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.LAST_STEP_VEHICLE_NUMBER));
 }
Esempio n. 13
0
 public string GetLaneId(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.VAR_LANE_ID));
 }
Esempio n. 14
0
 public double GetJamLengthVehicle(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_LANEAREA_VARIABLE,
              TraCIConstants.JAM_LENGTH_VEHICLE));
 }
Esempio n. 15
0
 public double GetAngle(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_ANGLE));
 }
Esempio n. 16
0
 public double GetLength(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_LENGTH));
 }
Esempio n. 17
0
 public string GetTypeID(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_TYPE));
 }
Esempio n. 18
0
 public double GetMinGap(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_MINGAP));
 }
Esempio n. 19
0
 public int GetNextSwitch(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_TL_VARIABLE,
              TraCIConstants.TL_NEXT_SWITCH));
 }
Esempio n. 20
0
 public double GetWaitingTime(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_WAITING_TIME));
 }
Esempio n. 21
0
 public int GetPhaseDuration(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_TL_VARIABLE,
              TraCIConstants.TL_PHASE_DURATION));
 }
Esempio n. 22
0
 public string GetNextEdge(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_NEXT_EDGE));
 }
Esempio n. 23
0
 public int GetCurrentPhase(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_TL_VARIABLE,
              TraCIConstants.TL_CURRENT_PHASE));
 }
Esempio n. 24
0
 public int GetRemainingStages(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_STAGES_REMAINING));
 }
 public List <string> GetEdges(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <List <string> >(
              Client,
              id,
              TraCIConstants.CMD_GET_ROUTE_VARIABLE,
              TraCIConstants.VAR_EDGES));
 }
Esempio n. 26
0
 public string GetVehicle(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_VEHICLE));
 }
Esempio n. 27
0
 public int GetIdCount()
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <int>(
              Client,
              "ignored",
              TraCIConstants.CMD_GET_JUNCTION_VARIABLE,
              TraCIConstants.ID_COUNT));
 }
Esempio n. 28
0
 public Position3D GetPosition3D(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <Position3D>(
              Client,
              id,
              TraCIConstants.CMD_GET_PERSON_VARIABLE,
              TraCIConstants.VAR_POSITION3D));
 }
Esempio n. 29
0
 public Polygon GetShape(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <Polygon>(
              Client,
              id,
              TraCIConstants.CMD_GET_JUNCTION_VARIABLE,
              TraCIConstants.VAR_SHAPE));
 }
Esempio n. 30
0
 /// <summary>
 /// Returns the mml-definitions of vehicle classes allowed on this lane
 /// </summary>
 /// <param name="id"></param>
 /// <returns></returns>
 public TraCIResponse <List <string> > GetAllowed(string id)
 {
     return
         (TraCICommandHelper.ExecuteGetCommand <List <string> >(
              Client,
              id,
              TraCIConstants.CMD_GET_LANE_VARIABLE,
              TraCIConstants.LANE_ALLOWED));
 }