Exemplo n.º 1
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFTCHAR_Response tgtSrc = request as MonTgt_H2G_GVA_EFTCHAR_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_Char_Response tgtSub = new FFTgt_H2G_GVA_EFT_Char_Response()
                {
                    IsAutoDepositEnabledForCashableOnCardOut = tgtSrc.IsAutoDepositEnabledForCashableOnCardOut,
                    IsAutoDepositEnabledForNonCashableOnCardOut=tgtSrc.IsAutoDepositEnabledForNonCashableOnCardOut,
                    IsAutoDownloadEnabled=tgtSrc.IsAutoDownloadEnabled,
                    IsAutoTopEnabled=tgtSrc.IsAutoTopEnabled,
                    IsCashableDpositEnabled=tgtSrc.IsCashableDpositEnabled,
                    IsCashlessSmartCardEnabled=tgtSrc.IsCashlessSmartCardEnabled,
                    ISCashWithdrawalEnabled=tgtSrc.ISCashWithdrawalEnabled,
                    IsEftEnabled=tgtSrc.IsEftEnabled,
                    IsFullDownloadEnabled=tgtSrc.IsFullDownloadEnabled,
                    IsNon_CashableDepositEnabled=tgtSrc.IsNon_CashableDepositEnabled,
                    IsOfferEnabled=tgtSrc.IsOfferEnabled,
                    IsPartialTransferEnabled=tgtSrc.IsPartialTransferEnabled,
                    IsPointsWithdrawalEnabled=tgtSrc.IsPointsWithdrawalEnabled
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 2
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_LimitReachedNotificationMessage_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_LimitReachedNotificationMessage monTgt = request as MonTgt_H2G_PC_LimitReachedNotificationMessage;
                    if (monTgt == null) return null;

                    FFTgt_H2G_PC_LimitReachedNotificationMessage ffTgt = new FFTgt_H2G_PC_LimitReachedNotificationMessage()
                    {
                        LockType = monTgt.LockType,
                        DisplayTime = monTgt.DisplayTime,
                        DisplayInterval = monTgt.DisplayInterval,
                        DisplayMessageLength = monTgt.DisplayMessageLength,
                        DisplayMessage = monTgt.DisplayMessage
                    };
                    return ffTgt;
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return null;
                }
            }
        }
Exemplo n.º 3
0
        public void FillTargetInfo(IMonitorEntity_MsgTgt target)
        {
            using (ILogMethod method = Log.LogMethod(this.DYN_MODULE_NAME, "FillTargetInfo"))
            {
                try
                {
                    MonTgtParserMappingAttribute attribute = null;

                    if (target is IMonTgt_G2H)
                    {
                        attribute = _monitorTypeAttributesG2H.GetIfExists <string, MonTgtParserMappingAttribute>(target.GetType().Name);
                    }
                    else if (target is IMonTgt_H2G)
                    {
                        attribute = _monitorTypeAttributesH2G.GetIfExists <string, MonTgtParserMappingAttribute>(target.GetType().Name);
                    }

                    if (attribute != null)
                    {
                        target.FaultSource = attribute.FaultSource;
                        target.FaultType   = attribute.FaultType;
                    }
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                }
            }
        }
Exemplo n.º 4
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFTCHAR_Response tgtSrc = request as MonTgt_H2G_GVA_EFTCHAR_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction          tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_Char_Response tgtSub  = new FFTgt_H2G_GVA_EFT_Char_Response()
                {
                    IsAutoDepositEnabledForCashableOnCardOut    = tgtSrc.IsAutoDepositEnabledForCashableOnCardOut,
                    IsAutoDepositEnabledForNonCashableOnCardOut = tgtSrc.IsAutoDepositEnabledForNonCashableOnCardOut,
                    IsAutoDownloadEnabled      = tgtSrc.IsAutoDownloadEnabled,
                    IsAutoTopEnabled           = tgtSrc.IsAutoTopEnabled,
                    IsCashableDpositEnabled    = tgtSrc.IsCashableDpositEnabled,
                    IsCashlessSmartCardEnabled = tgtSrc.IsCashlessSmartCardEnabled,
                    ISCashWithdrawalEnabled    = tgtSrc.ISCashWithdrawalEnabled,
                    IsEftEnabled                 = tgtSrc.IsEftEnabled,
                    IsFullDownloadEnabled        = tgtSrc.IsFullDownloadEnabled,
                    IsNon_CashableDepositEnabled = tgtSrc.IsNon_CashableDepositEnabled,
                    IsOfferEnabled               = tgtSrc.IsOfferEnabled,
                    IsPartialTransferEnabled     = tgtSrc.IsPartialTransferEnabled,
                    IsPointsWithdrawalEnabled    = tgtSrc.IsPointsWithdrawalEnabled
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
        protected override IMonitorEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IFreeformEntity_MsgTgt request)
        {
            FFTgt_G2H_GameMessage_SASCommand ffTgt   = request as FFTgt_G2H_GameMessage_SASCommand;
            IMonitorEntity_MsgTgt            tgtDest = null;

            if (ffTgt != null)
            {
                FF_AppId_LongPollCodes cmd = (FF_AppId_LongPollCodes)ffTgt.LongPollCommand;
                switch (cmd)
                {
                case FF_AppId_LongPollCodes.LPC_MachineEnable:
                    tgtDest = new MonTgt_G2H_Client_EnableMachine()
                    {
                        FaultType = (int)FaultType_LongPollCode.LPC_EnableMachine,
                    };
                    break;

                case FF_AppId_LongPollCodes.LPC_MachineDisable:
                    tgtDest = new MonTgt_G2H_Client_DisableMachine()
                    {
                        FaultType = (int)FaultType_LongPollCode.LPC_DisableMachine,
                    };
                    break;

                default:
                    break;
                }
            }
            return(tgtDest);
        }
