示例#1
0
        public Hashtable New()
        {
            Hashtable hshNewTicket = new Hashtable();

            hshNewTicket.Add("TID", TerminalID);
            hshNewTicket.Add("GRPID", GrupID);
            hshNewTicket.Add("BILET_NO", BiletNo);
            hshNewTicket.Add("SIS_TAR", AlinmaTarihi);
            hshNewTicket.Add("TRANSFER", Transfer);
            hshNewTicket.Add("BTNID", ButonID);
            hshNewTicket.Add("OZEL_MUSTERI", Fiktif);

            Hashtable hshInsertState = DBProcess.InsertData("BILETLER", hshNewTicket);

            if (!hshInsertState.ContainsKey("Error"))
            {
                string _BiletID = hshInsertState["Identity"].ToString();                 hshInsertState.Clear();                 hshInsertState = NewQueue(_BiletID);
                if (hshInsertState.ContainsKey("Error"))
                {
                    this.NewQueue(_BiletID);
                }
            }

            return(hshInsertState);
        }
示例#2
0
文件: Mola.DB.cs 项目: realyemin/omes
        public Hashtable New()
        {
            Hashtable hshNewCoffeBreak = new Hashtable();

            hshNewCoffeBreak.Add("PID", PersonelID);
            hshNewCoffeBreak.Add("BAS_TARIH", MolaBaslangic);
            hshNewCoffeBreak.Add("MOLADA", true);

            return(DBProcess.InsertData("MOLALAR", hshNewCoffeBreak));
        }
示例#3
0
        public void Insert()
        {
            Hashtable ht = new Hashtable();

            ht.Add("Secim", Secim);
            ht.Add("Tarih", DateTime.Now);
            ht.Add("TerminalId", TerminalId);

            DBProcess.InsertData("ANKET", ht);
        }
示例#4
0
        public Hashtable New()
        {
            Hashtable hshNewOutOfService = new Hashtable();

            hshNewOutOfService.Add("TID", this.TerminalID);
            hshNewOutOfService.Add("SEBEP", this.KapatmaSebebi);
            hshNewOutOfService.Add("KAP_TAR", this.ServisKapatmaTarihi);
            hshNewOutOfService.Add("KAPALI", true);

            return(DBProcess.InsertData("SERVIS_HAREKET", hshNewOutOfService));
        }
示例#5
0
        private Hashtable NewQueue(string _BiletID)
        {
            Hashtable hshNewQueue = new Hashtable();

            hshNewQueue.Add("BID", _BiletID);
            hshNewQueue.Add("GRPID", GrupID);
            hshNewQueue.Add("BILET_NO", BiletNo);
            hshNewQueue.Add("TRANSFER", Transfer);
            hshNewQueue.Add("OZEL_MUSTERI", Fiktif);

            return(DBProcess.InsertData("KUYRUK", hshNewQueue));
        }