예제 #1
0
        public CarrierInfo GetSidBidForCellId(string cellId)
        {
            // leverage our db interface to get the SID/BID for this cellId
            CarrierInfo ci = m_dbMgr.GetSidBidForCellId(cellId);

            return(ci);
        }
예제 #2
0
파일: Form1.cs 프로젝트: nuevollc/Nuevo
        private void TestTaxRate_Click(object sender, EventArgs e)
        {
            CiberTaxMgr     ct  = new CiberTaxMgr();
            CiberDbMgr      cdb = new CiberDbMgr();
            CiberRateEngine cr  = new CiberRateEngine();

            CarrierInfo ci = cdb.GetSidBidForCellId("1633");

            ci.HomeCarrier = ServiceProvider.Verizon;


            string chg = cr.CalculateAirTimeChargeAmount("001030", ci);

            //string tax1 = ct.GetTaxAmount("0000002000", ci );
            //ci = cdb.GetSidBidForCellId("1681");
            //string tax2 = ct.GetTaxAmount("0000002000", ci);
        }