public void GetProductsStockDetails() { LogXServer.getInstance().GetProductsStockDetails(); }
private void TransportStatuszvaltozasKezeles(int tpoID, int status) { DevExpress.Xpo.Session session = new Session(); //ha a státusz igényli, akkor törölni kell a tpo-t a db-ből! !! ++++++++++++++++++++ //ha a státusz igényli, akkor törölni kell a tpo-t a plc-ből is!!! ++++++++++++++++++++ //Megkeresni a transzport sort TransportOrder transportOrder = session.FindObject <TransportOrder>(new BinaryOperator("Oid", tpoID)); //LoadCarrier lc = Session.FindObject<LoadCarrier>(new BinaryOperator("Oid", LcType)); //LoadCarrier loadcarrier = //Figyelni hogy ki vagy be mozog a láda (0=Ki, 1=Be) //Kifelé jön if (transportOrder.Type == 0) { switch (status) { case 0: { break; } case 1: { break; } case 2: { // Lokáció felszabadítása //LogXServer.getInstance().ChangeLocationStatus(transportOrder.SourceLocation,2); LogXServer.getInstance().LokacioFelszabadítas(transportOrder.SourceLocation); break; } case 3: { break; } case 4: { break; } case 5: { break; } case 6: { break; } case 7: { break; } case 8: { break; } case 9: { break; } case 10: { break; } } } else { switch (status) { case 0: { break; } case 1: { break; } case 2: { //Booking: Ha befelé megy a láda akkor kell a készleteket könyvelni LogXServer.getInstance().BookingStorageHistory(transportOrder.CommonDetail.Oid); break; } case 3: { break; } case 4: { break; } case 5: { break; } case 6: { break; } case 7: { break; } case 8: { break; } case 9: { break; } case 10: { break; } } } }
//public Product CreateNewProduct(String Identifier, String Name) //{ // return LogXServer.getInstance().CreateNewProduct(Identifier,Name); //} public string CreateNewStorage(string classCode) { return(LogXServer.getInstance().CreateNewStorage(classCode)); }
public string GetAbcClassName(string classCode) { return(LogXServer.getInstance().GetAbcClassName(classCode)); }
public void LcNumPreCalculation(int CtrH) { LogXServer.getInstance().LcNumPreCalculation(CtrH); }
public string CreateNewComission(string classCode) { return(LogXServer.getInstance().CreateNewComission(classCode)); }
public string GetCustomerName(int custID) { return(LogXServer.getInstance().GetCustomerName(custID)); }
public ushort GetNewSorszam(string commonType) { return(LogXServer.getInstance().GetNewSorszam(commonType)); }
public string DoWork(string param1, string param2) { return(LogXServer.getInstance().DoWork(param1, param2)); }
public void SendLoadCarrierBack(int ctrH, int ctrD, int lc, int IocpId, int weight) { LogXServer.getInstance().SendLoadCarrierBack(ctrH, ctrD, lc, IocpId, weight); }
public void ChangeCommonTrHeaderStatus(int CtrhID, int status) { LogXServer.getInstance().ChangeCommonTrHeaderStatus(CtrhID, status); }
public void CallLoadCarriers(int ctrH, string commonType, int iocp, int weight, int lcTypeHeight) { LogXServer.getInstance().CallLoadCarriers(ctrH, commonType, iocp, weight, lcTypeHeight); }
public bool ChangeCommonTrHeaderStatus(int CtrhID, int status) { return(LogXServer.getInstance().ChangeCommonTrHeaderStatus(CtrhID, status)); }