public class LoadingTable extends StepsHelper.DataSteps
| Modifier and Type | Field and Description |
|---|---|
protected Camion |
camion
camion en cours
|
protected Chargement |
chargement
chargement en cours
|
protected ChargementUsineConfig |
config
la config du chargement d'une usine
|
protected Date |
currentDate
l'heure courante (null si pas dans la fenetre a afficher)
|
protected int |
currentDateNbPixelForMinute
Decalage dans l'heure en pixel pour la date courante
|
protected Day[] |
days
les jours
|
protected Date |
endingDate
la borne superieure de la fenetre a afficher
|
static int |
ETAPE_STATUS_CHARGED
etape charge, statut venant de IBU
|
static int |
ETAPE_STATUS_TERMINED
etape termine, statut venant du PDA
|
protected Column[] |
hours
les heures *
|
protected org.apache.commons.logging.Log |
log
log
|
protected int |
nbPixelPerHour
le nombre de pixel d'une heure
|
protected static float |
QUANTITY_TIME_UNIT
Unite entre la quantite et le temps
|
protected Map<String,Column[]> |
rows
les lignes du tables
|
protected Date |
startingDate
la borne inferieure de la fenetre a afficher
|
static int |
TOUR_STATUS_DELIVERY
tour en cours de livraison, statut venant du PDA
|
static int |
TOUR_STATUS_TERMINED
tour termine, statut venant du PDA
|
tour| Constructor and Description |
|---|
LoadingTable(Date currentDate) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addChargement(String camionId,
Chargement chargement) |
protected void |
addDataStep(Etape step) |
protected void |
addDataStep(SuiviEtape step) |
protected void |
addDataStep(SuiviUsine factory) |
protected void |
addDataStep(Usine factory) |
Date |
getCurrentDate() |
int |
getCurrentDateNbPixelForMinute() |
Day[] |
getDays() |
Date |
getEndingDate() |
Column[] |
getHours() |
int |
getNbPixelPerHour() |
Map<String,Column[]> |
getRows() |
Date |
getStartingDate() |
void |
init(Date startingDate,
Date endingDate,
ChargementUsineConfig config) |
void |
initRows() |
protected void |
setStatutChargement(Chargement chargement,
StatutEnum statut) |
beginTour, endTourprotected org.apache.commons.logging.Log log
protected static float QUANTITY_TIME_UNIT
protected Date startingDate
protected Date endingDate
protected Date currentDate
protected int currentDateNbPixelForMinute
protected int nbPixelPerHour
protected Column[] hours
protected ChargementUsineConfig config
protected Day[] days
protected Chargement chargement
protected Camion camion
public static int ETAPE_STATUS_TERMINED
public static int ETAPE_STATUS_CHARGED
public static int TOUR_STATUS_TERMINED
public static int TOUR_STATUS_DELIVERY
public LoadingTable(Date currentDate)
public void init(Date startingDate, Date endingDate, ChargementUsineConfig config)
public void initRows()
public Date getStartingDate()
public Date getEndingDate()
public Date getCurrentDate()
public int getNbPixelPerHour()
public Day[] getDays()
public Column[] getHours()
public int getCurrentDateNbPixelForMinute()
protected void addDataStep(Etape step)
addDataStep in class StepsHelper.DataStepsprotected void addDataStep(Usine factory)
addDataStep in class StepsHelper.DataStepsprotected void addDataStep(SuiviEtape step)
addDataStep in class StepsHelper.DataStepsprotected void addDataStep(SuiviUsine factory)
addDataStep in class StepsHelper.DataStepsprotected void setStatutChargement(Chargement chargement, StatutEnum statut)
protected void addChargement(String camionId, Chargement chargement)
Copyright © 2008-2013 Cybelia. All Rights Reserved.