Example #1
0
        public static void Generate(ILogger logger)
        {
            EEDID instance = EEDID.Parse(MacBookPro2018.LenovoG570);

            var parser = new TechParser {
                Logger = logger
            };

            parser.Parse(instance);
        }
Example #2
0
        public static void Generate(ILogger logger)
        {
            var parser = new TechParser {
                Logger = logger
            };

            EEDID[] instances = EEDID.Instance;
            foreach (var instance in instances)
            {
                parser.Parse(instance);
            }
        }
Example #3
0
        /// <summary>
        ///     技術定義ファイルを読み込む
        /// </summary>
        /// <param name="fileName">技術定義ファイル名</param>
        private static void LoadFile(string fileName)
        {
            Log.Verbose("[Tech] Load: {0}", Path.GetFileName(fileName));

            TechGroup grp = TechParser.Parse(fileName);

            if (grp == null)
            {
                Log.Error("[Tech] Read error: {0}", Path.GetFileName(fileName));
                return;
            }
            Groups.Add(grp);
        }
Example #4
0
        public static void Generate(ILogger logger)
        {
            //EEDID instance = EEDID.Parse(AUOptronics.Digital.AUOF48C);
            //EEDID instance = EEDID.Parse(Asus.Digital.AUS32B1);
            //EEDID instance = EEDID.Parse(BenQ.Digital.BNQ4002);
            //EEDID instance = EEDID.Parse(ChiMeiOptoelectronics.Digital.CMO002C);
            //EEDID instance = EEDID.Parse(Denon.Digital.DON003D);
            //EEDID instance = EEDID.Parse(LGDisplay.Digital.LGD0000);
            EEDID instance = EEDID.Parse(Apple.Digital.APPAE1B);
            //EEDID instance = EEDID.Parse(Lenovo.Analog.LEN23CD);
            //EEDID instance = EEDID.Parse(Eizo.Digital.ENC1607);
            //EEDID instance = EEDID.Parse(HP.Analog.HWP3356);

            var parser = new TechParser {
                Logger = logger
            };

            parser.Parse(instance);
        }