ar.edu.unr.fceia.bottallo
Class Temp_info

java.lang.Object
  extended by ar.edu.unr.fceia.bottallo.Temp_info

public class Temp_info
extends java.lang.Object

Temporized information of a Statecharts state


Constructor Summary
Temp_info()
          Creates a new instance of State_Temporized
 
Method Summary
protected  int getStayTime()
          Get the stay time, useful to check if a limit is reached
protected  int getTimeLowLimit()
          Get the low time-limt
protected  int getTimeUpLimit()
          Get the up time-limt
protected  boolean passLowLimit()
          Check if the low time limit is reached
protected  void setStayTime(int t)
          Set the stay time, useful to reset the permanence time
protected  void setTimeLowLimit(int t)
          Set the low time-limt
protected  void setTimeUpLimit(int t)
          Set the up time-limt
protected  void tic()
          Increment in an unit of time the permanence in the temporized state
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Temp_info

public Temp_info()
Creates a new instance of State_Temporized

Method Detail

tic

protected void tic()
Increment in an unit of time the permanence in the temporized state


setTimeLowLimit

protected void setTimeLowLimit(int t)
Set the low time-limt


getTimeLowLimit

protected int getTimeLowLimit()
Get the low time-limt


setTimeUpLimit

protected void setTimeUpLimit(int t)
Set the up time-limt


getTimeUpLimit

protected int getTimeUpLimit()
Get the up time-limt


setStayTime

protected void setStayTime(int t)
Set the stay time, useful to reset the permanence time


getStayTime

protected int getStayTime()
Get the stay time, useful to check if a limit is reached


passLowLimit

protected boolean passLowLimit()
Check if the low time limit is reached