Exemplo n.º 6
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_EnrollmentParameterResponse_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_EnrollmentParameterResponse monTgt = request as MonTgt_H2G_PC_EnrollmentParameterResponse;
                    if (monTgt == null) return null;

                    FFTgt_H2G_PC_EnrollmentParameterResponse ffTgt = new FFTgt_H2G_PC_EnrollmentParameterResponse()
                    {
                        Status = monTgt.Status,
                        IsDayTimeBasis = monTgt.IsDayTimeBasis,
                        DayDefaultTime = monTgt.DayDefaultTime,
                        IsDayTimeBasisMandatory = monTgt.IsDayTimeBasisMandatory,

                        IsWeekTimeBasis = monTgt.IsWeekTimeBasis,
                        WeekDefaultTime = monTgt.WeekDefaultTime,
                        IsWeekTimeBasisMandatory = monTgt.IsWeekTimeBasisMandatory,

                        IsMonthTimeBasis = monTgt.IsMonthTimeBasis,
                        MonthDefaultTime = monTgt.MonthDefaultTime,
                        IsMonthTimeBasisMandatory = monTgt.IsMonthTimeBasisMandatory,

                        IsDayLossBasis = monTgt.IsDayLossBasis,
                        DayDefaultLossValue = monTgt.DayDefaultLossValue,
                        IsDayLossBasisMandatory = monTgt.IsMonthLossBasisMandatory,

                        IsWeekLossBasis = monTgt.IsWeekLossBasis,
                        WeekDefaultLossValue = monTgt.WeekDefaultLossValue,
                        IsWeekLossBasisMandatory = monTgt.IsWeekLossBasisMandatory,

                        IsDayWagerBasis = monTgt.IsDayWagerBasis,
                        DayDefaultWager = monTgt.DayDefaultWager,
                        IsDayWagerBasisMandatory = monTgt.IsDayWagerBasisMandatory,

                        IsWeekWagerBasis = monTgt.IsWeekWagerBasis,
                        WeekDefaultWager = monTgt.WeekDefaultWager,
                        IsWeekWagerBasisMandatory = monTgt.IsWeekWagerBasisMandatory,

                        IsMonthWagerBasis = monTgt.IsMonthWagerBasis,
                        MonthDefaultWager = monTgt.MonthDefaultWager,
                        IsMonthWagerBasisMandatory = monTgt.IsWeekWagerBasisMandatory,

                        DisplayMessageLength = monTgt.DisplayMessageLength,
                        DisplayMessage = monTgt.DisplayMessage,
                    };
                    return ffTgt;
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return null;
                }
            }
        }
Exemplo n.º 7
0
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     MonTgt_H2G_LP_TotalGames tgtSrc = request as MonTgt_H2G_LP_TotalGames;
     if (tgtSrc != null)
     {
         FFTgt_H2G_GM_SAS_TotalGames tgtDest = new FFTgt_H2G_GM_SAS_TotalGames();
         return tgtDest;
     }
     return null;
 }
        protected override IFreeformEntity_MsgTgt CreateMonitorTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_TicketingEnablement_Request monTgt = request as MonTgt_H2G_TicketingEnablement_Request;
            if (monTgt == null) return null;

            FFTgt_H2G_TicketingEnablement_Request ffTgt = new FFTgt_H2G_TicketingEnablement_Request()
            {
                Command = monTgt.Command
            };
            return ffTgt;
        }
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     MonTgt_H2G_EFT_SystemEnable tgtSrc = request as MonTgt_H2G_EFT_SystemEnable;
     if (tgtSrc != null)
     {
         FFTgt_B2B_EFT tgtDest = new FFTgt_B2B_EFT();
         FFTgt_H2G_EFT_SystemEnable ffTgtGameIdInfo = new FFTgt_H2G_EFT_SystemEnable();
         tgtDest.AddTarget(ffTgtGameIdInfo);
         return tgtDest;
     }
     return null;
 }
Exemplo n.º 10
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_LP_ForcePeriodic tgtSrc = request as MonTgt_H2G_LP_ForcePeriodic;
            if (tgtSrc == null) return null;

            FFTgt_H2G_LP_ForcePeriodic tgtDest = new FFTgt_H2G_LP_ForcePeriodic()
            {
                Data1 = tgtSrc.Data1,
                Data2 = tgtSrc.Data2
            };

            return tgtDest;
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_LP_InstantPeriodic tgtSrc = request as MonTgt_H2G_LP_InstantPeriodic;
            if (tgtSrc == null) return null;

            FFTgt_H2G_LP_InstantPeriodic tgtDest = new FFTgt_H2G_LP_InstantPeriodic()
            {
                ConfiguredInterval = tgtSrc.ConfiguredInterval,
                LowerOrderInterval = tgtSrc.LowerOrderInterval,
                HigherOrderInterval = tgtSrc.HigherOrderInterval
            };

            return tgtDest;
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Client_EnableDisableMachine tgtSrc = request as MonTgt_H2G_Client_EnableDisableMachine;
            if (tgtSrc != null)
            {
                FFTgt_H2G_GM_SAS_EnableDisable tgtDest = new FFTgt_H2G_GM_SAS_EnableDisable()
                {
                    EnableDisable = tgtSrc.EnableDisable,
                };

                return tgtDest;
            }
            return null;
        }
