Пример #1
0
        public WaterQn GetQpEatWater(string hrsNo)
        {
            lock (_qp_eat_waters)
            {
                if (!_qp_eat_waters.ContainsKey(hrsNo))
                {
                    _qp_eat_waters[hrsNo] = new WaterQn("EAT");
                }
            }

            return(_qp_eat_waters[hrsNo]);
        }
Пример #2
0
        public WaterQn GetQnBetWater(string hrsNo)
        {
            lock (_qn_bet_waters)
            {
                if (!_qn_bet_waters.ContainsKey(hrsNo))
                {
                    _qn_bet_waters[hrsNo] = new WaterQn("BET");
                }
            }

            return(_qn_bet_waters[hrsNo]);
        }