コード例 #1
0
 public void GetProductsStockDetails()
 {
     LogXServer.getInstance().GetProductsStockDetails();
 }
コード例 #2
0
        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;
                }
                }
            }
        }
コード例 #3
0
        //public Product CreateNewProduct(String Identifier, String Name)
        //{
        //    return LogXServer.getInstance().CreateNewProduct(Identifier,Name);
        //}

        public string CreateNewStorage(string classCode)
        {
            return(LogXServer.getInstance().CreateNewStorage(classCode));
        }
コード例 #4
0
 public string GetAbcClassName(string classCode)
 {
     return(LogXServer.getInstance().GetAbcClassName(classCode));
 }
コード例 #5
0
 public void LcNumPreCalculation(int CtrH)
 {
     LogXServer.getInstance().LcNumPreCalculation(CtrH);
 }
コード例 #6
0
 public string CreateNewComission(string classCode)
 {
     return(LogXServer.getInstance().CreateNewComission(classCode));
 }
コード例 #7
0
 public string GetCustomerName(int custID)
 {
     return(LogXServer.getInstance().GetCustomerName(custID));
 }
コード例 #8
0
 public ushort GetNewSorszam(string commonType)
 {
     return(LogXServer.getInstance().GetNewSorszam(commonType));
 }
コード例 #9
0
 public string DoWork(string param1, string param2)
 {
     return(LogXServer.getInstance().DoWork(param1, param2));
 }
コード例 #10
0
 public void SendLoadCarrierBack(int ctrH, int ctrD, int lc, int IocpId, int weight)
 {
     LogXServer.getInstance().SendLoadCarrierBack(ctrH, ctrD, lc, IocpId, weight);
 }
コード例 #11
0
 public void ChangeCommonTrHeaderStatus(int CtrhID, int status)
 {
     LogXServer.getInstance().ChangeCommonTrHeaderStatus(CtrhID, status);
 }
コード例 #12
0
 public void CallLoadCarriers(int ctrH, string commonType, int iocp, int weight, int lcTypeHeight)
 {
     LogXServer.getInstance().CallLoadCarriers(ctrH, commonType, iocp, weight, lcTypeHeight);
 }
コード例 #13
0
 public bool ChangeCommonTrHeaderStatus(int CtrhID, int status)
 {
     return(LogXServer.getInstance().ChangeCommonTrHeaderStatus(CtrhID, status));
 }