Exemplo n.º 13
0
        public void SendEPIMessage(int installationNo, MessagePriority priority, IMonitorEntity_MsgTgt monitorTarget)
        {
            using (ModuleProc PROC = new ModuleProc(this.DYN_MODULE_NAME, "SendEPIMessage"))
            {
                Log.Info(PROC, "Started");
                try
                {
                    myEPIMessage response = new myEPIMessage()
                    {
                        //myRequest._ShowTime = dWhen;
                        _UDP = installationNo,
                        _MSG = string.Empty,
                        //myRequest._BarPos = sBarposName;
                        //myRequest._Timeout = nTimeout;
                        _Priority      = priority,
                        MonitorTarget  = monitorTarget,
                        _CMD           = 79,
                        _isSendPending = true
                    };

                    if (priority == MessagePriority.HIGH)
                    {
                        if (_epiMsgsHighPriorityColl[installationNo].ContainsKey(monitorTarget.ToString()))
                        {
                            _epiMsgsHighPriorityColl[installationNo][monitorTarget.ToString()] = response;
                        }
                        else
                        {
                            _epiMsgsHighPriorityColl[installationNo].TryAdd(monitorTarget.ToString(), response);
                        }
                    }
                    else if (priority == MessagePriority.NORMAL)
                    {
                        if (_epiMsgsNormalPriorityColl[installationNo].ContainsKey(monitorTarget.ToString()))
                        {
                            _epiMsgsNormalPriorityColl[installationNo][monitorTarget.ToString()] = response;
                        }
                        else
                        {
                            _epiMsgsNormalPriorityColl[installationNo].TryAdd(monitorTarget.ToString(), response);
                        }
                    }
                }
                catch (Exception ex)
                {
                    Log.Exception(PROC, ex);
                }
            }
        }
