123456789101112131415161718 |
- Fish_TelephoneBillDropCFG = {}
- function Fish_TelephoneBillDropCFG:getData(key)
- if self.datas == nil then
- return nil
- end
- return self.datas[key]
- end
- function Fish_TelephoneBillDropCFG:init()
- self.datas = {}
- self.datas[1] = {Id = 1, RechargeLimit = 1000, HistoricalCharges = {0,2000,25,2000,10000,20,10000,20000,15,20000,50000,10,50000,100000,8,100000,100000000,5}}
- self.datas[2] = {Id = 2, RechargeLimit = 500, HistoricalCharges = {0,2000,25,2000,10000,20,10000,20000,15,20000,50000,10,50000,100000,8,100000,100000000,0}}
- self.datas[3] = {Id = 3, RechargeLimit = 100, HistoricalCharges = {0,2000,25,2000,10000,20,10000,20000,0,20000,50000,0,50000,100000,0,100000,100000000,0}}
- self.datas[4] = {Id = 4, RechargeLimit = 0, HistoricalCharges = {0,2000,25,2000,10000,0,10000,20000,0,20000,50000,0,50000,100000,0,100000,100000000,0}}
- end
- Fish_TelephoneBillDropCFG:init()
|