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();
        }
        public LaserscribeFormatData(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(this.enabled);

            this.mask = new StringData(configType, prefix + name, "Mask", "Mask", "", "");
            AddChild(this.mask);
        }
        public LaserscribeLotFilterData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.mask = new StringData(configType, prefix + name, "Mask", "Lot ID mask", "", "");
            AddChild(this.mask);

            this.checksum = new BooleanData(configType, prefix + name, "Checksum", "Laserscribe has semi checksum", "", false);
            AddChild(this.checksum);
        }
Ejemplo n.º 4
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);
        }
Ejemplo n.º 6
0
        public CustomScriptData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.scriptName = new StringData(configType, prefix + name, "Name", "Script name", "", "");
            AddChild(this.scriptName);

            this.enabled = new BooleanData(configType, prefix + name, "Enabled", "Enabled", "", false);
            AddChild(this.enabled);

            this.command = new StringData(configType, prefix + name, "Command", "Command", "", "");
            AddChild(this.command);

            this.waitToComplete = new BooleanData(configType, prefix + name, "WaitToComplete", "Wait to complete", "", false);
            AddChild(this.waitToComplete);

            this.openInConsole = new BooleanData(configType, prefix + name, "OpenInConsole", "Open in console", "", false);
            AddChild(this.openInConsole);

            NewScript();
        }