Exemplo n.º 14
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EnablePrint_RT_Response tgtSrc = request as MonTgt_H2G_GVA_EnablePrint_RT_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EnablePrint_RT_Response tgtSub = new FFTgt_H2G_GVA_EnablePrint_RT_Response()
                {
                    EnableRestrictedTickets = tgtSrc.EnableRestrictedTickets,
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_MOT_Response tgtSrc = request as MonTgt_H2G_GVA_MOT_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_Max_OLT_Allowed_Response tgtSub = new FFTgt_H2G_Max_OLT_Allowed_Response()
                {
                 MaxOfflineTickets=tgtSrc.MaxOfflineTickets
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 16
0
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     MonTgt_H2G_Ticket_Printed_Response tgtSrc = request as MonTgt_H2G_Ticket_Printed_Response;
     if (tgtSrc != null)
     {
         FFTgt_B2B_TicketInfo tgtDest = new FFTgt_B2B_TicketInfo()
         {
             SubTargetData = new FFTgt_H2G_Ticket_Printed_Response()
             {
                 Status = tgtSrc.Status,
             }
         };
         return tgtDest;
     }
     return null;
 }
Exemplo n.º 17
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_TimeOfDay_Response tgtSrc = request as MonTgt_H2G_GVA_TimeOfDay_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_TimeOfDay_Response tgtSub = new FFTgt_H2G_GVA_TimeOfDay_Response()
                {
                    TimeOfDay = tgtSrc.TimeOfDay,
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 18
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Client_AddUDPsToList tgtSrc = request as MonTgt_H2G_Client_AddUDPsToList;
            if (tgtSrc != null)
            {
                FFTgt_B2B_Client tgtDest = new FFTgt_B2B_Client();
                FFTgt_H2G_Client_AddUDPsToList ffTgtGameIdInfo = new FFTgt_H2G_Client_AddUDPsToList()
                {
                    InstallationNos = tgtSrc.InstallationNos,
                };

                tgtDest.AddTarget(ffTgtGameIdInfo);
                return tgtDest;
            }
            return null;
        }
            protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
            {
                MonTgt_H2G_GVA_TicketPrintDate_Response tgtSrc = request as MonTgt_H2G_GVA_TicketPrintDate_Response;
                if (tgtSrc != null)
                {
                    FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                    FFTgt_H2G_TPD_Request tgtSub = new FFTgt_H2G_TPD_Request()
                    {
                        Date = tgtSrc.TicketDate,
                    };

                    tgtDest.AddTarget(tgtSub);
                    return tgtDest;
                }
                return null;
            }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_OfflineT_TxtLine2_Resp tgtSrc = request as MonTgt_H2G_GVA_OfflineT_TxtLine2_Resp;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_OfflineT_TxtLine2_Resp tgtSub = new FFTgt_H2G_GVA_OfflineT_TxtLine2_Resp()
                {
                    Line2Text = tgtSrc.Line2Text,
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 21
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFTMAxWithdraw_Response tgtSrc = request as MonTgt_H2G_GVA_EFTMAxWithdraw_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_MaxWithdraw_Response tgtSub = new FFTgt_H2G_GVA_EFT_MaxWithdraw_Response()
                {
                   MaxElectronicWithdrawalAmount=tgtSrc.MaxWithdrawalAmount
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 22
0
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     MonTgt_H2G_GVA_TN_Response tgtSrc = request as MonTgt_H2G_GVA_TN_Response;
     if (tgtSrc != null)
     {
         FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction()
         {
             ActionData = new FFTgt_H2G_GVA_TN_Response()
             {
                 TicketNumber = tgtSrc.TicketNumber,
             }
         };
         return tgtDest;
     }
     return null;
 }
Exemplo n.º 23
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_MOT_Response tgtSrc = request as MonTgt_H2G_GVA_MOT_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction             tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_Max_OLT_Allowed_Response tgtSub  = new FFTgt_H2G_Max_OLT_Allowed_Response()
                {
                    MaxOfflineTickets = tgtSrc.MaxOfflineTickets
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 24
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFTMAxWithdraw_Response tgtSrc = request as MonTgt_H2G_GVA_EFTMAxWithdraw_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_MaxWithdraw_Response tgtSub = new FFTgt_H2G_GVA_EFT_MaxWithdraw_Response()
                {
                    MaxElectronicWithdrawalAmount = tgtSrc.MaxWithdrawalAmount
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_RET_Response tgtSrc = request as MonTgt_H2G_GVA_RET_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction      tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_RTE_Days_Response tgtSub  = new FFTgt_H2G_RTE_Days_Response()
                {
                    ExpirationDays = tgtSrc.ExpirationDays
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_OfflineT_TxtLine2_Resp tgtSrc = request as MonTgt_H2G_GVA_OfflineT_TxtLine2_Resp;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_OfflineT_TxtLine2_Resp tgtSub = new FFTgt_H2G_GVA_OfflineT_TxtLine2_Resp()
                {
                    Line2Text = tgtSrc.Line2Text,
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 27
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_TicketPrintDate_Response tgtSrc = request as MonTgt_H2G_GVA_TicketPrintDate_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_TPD_Request  tgtSub  = new FFTgt_H2G_TPD_Request()
                {
                    Date = tgtSrc.TicketDate,
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_RET_Response tgtSrc = request as MonTgt_H2G_GVA_RET_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_RTE_Days_Response tgtSub = new FFTgt_H2G_RTE_Days_Response()
                {
                 ExpirationDays=tgtSrc.ExpirationDays
                
};

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 29
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFT_TTimeOut_Response tgtSrc = request as MonTgt_H2G_GVA_EFT_TTimeOut_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest             = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_TTimeOut_Response tgtSub = new FFTgt_H2G_GVA_EFT_TTimeOut_Response()
                {
                    TimeOut = tgtSrc.TimeOut,
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 30
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EnablePrint_RT_Response tgtSrc = request as MonTgt_H2G_GVA_EnablePrint_RT_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EnablePrint_RT_Response tgtSub = new FFTgt_H2G_GVA_EnablePrint_RT_Response()
                {
                    EnableRestrictedTickets = tgtSrc.EnableRestrictedTickets,
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     MonTgt_H2G_Ticket_Redemption_Response tgtSrc = request as MonTgt_H2G_Ticket_Redemption_Response;
     if (tgtSrc != null)
     {
         FFTgt_B2B_TicketInfo tgtDest = new FFTgt_B2B_TicketInfo()
         {
             SubTargetData = new FFTgt_H2G_Ticket_Redemption_Response()
             {
                 Barcode = tgtSrc.Barcode,
                 Amount = tgtSrc.Amount,
                 Type = tgtSrc.Type
             }
         };
         return tgtDest;
     }
     return null;
 }
Exemplo n.º 32
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GIM_GameIDInfo tgtSrc = request as MonTgt_H2G_GIM_GameIDInfo;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GIM tgtDest = new FFTgt_B2B_GIM();
                FFTgt_H2G_GIM_GameIDInfo ffTgtGameIdInfo = new FFTgt_H2G_GIM_GameIDInfo()
                {
                    SourceAddress = tgtSrc.SourceAddress,
                    AssetNumberInt = tgtSrc.AssetNumberInt,
                    PokerGamePrefix = tgtSrc.PokerGamePrefix,
                    EnableNetworkMessaging = tgtSrc.EnableNetworkMessaging,
                };

                tgtDest.AddTarget(ffTgtGameIdInfo);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 33
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFTWithdraw_Response tgtSrc = request as MonTgt_H2G_GVA_EFTWithdraw_Response;
            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_Withdraw_Response tgtSub = new FFTgt_H2G_GVA_EFT_Withdraw_Response()
                {
                  WithdrawalAmount_option1=tgtSrc.WithdrawalAmount_option1,
                  WithdrawalAmount_option2 = tgtSrc.WithdrawalAmount_option2,
                  WithdrawalAmount_option3 = tgtSrc.WithdrawalAmount_option3,
                  WithdrawalAmount_option4 = tgtSrc.WithdrawalAmount_option4
                };

                tgtDest.AddTarget(tgtSub);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 34
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Client_AddUDPToList tgtSrc = request as MonTgt_H2G_Client_AddUDPToList;
            if (tgtSrc != null)
            {
                FFTgt_B2B_Client tgtDest = new FFTgt_B2B_Client();
                FFTgt_H2G_Client_AddUDPToList ffTgtGameIdInfo = new FFTgt_H2G_Client_AddUDPToList()
                {
                    ServerIP = tgtSrc.ServerIP,
                    Port = tgtSrc.Port,
                    PollingID = tgtSrc.PollingID,
                    Type = tgtSrc.Type,
                    InstallationNo = tgtSrc.InstallationNo,
                };

                tgtDest.AddTarget(ffTgtGameIdInfo);
                return tgtDest;
            }
            return null;
        }
Exemplo n.º 35
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_EFTWithdraw_Response tgtSrc = request as MonTgt_H2G_GVA_EFTWithdraw_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest             = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_EFT_Withdraw_Response tgtSub = new FFTgt_H2G_GVA_EFT_Withdraw_Response()
                {
                    WithdrawalAmount_option1 = tgtSrc.WithdrawalAmount_option1,
                    WithdrawalAmount_option2 = tgtSrc.WithdrawalAmount_option2,
                    WithdrawalAmount_option3 = tgtSrc.WithdrawalAmount_option3,
                    WithdrawalAmount_option4 = tgtSrc.WithdrawalAmount_option4
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 36
0
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     return(null);
 }
Exemplo n.º 37
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_RelaxedLimitEffectiveNotificationMsg_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg monTgt = request as MonTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg;
                    if (monTgt == null)
                    {
                        return(null);
                    }

                    FFTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg ffTgt = new FFTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg()
                    {
                        IsDayTimeBasisChanged = monTgt.IsDayTimeBasisChanged,
                        DayNewTargetTime      = monTgt.DayNewTargetTime,
                        DayOldTargetTime      = monTgt.DayOldTargetTime,

                        IsWeekTimeBasisChanged = monTgt.IsWeekTimeBasisChanged,
                        WeekNewTargetTime      = monTgt.WeekNewTargetTime,
                        WeekOldTargetTime      = monTgt.WeekOldTargetTime,

                        IsMonthTimeBasisChanged = monTgt.IsMonthTimeBasisChanged,
                        MonthNewTargetTime      = monTgt.MonthNewTargetTime,
                        MonthOldTargetTime      = monTgt.MonthOldTargetTime,

                        IsDayLossBasisChanged = monTgt.IsDayLossBasisChanged,
                        DayNewTargetLoss      = monTgt.DayNewTargetLoss,
                        DayOldTargetLoss      = monTgt.DayOldTargetLoss,

                        IsWeekLossBasisChanged = monTgt.IsWeekLossBasisChanged,
                        WeekNewTargetLoss      = monTgt.WeekNewTargetLoss,
                        WeekOldTargetLoss      = monTgt.WeekOldTargetLoss,

                        IsMonthLossBasisChanged = monTgt.IsMonthLossBasisChanged,
                        MonthNewTargetLoss      = monTgt.MonthNewTargetLoss,
                        MonthOldTargetLoss      = monTgt.MonthOldTargetLoss,

                        IsDayWagerBasisChanged = monTgt.IsDayWagerBasisChanged,
                        DayNewTargetWager      = monTgt.DayNewTargetWager,
                        DayOldTargetWager      = monTgt.DayOldTargetWager,

                        IsWeekWagerBasisChanged = monTgt.IsWeekWagerBasisChanged,
                        WeekNewTargetWager      = monTgt.WeekNewTargetWager,
                        WeekOldTargetWager      = monTgt.WeekOldTargetWager,

                        IsMonthWagerBasisChanged = monTgt.IsMonthWagerBasisChanged,
                        MonthNewTargetWager      = monTgt.MonthNewTargetWager,
                        MonthOldTargetWager      = monTgt.MonthOldTargetWager,
                    };
                    return(ffTgt);
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return(null);
                }
            }
        }
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Client_RemoveUDPFromList tgtSrc = request as MonTgt_H2G_Client_RemoveUDPFromList;

            if (tgtSrc != null)
            {
                FFTgt_B2B_Client tgtDest = new FFTgt_B2B_Client();
                FFTgt_H2G_Client_RemoveUDPFromList ffTgtGameIdInfo = new FFTgt_H2G_Client_RemoveUDPFromList()
                {
                    InstallationNo = parent.InstallationNo,
                };

                tgtDest.AddTarget(ffTgtGameIdInfo);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 39
0
        //protected abstract IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request);

        protected virtual IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            return this.CreateFreeformTarget(parent, request);
        }
Exemplo n.º 40
0
        //protected abstract IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity_MsgTgt request);

        protected virtual IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            return(this.CreateFreeformTarget(parent, request));
        }
Exemplo n.º 41
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_EFT_SystemDisable tgtSrc = request as MonTgt_H2G_EFT_SystemDisable;

            if (tgtSrc != null)
            {
                FFTgt_B2B_EFT tgtDest = new FFTgt_B2B_EFT();
                FFTgt_H2G_EFT_SystemDisable ffTgtGameIdInfo = new FFTgt_H2G_EFT_SystemDisable();
                tgtDest.AddTarget(ffTgtGameIdInfo);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 42
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Ticket_Redemption_Close tgtSrc = request as MonTgt_H2G_Ticket_Redemption_Close;

            if (tgtSrc != null)
            {
                FFTgt_B2B_TicketInfo tgtDest = new FFTgt_B2B_TicketInfo()
                {
                    SubTargetData = new FFTgt_H2G_Ticket_Redemption_Close()
                    {
                        Status = tgtSrc.Status,
                    }
                };
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 43
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_StatusResponse_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_StatusResponse monTgt = request as MonTgt_H2G_PC_StatusResponse;
                    if (monTgt == null) return null;

                    FFTgt_H2G_PC_StatusResponse ffTgt = new FFTgt_H2G_PC_StatusResponse()
                    {
                        Status = monTgt.Status,
                        IsPCEnrolled = monTgt.IsPCEnrolled,

                        IsDayTimeBasis = monTgt.IsDayTimeBasis,
                        DayTargetTime = monTgt.DayTargetTime,
                        DayCurrentTargetTime = monTgt.DayCurrentTargetTime,

                        IsWeekTimeBasis = monTgt.IsWeekTimeBasis,
                        WeekTargetTime = monTgt.WeekTargetTime,
                        WeekCurrentTargetTime = monTgt.WeekCurrentTargetTime,

                        IsMonthTimeBasis = monTgt.IsMonthTimeBasis,
                        MonthTargetTime = monTgt.MonthTargetTime,
                        MonthCurrentTargetTime = monTgt.MonthCurrentTargetTime,

                        IsDayLossBasis = monTgt.IsDayLossBasis,
                        DayTargetLoss = monTgt.DayTargetLoss,
                        DayCurrentTargetLoss = monTgt.DayCurrentTargetLoss,

                        IsWeekLossBasis = monTgt.IsWeekLossBasis,
                        WeekTargetLoss = monTgt.WeekTargetLoss,
                        WeekCurrentTargetLoss = monTgt.WeekCurrentTargetLoss,

                        IsMonthLossBasis = monTgt.IsMonthLossBasis,
                        MonthTargetLoss = monTgt.MonthTargetLoss,
                        MonthCurrentTargetLoss = monTgt.MonthCurrentTargetLoss,

                        IsDayWagerBasis = monTgt.IsDayWagerBasis,
                        DayTargetWager = monTgt.DayTargetWager,
                        DayCurrentTargetWager = monTgt.DayCurrentTargetWager,

                        IsWeekWagerBasis = monTgt.IsWeekWagerBasis,
                        WeekTargetWager = monTgt.WeekTargetWager,
                        WeekCurrentTargetWager = monTgt.WeekCurrentTargetWager,

                        IsConsecutiveDaysBasis = monTgt.IsConsecutiveDaysBasis,
                        TargetConsecutiveDays = monTgt.TargetConsecutiveDays,
                        CurrentConsecutiveDays = monTgt.CurrentConsecutiveDays,

                        DisplayMessageLength = monTgt.DisplayMessageLength,
                        DisplayMessage = monTgt.DisplayMessage
                    };
                    return ffTgt;
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return null;
                }
            }
        }
Exemplo n.º 44
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_PlayerEnrollmentResponse_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_PlayerEnrollmentResponse monTgt = request as MonTgt_H2G_PC_PlayerEnrollmentResponse;
                    if (monTgt == null) return null;

                    FFTgt_H2G_PC_PlayerEnrollmentResponse ffTgt = new FFTgt_H2G_PC_PlayerEnrollmentResponse()
                    {
                        ErrorCode = monTgt.ErrorCode,
                        DisplayMessageLength = monTgt.DisplayMessageLength,
                        DisplayMessage = monTgt.DisplayMessage,
                    };
                    return ffTgt;
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return null;
                }
            }
        }
