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 CultureData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.cultureName = new StringData(configType, prefix + name, "Name", "Culture name", "", "English");
            AddChild(this.cultureName);

            this.cultureCode = new StringData(configType, prefix + name, "Name", "Culture code", "", "en-US");
            AddChild(this.cultureCode);
        }
        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);
        }
Example #5
0
        public PassData(ConfigType configType, string prefix, string name, string description, string editor)
            : base(configType, prefix, name, description, editor)
        {
            this.id = new StringData(configType, prefix + name, "Id", "ID", "", "");
            AddChild(this.id);

            this.previousStr = new StringData(configType, prefix + name, "PreviousList", "Pass's previous bin value list", "", "");
            AddChild(this.previousStr);

            this.actualStr = new StringData(configType, prefix + name, "ActualList", "Pass's actual bin value list", "", "");
            AddChild(this.actualStr);

            previousList = new List<int>();
            actualList = new List<int>();

            NewList();
        }
        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);
        }
        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();
        }