Пример #1
0
        public void UZ_SMS_GetUZ_DOC_Of_NumDoc()
        {
            UZ_SMS sms = new UZ_SMS();

            sms.Connection();
            List <UZ_DOC> list = sms.GetUZ_DOC_Of_NumDoc("74089598");
        }
Пример #2
0
        public void UZ_SMS_GetOTPROfXML()
        {
            XmlDocument xDoc = new XmlDocument();

            xDoc.Load("test1.xml");
            UZ_SMS sms  = new UZ_SMS();
            OTPR   otpr = sms.GetOTPROfXML(xDoc.InnerXml);
        }
Пример #3
0
        public void UZ_SMS_GetOTPR()
        {
            UZ_SMS sms = new UZ_SMS();

            sms.Connection();
            OTPR otpr = sms.GetOTPR("70358690");
            //OTPR otpr1 = sms.GetOTPR("43000000000518178624");
            //OTPR otpr2 = sms.GetOTPR("43000000000518166808");
        }
Пример #4
0
 public IHttpActionResult GetUZ_DOC_Of_Num(string num_doc)
 {
     try
     {
         UZ_SMS sms     = new UZ_SMS(service.WebAPI_UZ);
         bool   res_con = sms.Connection();
         if (res_con)
         {
             List <UZ_DOC> list = sms.GetUZ_DOC_Of_NumDoc(num_doc);
             return(Ok(list));
         }
         else
         {
             return(BadRequest("Ошибка подключения к модулю согласования"));
         }
     }
     catch (Exception e)
     {
         return(BadRequest(e.Message));
     }
 }
Пример #5
0
 public void UZ_SMS_GetLastDTOfUZ_Data()
 {
     UZ_SMS   sms = new UZ_SMS();
     DateTime?ве  = sms.GetLastDT_UZ_DOC();
 }
Пример #6
0
 public void UZ_SMS_GetDocumentOfDB_NumConsignees()
 {
     UZ_SMS        sms  = new UZ_SMS();
     List <UZ_DOC> docs = sms.GetDocumentOfDB_NumConsignees(67860718, new int[] { 7932, 6302, 659 }, 15);
 }
Пример #7
0
 /// <summary>
 ///  Получить ЭПД из промежуточной базы на вагон который отправили
 /// </summary>
 public void UZ_SMS_GetOutgoingDocumentOfDB_NumShipper()
 {
     UZ_SMS sms = new UZ_SMS();
     UZ_DOC doc = sms.GetDocumentOfDB_NumShipper(55120554, new int[] { 7932 }, new DateTime(2021, 04, 13, 2, 15, 00));
 }
Пример #8
0
 public void UZ_SMS_GetArrivalDocumentOfDB_Num()
 {
     UZ_SMS sms = new UZ_SMS();
     UZ_DOC doc = sms.GetDocumentOfDB_NumConsigneesStations(63360465, new int[] { 7932, 6302, 659 }, new int[] { 457905, 466904, 466923, 467004, 467108, 467201 }, DateTime.Now);
 }
Пример #9
0
 public void UZ_SMS_GetDocumentOfDB_Num()
 {
     UZ_SMS sms = new UZ_SMS();
     UZ_DOC doc = sms.GetDocumentOfDB_Num(55120554);
 }