public void ProcessResponse(EnableMachineThreadDataResponse threadData)
        {
            if (_requestCollection.Count <= 0)
            {
                return;
            }

            lock (_lockRes)
            {
                if (_requestCollection.ContainsKey(threadData.MessageID))
                {
                    EnableMachineThreadData Requestitem = _requestCollection[threadData.MessageID];

                    if (threadData.Ack)
                    {
                        LogManager.WriteLog("ProcessResponse_EnableMachine  |   ACK Updated for Installation No " + Requestitem.InstallationNo.ToString()
                                            , LogManager.enumLogLevel.Info);

                        GameCapResult oGameCapResult = oGameCappingBiz.UpdateGameCapDetails(Requestitem.GameCapID, SecurityHelper.CurrentUser.UserName);
                        LogManager.WriteLog("Game capping session closed Status [Installation No : " + Requestitem.InstallationNo.ToString() + "] : " + oGameCapResult.Message, LogManager.enumLogLevel.Info);
                    }
                    else
                    {
                        LogManager.WriteLog("ProcessResponse_EnableMachine  |   NACK received for Installation No " + Requestitem.InstallationNo.ToString()
                                            , LogManager.enumLogLevel.Info);
                    }

                    _requestCollection.Remove(threadData.MessageID);
                }
            }
        }
        public void ProcessResponse(EnableMachineThreadDataResponse threadData)
        {
            if (_requestCollection.Count <= 0)
                return;

            lock (_lockRes)
            {
                if (_requestCollection.ContainsKey(threadData.MessageID))
                {
                    EnableMachineThreadData Requestitem = _requestCollection[threadData.MessageID];

                    if (threadData.Ack)
                    {
                        LogManager.WriteLog("ProcessResponse_EnableMachine  |   ACK Updated for Installation No " + Requestitem.InstallationNo.ToString()
                                                , LogManager.enumLogLevel.Info);
                        
                        GameCapResult oGameCapResult = oGameCappingBiz.UpdateGameCapDetails(Requestitem.GameCapID, SecurityHelper.CurrentUser.UserName);
                        LogManager.WriteLog("Game capping session closed Status [Installation No : " + Requestitem.InstallationNo.ToString() + "] : " + oGameCapResult.Message, LogManager.enumLogLevel.Info);
                    }
                    else
                    {
                        LogManager.WriteLog("ProcessResponse_EnableMachine  |   NACK received for Installation No " + Requestitem.InstallationNo.ToString()
                                               , LogManager.enumLogLevel.Info);
                    }

                    _requestCollection.Remove(threadData.MessageID);
                }
            }
        }