cz.luboss.pensum.factory
Interface PeDataMachine

All Superinterfaces:
MeDataMachine
All Known Implementing Classes:
PeDataMachineRMI, PeDataMachineSQL

public interface PeDataMachine
extends MeDataMachine

Tovarna pro business funkce Pensum


Method Summary
 boolean AddProduct(int nSessionID, PeJob job, PeProduct product)
          Prida vyrobek do jobu
 boolean SetStavOper(int nSessionID, PeRunOperation operation, int nStav)
          Nastavi na operaci stav
 boolean SetStavPart(int nSessionID, PeRunPart part, int nStav)
          Nastavi na dilci a jeho operacich stav
 boolean SetStavProduct(int nSessionID, PeRunProduct product, int nStav)
          Nastavi na produktu a jeho dilcich stav
 
Methods inherited from interface cz.luboss.medulla.factory.MeDataMachine
AddSequenceID, GetActualSessions, GetConnect, IsValidSession, LoadArray, LoadData, LoadSession, SaveTrans, sendTest, SetConnect
 

Method Detail

AddProduct

public boolean AddProduct(int nSessionID,
                          PeJob job,
                          PeProduct product)
Prida vyrobek do jobu

Parameters:
nSessionID - Session
job - job, do ktereho je treba dat cely vyrobek
product - vkladany vyrobek
Returns:
prubeh funkce

SetStavProduct

public boolean SetStavProduct(int nSessionID,
                              PeRunProduct product,
                              int nStav)
Nastavi na produktu a jeho dilcich stav

Parameters:
nSessionID - Session
product - vyrobek
nStav - stav pro nastaveni
Returns:
prubeh funkce

SetStavPart

public boolean SetStavPart(int nSessionID,
                           PeRunPart part,
                           int nStav)
Nastavi na dilci a jeho operacich stav

Parameters:
nSessionID - Session
part - dilec
nStav - stav pro nastaveni
Returns:
prubeh funkce

SetStavOper

public boolean SetStavOper(int nSessionID,
                           PeRunOperation operation,
                           int nStav)
Nastavi na operaci stav

Parameters:
nSessionID - Session
operation - operace
nStav - stav pro nastaveni
Returns:
prubeh funkce