Exemplo n.º 45
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_StatusResponse_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_StatusResponse monTgt = request as MonTgt_H2G_PC_StatusResponse;
                    if (monTgt == null)
                    {
                        return(null);
                    }

                    FFTgt_H2G_PC_StatusResponse ffTgt = new FFTgt_H2G_PC_StatusResponse()
                    {
                        Status       = monTgt.Status,
                        IsPCEnrolled = monTgt.IsPCEnrolled,

                        IsDayTimeBasis       = monTgt.IsDayTimeBasis,
                        DayTargetTime        = monTgt.DayTargetTime,
                        DayCurrentTargetTime = monTgt.DayCurrentTargetTime,

                        IsWeekTimeBasis       = monTgt.IsWeekTimeBasis,
                        WeekTargetTime        = monTgt.WeekTargetTime,
                        WeekCurrentTargetTime = monTgt.WeekCurrentTargetTime,

                        IsMonthTimeBasis       = monTgt.IsMonthTimeBasis,
                        MonthTargetTime        = monTgt.MonthTargetTime,
                        MonthCurrentTargetTime = monTgt.MonthCurrentTargetTime,

                        IsDayLossBasis       = monTgt.IsDayLossBasis,
                        DayTargetLoss        = monTgt.DayTargetLoss,
                        DayCurrentTargetLoss = monTgt.DayCurrentTargetLoss,

                        IsWeekLossBasis       = monTgt.IsWeekLossBasis,
                        WeekTargetLoss        = monTgt.WeekTargetLoss,
                        WeekCurrentTargetLoss = monTgt.WeekCurrentTargetLoss,

                        IsMonthLossBasis       = monTgt.IsMonthLossBasis,
                        MonthTargetLoss        = monTgt.MonthTargetLoss,
                        MonthCurrentTargetLoss = monTgt.MonthCurrentTargetLoss,

                        IsDayWagerBasis       = monTgt.IsDayWagerBasis,
                        DayTargetWager        = monTgt.DayTargetWager,
                        DayCurrentTargetWager = monTgt.DayCurrentTargetWager,

                        IsWeekWagerBasis       = monTgt.IsWeekWagerBasis,
                        WeekTargetWager        = monTgt.WeekTargetWager,
                        WeekCurrentTargetWager = monTgt.WeekCurrentTargetWager,

                        IsConsecutiveDaysBasis = monTgt.IsConsecutiveDaysBasis,
                        TargetConsecutiveDays  = monTgt.TargetConsecutiveDays,
                        CurrentConsecutiveDays = monTgt.CurrentConsecutiveDays,

                        DisplayMessageLength = monTgt.DisplayMessageLength,
                        DisplayMessage       = monTgt.DisplayMessage
                    };
                    return(ffTgt);
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return(null);
                }
            }
        }
