Ejemplo n.º 1
0
 public LotteryOpenNotify(bool isUseSniffer)
 {
     if (isUseSniffer)
         GetOpenDataService = new SnifferLotteryDataProvider();
     else
     {
         GetOpenDataService = new ApiLotteryDataProvider()
         {
             AgentId = base.AgentId,
             AgentPwd = base.AgentPwd,
             ApiUrl = base.ApiUrl,
             TransType = base.TransType
         };
     }
 }
Ejemplo n.º 2
0
 public LotteryOpenNotify(bool isUseSniffer)
 {
     if (isUseSniffer)
     {
         GetOpenDataService = new SnifferLotteryDataProvider();
     }
     else
     {
         GetOpenDataService = new ApiLotteryDataProvider()
         {
             AgentId   = base.AgentId,
             AgentPwd  = base.AgentPwd,
             ApiUrl    = base.ApiUrl,
             TransType = base.TransType
         };
     }
 }