public CashInManager(string prefFileName, string mode)
        {
            /*ValidatorComposite validator = new ValidatorComposite();
             * validator.CashInComposite += Handler1;
             * validator.CashInComposite += Handler2;
             * validator.Enable(0);*/
            //new TextFilePref("CashIn", "CashIn", false, false);
            validator = new ValidatorComposite(new TextFilePref(prefFileName, prefFileName, false, false), mode);

            //keySystem = new SeriosMK1Keys();
            Initialize();
        }
        public CashInManager(IPrefSupplier prefFile, string mode)
        {
            Log.DebugFormat("CashInManager init....");

            if (prefFile != null)
            {
                foreach (var p in prefFile.GetAllList())
                {
                    Log.DebugFormat("{0} = {1}", p.Key, p.Value);
                }
                validator = new ValidatorComposite(prefFile, mode);
            }
            if (validator != null)
            {
                AceptorsFound = validator.ValFound;
                Initialize();
            }
            //keySystem = new SeriosMK1Keys();
        }