Exemplo n.º 46
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_StatusResponsePlayerCardIn_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_StatusResponsePlayerCardIn monTgt = request as MonTgt_H2G_PC_StatusResponsePlayerCardIn;
                    if (monTgt == null)
                    {
                        return(null);
                    }

                    FFTgt_H2G_PC_StatusResponsePlayerCardIn ffTgt = new FFTgt_H2G_PC_StatusResponsePlayerCardIn()
                    {
                        PCEnrolled     = monTgt.PCEnrolled,
                        HandlePulls    = monTgt.HandlePulls,
                        RatingInterval = monTgt.RatingInterval,
                    };
                    return(ffTgt);
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return(null);
                }
            }
        }
Exemplo n.º 47
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_TSSlotID_Response tgtSrc = request as MonTgt_H2G_GVA_TSSlotID_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction          tgtDest = new FFTgt_B2B_GMUVarAction();
                FFTgt_H2G_GVA_TSSlotID_Response tgtSub  = new FFTgt_H2G_GVA_TSSlotID_Response()
                {
                    SlotID = tgtSrc.SlotID,
                };

                tgtDest.AddTarget(tgtSub);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 48
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_LP_HandpayInfo tgtSrc = request as MonTgt_H2G_LP_HandpayInfo;

            if (tgtSrc != null)
            {
                FFTgt_H2G_GM_SAS_HandpayInfo tgtDest = new FFTgt_H2G_GM_SAS_HandpayInfo();
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 49
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_StatusResponsePlayerCardIn_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_StatusResponsePlayerCardIn monTgt = request as MonTgt_H2G_PC_StatusResponsePlayerCardIn;
                    if (monTgt == null) return null;

                    FFTgt_H2G_PC_StatusResponsePlayerCardIn ffTgt = new FFTgt_H2G_PC_StatusResponsePlayerCardIn()
                    {
                        PCEnrolled = monTgt.PCEnrolled,
                        HandlePulls = monTgt.HandlePulls,
                        RatingInterval = monTgt.RatingInterval,
                    };
                    return ffTgt;
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return null;
                }
            }
        }
