public ColorPropertyData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.variableName = new StringData(configType, prefix + name, "VariableName", "Color variable name", "", "waferBackground");
            AddChild(this.variableName);

            this.propertyName = new StringData(configType, prefix + name, "Name", "Color name", "", "Wafer background");
            AddChild(this.propertyName);

            this.fontName = new StringData(configType, prefix + name, "FontName", "Font name", "", "Microsoft Sans Serif");
            AddChild(this.fontName);

            this.fontSize = new IntegerData(configType, prefix + name, "FontSize", "Font size", "", 8);
            AddChild(this.fontSize);

            this.fontBold = new BooleanData(configType, prefix + name, "FontBold", "Font bold", "", false);
            AddChild(this.fontBold);

            this.foreground = new StringData(configType, prefix + name, "Foreground", "Foreground color", "", "White");
            AddChild(this.foreground);

            this.background = new StringData(configType, prefix + name, "Background", "Background color", "", "White");
            AddChild(this.background);

            NewFont();
            NewForeColor();
            NewBackColor();
        }
Beispiel #2
0
        public BinData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.value = new IntegerData(configType, prefix + name, "Value", "Value", "", 0);
            AddChild(this.value);

            this.good = new BooleanData(configType, prefix + name, "Good", "Die is good", "", false);
            AddChild(this.good);

            this.reprobable = new BooleanData(configType, prefix + name, "Reprobed", "Die is reprobable", "", false);
            AddChild(this.reprobable);

            this.inkable = new BooleanData(configType, prefix + name, "Inked", "Die is inkable", "", false);
            AddChild(this.inkable);

            NewBin();
        }
        public ConsecutiveFailCustomRuleData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.enabled = new BooleanData(configType, prefix + name, "Enabled", "Enabled", "", false);
            AddChild(enabled);

            this.threshold = new IntegerData(configType, prefix + name, "Threshold", "Threshold", "", 0);
            AddChild(threshold);

            this.message = new StringData(configType, prefix + name, "Message", "Message", "", "");
            AddChild(message);

            this.binListStr = new StringData(configType, prefix + name, "BinList", "Bin list", "", "");
            AddChild(binListStr);

            binList = new List<int>();
            GetBinList(binListStr.Value);
        }