Example #1
0
 protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
 {
     FFTgt_G2H_EFT_BalanceRequest ffTgt = request as FFTgt_G2H_EFT_BalanceRequest;
     if (ffTgt != null)
     {
         MonTgt_G2H_EFT_BalanceRequest monTgt = new MonTgt_G2H_EFT_BalanceRequest()
         {
             PlayerCardNumber = ffTgt.PlayerCardNumber,
             Pin = ffTgt.Pin,
         };
         return monTgt;
     }
     return null;
 }
Example #2
0
        protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_G2H_EFT_BalanceRequest ffTgt = request as FFTgt_G2H_EFT_BalanceRequest;

            if (ffTgt != null)
            {
                MonTgt_G2H_EFT_BalanceRequest monTgt = new MonTgt_G2H_EFT_BalanceRequest()
                {
                    PlayerCardNumber = ffTgt.PlayerCardNumber,
                    Pin = ffTgt.Pin,
                };
                return(monTgt);
            }
            return(null);
        }