Exemplo n.º 50
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_RelaxedLimitEffectiveNotificationMsg_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg monTgt = request as MonTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg;
                    if (monTgt == null) return null;

                    FFTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg ffTgt = new FFTgt_H2G_PC_RelaxedLimitEffectiveNotificationMsg()
                    {
                        IsDayTimeBasisChanged = monTgt.IsDayTimeBasisChanged,
                        DayNewTargetTime = monTgt.DayNewTargetTime,
                        DayOldTargetTime = monTgt.DayOldTargetTime,

                        IsWeekTimeBasisChanged = monTgt.IsWeekTimeBasisChanged,
                        WeekNewTargetTime = monTgt.WeekNewTargetTime,
                        WeekOldTargetTime = monTgt.WeekOldTargetTime,

                        IsMonthTimeBasisChanged = monTgt.IsMonthTimeBasisChanged,
                        MonthNewTargetTime = monTgt.MonthNewTargetTime,
                        MonthOldTargetTime = monTgt.MonthOldTargetTime,

                        IsDayLossBasisChanged = monTgt.IsDayLossBasisChanged,
                        DayNewTargetLoss = monTgt.DayNewTargetLoss,
                        DayOldTargetLoss = monTgt.DayOldTargetLoss,

                        IsWeekLossBasisChanged = monTgt.IsWeekLossBasisChanged,
                        WeekNewTargetLoss = monTgt.WeekNewTargetLoss,
                        WeekOldTargetLoss = monTgt.WeekOldTargetLoss,

                        IsMonthLossBasisChanged = monTgt.IsMonthLossBasisChanged,
                        MonthNewTargetLoss = monTgt.MonthNewTargetLoss,
                        MonthOldTargetLoss = monTgt.MonthOldTargetLoss,

                        IsDayWagerBasisChanged = monTgt.IsDayWagerBasisChanged,
                        DayNewTargetWager = monTgt.DayNewTargetWager,
                        DayOldTargetWager = monTgt.DayOldTargetWager,

                        IsWeekWagerBasisChanged = monTgt.IsWeekWagerBasisChanged,
                        WeekNewTargetWager = monTgt.WeekNewTargetWager,
                        WeekOldTargetWager = monTgt.WeekOldTargetWager,

                        IsMonthWagerBasisChanged = monTgt.IsMonthWagerBasisChanged,
                        MonthNewTargetWager = monTgt.MonthNewTargetWager,
                        MonthOldTargetWager = monTgt.MonthOldTargetWager,
                    };
                    return ffTgt;
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return null;
                }
            }
        }
Exemplo n.º 51
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Client_EnableDisableMachine tgtSrc = request as MonTgt_H2G_Client_EnableDisableMachine;

            if (tgtSrc != null)
            {
                FFTgt_H2G_GM_SAS_EnableDisable tgtDest = new FFTgt_H2G_GM_SAS_EnableDisable()
                {
                    EnableDisable = tgtSrc.EnableDisable,
                };

                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 52
0
 protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
 {
     return null;
 }
Exemplo n.º 53
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Ticket_Redemption_Response tgtSrc = request as MonTgt_H2G_Ticket_Redemption_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_TicketInfo tgtDest = new FFTgt_B2B_TicketInfo()
                {
                    SubTargetData = new FFTgt_H2G_Ticket_Redemption_Response()
                    {
                        Barcode = tgtSrc.Barcode,
                        Amount  = tgtSrc.Amount,
                        Type    = tgtSrc.Type
                    }
                };
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 54
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_LP_ForcePeriodic tgtSrc = request as MonTgt_H2G_LP_ForcePeriodic;

            if (tgtSrc == null)
            {
                return(null);
            }

            FFTgt_H2G_LP_ForcePeriodic tgtDest = new FFTgt_H2G_LP_ForcePeriodic()
            {
                Data1 = tgtSrc.Data1,
                Data2 = tgtSrc.Data2
            };

            return(tgtDest);
        }
Exemplo n.º 55
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GIM_GameIDInfo tgtSrc = request as MonTgt_H2G_GIM_GameIDInfo;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GIM            tgtDest         = new FFTgt_B2B_GIM();
                FFTgt_H2G_GIM_GameIDInfo ffTgtGameIdInfo = new FFTgt_H2G_GIM_GameIDInfo()
                {
                    SourceAddress          = tgtSrc.SourceAddress,
                    AssetNumberInt         = tgtSrc.AssetNumberInt,
                    PokerGamePrefix        = tgtSrc.PokerGamePrefix,
                    EnableNetworkMessaging = tgtSrc.EnableNetworkMessaging,
                };

                tgtDest.AddTarget(ffTgtGameIdInfo);
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 56
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            using (ILogMethod method = Log.LogMethod("MonTgtParser_PC_LimitReachedNotificationMessage_H2G", "CreateMonitorTarget"))
            {
                try
                {
                    MonTgt_H2G_PC_LimitReachedNotificationMessage monTgt = request as MonTgt_H2G_PC_LimitReachedNotificationMessage;
                    if (monTgt == null)
                    {
                        return(null);
                    }

                    FFTgt_H2G_PC_LimitReachedNotificationMessage ffTgt = new FFTgt_H2G_PC_LimitReachedNotificationMessage()
                    {
                        LockType             = monTgt.LockType,
                        DisplayTime          = monTgt.DisplayTime,
                        DisplayInterval      = monTgt.DisplayInterval,
                        DisplayMessageLength = monTgt.DisplayMessageLength,
                        DisplayMessage       = monTgt.DisplayMessage
                    };
                    return(ffTgt);
                }
                catch (Exception ex)
                {
                    method.Exception(ex);
                    return(null);
                }
            }
        }
Exemplo n.º 57
0
 public static void FillTargetInfo(this IMonitorEntity_MsgTgt target)
 {
     Factory.FillTargetInfo(target);
 }
Exemplo n.º 58
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_GVA_TN_Response tgtSrc = request as MonTgt_H2G_GVA_TN_Response;

            if (tgtSrc != null)
            {
                FFTgt_B2B_GMUVarAction tgtDest = new FFTgt_B2B_GMUVarAction()
                {
                    ActionData = new FFTgt_H2G_GVA_TN_Response()
                    {
                        TicketNumber = tgtSrc.TicketNumber,
                    }
                };
                return(tgtDest);
            }
            return(null);
        }
Exemplo n.º 59
0
        protected override IFreeformEntity_MsgTgt CreateFreeformTarget(IMonitorEntity parent, IMonitorEntity_MsgTgt request)
        {
            MonTgt_H2G_Client_AddUDPToList tgtSrc = request as MonTgt_H2G_Client_AddUDPToList;

            if (tgtSrc != null)
            {
                FFTgt_B2B_Client tgtDest = new FFTgt_B2B_Client();
                FFTgt_H2G_Client_AddUDPToList ffTgtGameIdInfo = new FFTgt_H2G_Client_AddUDPToList()
                {
                    ServerIP       = tgtSrc.ServerIP,
                    Port           = tgtSrc.Port,
                    PollingID      = tgtSrc.PollingID,
                    Type           = tgtSrc.Type,
                    InstallationNo = tgtSrc.InstallationNo,
                };

                tgtDest.AddTarget(ffTgtGameIdInfo);
                return(tgtDest);
            }
            return(null);
        }