Cause: - ResultsWriter required a generic way to generate customer-specific XML result data from TBF measurement results. - The customer reference XML contains example runtime values and repeated result structures, so it cannot be used directly as the generated output. - TBF result variables must be explicitly mapped to destinations in the customer XML structure. - The generated XML result data must support two output targets: - direct creation of an XML file, - delivery of the XML payload to a Microsoft SQL stored procedure. - Preview generation must allow the XML structure and configured mappings to be verified without executing the production database write. - Increase revision to 3.9.3145.100. Solution: 1. Added XML reference analysis - Creates a clean base XML structure. - Extracts the repeating result prototype. - Prevents sample runtime values from the customer reference XML from leaking into generated results. 2. Added configurable TBF-to-XML result mapping - Allows explicit mapping of TBF result variables to customer XML destinations. - Supports one-time and repeating XML destinations. - Keeps the mapping independent of the semantic meaning of customer XML attribute names. 3. Added XML destination viewer and configurator - Shows the current mapping. - Highlights repeating destinations. - Identifies already used one-time destinations. 4. Added runtime XML result generation - Uses the configured TBF-to-XML mappings. - Uses measurement procedure result data. - Builds the output from the clean base XML and repeating XML prototype. - Generates repeated result records according to the executed measurement procedure. 5. Added simulation-based Preview request - Generates a complete XML payload using simulation values. - Allows XML structure and mapping verification before production execution. - Does not execute the production stored procedure. 6. Added direct XML file output support to UniDataStorageWriter - Supports File / .xml as a physical output target. - Creates the generated XML result file in the configured output directory. 7. Added Microsoft SQL stored-procedure XML output - Supports Microsoft SQL / StoredProcedure as a physical output target. - Passes the generated XML payload through the configured stored procedure parameter. 8. Added optional XML payload archiving - Allows generated XML payloads to be stored in the configured Payload archive. - Can be used together with the Microsoft SQL stored-procedure output. 9. Kept ResultsWriter independent of the physical output target - ResultsWriter generates the result payload. - UniDataStorageWriter decides how and where the payload is physically written. - The same ResultsWriter XML generation mechanism is therefore used for both XML file and MSSQL outputs. 10. Increased revision - Updated revision to 3.9.3145.100.
678 lines
35 KiB
C#
678 lines
35 KiB
C#
///
|
|
/// Copyright (c) 2018 Sensus Slovensko a.s.
|
|
///
|
|
namespace TBF.Rig.Output.DataStorage.UniDataStorageWriter.UI
|
|
{
|
|
partial class WriterCfgCtrl
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
private void InitializeComponent()
|
|
{
|
|
this.components = new System.ComponentModel.Container();
|
|
this.nameTextBox = new System.Windows.Forms.TextBox();
|
|
this.nameLabel = new System.Windows.Forms.Label();
|
|
this.classNameLabel = new System.Windows.Forms.Label();
|
|
this.dataStorageTypeLabel = new System.Windows.Forms.Label();
|
|
this.dataStorageTypeComboBox = new System.Windows.Forms.ComboBox();
|
|
this.groupBox1 = new System.Windows.Forms.GroupBox();
|
|
this.info2Button = new System.Windows.Forms.Button();
|
|
this.sourceTestResultTextBox = new System.Windows.Forms.TextBox();
|
|
this.connectToDataSourceButton = new System.Windows.Forms.Button();
|
|
this.backgroundWorker1 = new System.ComponentModel.BackgroundWorker();
|
|
this.groupBox2 = new System.Windows.Forms.GroupBox();
|
|
this.info4Button = new System.Windows.Forms.Button();
|
|
this.writeTestResultTextBox = new System.Windows.Forms.TextBox();
|
|
this.writeDataByParamAndTemplateButton = new System.Windows.Forms.Button();
|
|
this.backgroundWorker2 = new System.ComponentModel.BackgroundWorker();
|
|
this.groupBox3 = new System.Windows.Forms.GroupBox();
|
|
this.writeModeComboBox = new System.Windows.Forms.ComboBox();
|
|
this.writeModeLabel = new System.Windows.Forms.Label();
|
|
this.buttonRemoveParam = new System.Windows.Forms.Button();
|
|
this.buttonAddParam = new System.Windows.Forms.Button();
|
|
this.labelParamValue = new System.Windows.Forms.Label();
|
|
this.listBoxWriteParams = new System.Windows.Forms.ListBox();
|
|
this.writeParamValueTextBox = new System.Windows.Forms.TextBox();
|
|
this.info5Button = new System.Windows.Forms.Button();
|
|
this.backgroundWorker3 = new System.ComponentModel.BackgroundWorker();
|
|
this.contextMenuStrip1 = new System.Windows.Forms.ContextMenuStrip(this.components);
|
|
this.groupBox4 = new System.Windows.Forms.GroupBox();
|
|
this.label2 = new System.Windows.Forms.Label();
|
|
this.info1Button = new System.Windows.Forms.Button();
|
|
this.dataSourceLabel = new System.Windows.Forms.Label();
|
|
this.dataSourceTextBox = new System.Windows.Forms.TextBox();
|
|
this.groupBox5 = new System.Windows.Forms.GroupBox();
|
|
this.label1 = new System.Windows.Forms.Label();
|
|
this.buttonRemoveTemplate = new System.Windows.Forms.Button();
|
|
this.buttonUpdateTemplate = new System.Windows.Forms.Button();
|
|
this.buttonAddTemplate = new System.Windows.Forms.Button();
|
|
this.templateEditTextBox = new System.Windows.Forms.TextBox();
|
|
this.writeTemplatesListBox = new System.Windows.Forms.ListBox();
|
|
this.label3 = new System.Windows.Forms.Label();
|
|
this.info3Button = new System.Windows.Forms.Button();
|
|
this.examples1Button = new System.Windows.Forms.Button();
|
|
this.technologyTypeLabel = new System.Windows.Forms.Label();
|
|
this.technologyTypeComboBox = new System.Windows.Forms.ComboBox();
|
|
this.groupBox6 = new System.Windows.Forms.GroupBox();
|
|
this.browsePayloadArchiveButton = new System.Windows.Forms.Button();
|
|
this.payloadArchivePathTextBox = new System.Windows.Forms.TextBox();
|
|
this.payloadArchivePathLabel = new System.Windows.Forms.Label();
|
|
this.archivePayloadCheckBox = new System.Windows.Forms.CheckBox();
|
|
this.payloadParameterNameTextBox = new System.Windows.Forms.TextBox();
|
|
this.payloadParameterNameLabel = new System.Windows.Forms.Label();
|
|
this.browsePayloadTemplateButton = new System.Windows.Forms.Button();
|
|
this.payloadTemplatePathTextBox = new System.Windows.Forms.TextBox();
|
|
this.payloadTemplatePathLabel = new System.Windows.Forms.Label();
|
|
this.groupBox1.SuspendLayout();
|
|
this.groupBox2.SuspendLayout();
|
|
this.groupBox3.SuspendLayout();
|
|
this.groupBox4.SuspendLayout();
|
|
this.groupBox5.SuspendLayout();
|
|
this.groupBox6.SuspendLayout();
|
|
this.SuspendLayout();
|
|
//
|
|
// nameTextBox
|
|
//
|
|
this.nameTextBox.Enabled = false;
|
|
this.nameTextBox.Location = new System.Drawing.Point(117, 32);
|
|
this.nameTextBox.Name = "nameTextBox";
|
|
this.nameTextBox.Size = new System.Drawing.Size(326, 20);
|
|
this.nameTextBox.TabIndex = 2;
|
|
//
|
|
// nameLabel
|
|
//
|
|
this.nameLabel.AutoSize = true;
|
|
this.nameLabel.Location = new System.Drawing.Point(5, 35);
|
|
this.nameLabel.Name = "nameLabel";
|
|
this.nameLabel.Size = new System.Drawing.Size(38, 13);
|
|
this.nameLabel.TabIndex = 1;
|
|
this.nameLabel.Text = "Name:";
|
|
//
|
|
// classNameLabel
|
|
//
|
|
this.classNameLabel.AutoSize = true;
|
|
this.classNameLabel.Location = new System.Drawing.Point(114, 10);
|
|
this.classNameLabel.Name = "classNameLabel";
|
|
this.classNameLabel.Size = new System.Drawing.Size(89, 13);
|
|
this.classNameLabel.TabIndex = 0;
|
|
this.classNameLabel.Text = "ComponentName";
|
|
//
|
|
// dataStorageTypeLabel
|
|
//
|
|
this.dataStorageTypeLabel.AutoSize = true;
|
|
this.dataStorageTypeLabel.Location = new System.Drawing.Point(5, 61);
|
|
this.dataStorageTypeLabel.Name = "dataStorageTypeLabel";
|
|
this.dataStorageTypeLabel.Size = new System.Drawing.Size(94, 13);
|
|
this.dataStorageTypeLabel.TabIndex = 5;
|
|
this.dataStorageTypeLabel.Text = "Data storage type:";
|
|
//
|
|
// dataStorageTypeComboBox
|
|
//
|
|
this.dataStorageTypeComboBox.Enabled = false;
|
|
this.dataStorageTypeComboBox.FormattingEnabled = true;
|
|
this.dataStorageTypeComboBox.Location = new System.Drawing.Point(117, 58);
|
|
this.dataStorageTypeComboBox.Name = "dataStorageTypeComboBox";
|
|
this.dataStorageTypeComboBox.Size = new System.Drawing.Size(326, 21);
|
|
this.dataStorageTypeComboBox.TabIndex = 9;
|
|
//
|
|
// groupBox1
|
|
//
|
|
this.groupBox1.Controls.Add(this.info2Button);
|
|
this.groupBox1.Controls.Add(this.sourceTestResultTextBox);
|
|
this.groupBox1.Controls.Add(this.connectToDataSourceButton);
|
|
this.groupBox1.Location = new System.Drawing.Point(8, 394);
|
|
this.groupBox1.Name = "groupBox1";
|
|
this.groupBox1.Size = new System.Drawing.Size(473, 325);
|
|
this.groupBox1.TabIndex = 15;
|
|
this.groupBox1.TabStop = false;
|
|
this.groupBox1.Text = "Data storage source testing";
|
|
//
|
|
// info2Button
|
|
//
|
|
this.info2Button.Location = new System.Drawing.Point(417, 22);
|
|
this.info2Button.Name = "info2Button";
|
|
this.info2Button.Size = new System.Drawing.Size(35, 23);
|
|
this.info2Button.TabIndex = 21;
|
|
this.info2Button.Text = "Info";
|
|
this.info2Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// sourceTestResultTextBox
|
|
//
|
|
this.sourceTestResultTextBox.Enabled = false;
|
|
this.sourceTestResultTextBox.Location = new System.Drawing.Point(15, 47);
|
|
this.sourceTestResultTextBox.Multiline = true;
|
|
this.sourceTestResultTextBox.Name = "sourceTestResultTextBox";
|
|
this.sourceTestResultTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.sourceTestResultTextBox.Size = new System.Drawing.Size(437, 267);
|
|
this.sourceTestResultTextBox.TabIndex = 15;
|
|
//
|
|
// connectToDataSourceButton
|
|
//
|
|
this.connectToDataSourceButton.Location = new System.Drawing.Point(15, 19);
|
|
this.connectToDataSourceButton.Name = "connectToDataSourceButton";
|
|
this.connectToDataSourceButton.Size = new System.Drawing.Size(131, 23);
|
|
this.connectToDataSourceButton.TabIndex = 14;
|
|
this.connectToDataSourceButton.Text = "Connect to Data source";
|
|
this.connectToDataSourceButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox2
|
|
//
|
|
this.groupBox2.Controls.Add(this.info4Button);
|
|
this.groupBox2.Controls.Add(this.writeTestResultTextBox);
|
|
this.groupBox2.Controls.Add(this.writeDataByParamAndTemplateButton);
|
|
this.groupBox2.Location = new System.Drawing.Point(487, 394);
|
|
this.groupBox2.Name = "groupBox2";
|
|
this.groupBox2.Size = new System.Drawing.Size(463, 325);
|
|
this.groupBox2.TabIndex = 16;
|
|
this.groupBox2.TabStop = false;
|
|
this.groupBox2.Text = "Complete write testing";
|
|
//
|
|
// info4Button
|
|
//
|
|
this.info4Button.Location = new System.Drawing.Point(417, 23);
|
|
this.info4Button.Name = "info4Button";
|
|
this.info4Button.Size = new System.Drawing.Size(35, 23);
|
|
this.info4Button.TabIndex = 22;
|
|
this.info4Button.Text = "Info";
|
|
this.info4Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// writeTestResultTextBox
|
|
//
|
|
this.writeTestResultTextBox.Enabled = false;
|
|
this.writeTestResultTextBox.Location = new System.Drawing.Point(6, 48);
|
|
this.writeTestResultTextBox.Multiline = true;
|
|
this.writeTestResultTextBox.Name = "writeTestResultTextBox";
|
|
this.writeTestResultTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.writeTestResultTextBox.Size = new System.Drawing.Size(446, 266);
|
|
this.writeTestResultTextBox.TabIndex = 18;
|
|
//
|
|
// writeDataByParamAndTemplateButton
|
|
//
|
|
this.writeDataByParamAndTemplateButton.Location = new System.Drawing.Point(6, 19);
|
|
this.writeDataByParamAndTemplateButton.Name = "writeDataByParamAndTemplateButton";
|
|
this.writeDataByParamAndTemplateButton.Size = new System.Drawing.Size(206, 23);
|
|
this.writeDataByParamAndTemplateButton.TabIndex = 17;
|
|
this.writeDataByParamAndTemplateButton.Text = "Write data by param and template";
|
|
this.writeDataByParamAndTemplateButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// groupBox3
|
|
//
|
|
this.groupBox3.Controls.Add(this.writeModeComboBox);
|
|
this.groupBox3.Controls.Add(this.writeModeLabel);
|
|
this.groupBox3.Controls.Add(this.buttonRemoveParam);
|
|
this.groupBox3.Controls.Add(this.buttonAddParam);
|
|
this.groupBox3.Controls.Add(this.labelParamValue);
|
|
this.groupBox3.Controls.Add(this.listBoxWriteParams);
|
|
this.groupBox3.Controls.Add(this.writeParamValueTextBox);
|
|
this.groupBox3.Controls.Add(this.info5Button);
|
|
this.groupBox3.Location = new System.Drawing.Point(956, 394);
|
|
this.groupBox3.Name = "groupBox3";
|
|
this.groupBox3.Size = new System.Drawing.Size(316, 325);
|
|
this.groupBox3.TabIndex = 17;
|
|
this.groupBox3.TabStop = false;
|
|
this.groupBox3.Text = "Component interface testing";
|
|
//
|
|
// writeModeComboBox
|
|
//
|
|
this.writeModeComboBox.DropDownStyle = System.Windows.Forms.ComboBoxStyle.DropDownList;
|
|
this.writeModeComboBox.FormattingEnabled = true;
|
|
this.writeModeComboBox.Location = new System.Drawing.Point(76, 20);
|
|
this.writeModeComboBox.Name = "writeModeComboBox";
|
|
this.writeModeComboBox.Size = new System.Drawing.Size(105, 21);
|
|
this.writeModeComboBox.TabIndex = 30;
|
|
//
|
|
// writeModeLabel
|
|
//
|
|
this.writeModeLabel.AutoSize = true;
|
|
this.writeModeLabel.Location = new System.Drawing.Point(6, 23);
|
|
this.writeModeLabel.Name = "writeModeLabel";
|
|
this.writeModeLabel.Size = new System.Drawing.Size(64, 13);
|
|
this.writeModeLabel.TabIndex = 29;
|
|
this.writeModeLabel.Text = "Write mode:";
|
|
//
|
|
// buttonRemoveParam
|
|
//
|
|
this.buttonRemoveParam.Location = new System.Drawing.Point(90, 159);
|
|
this.buttonRemoveParam.Name = "buttonRemoveParam";
|
|
this.buttonRemoveParam.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonRemoveParam.TabIndex = 25;
|
|
this.buttonRemoveParam.Text = "Remove";
|
|
this.buttonRemoveParam.UseVisualStyleBackColor = true;
|
|
//
|
|
// buttonAddParam
|
|
//
|
|
this.buttonAddParam.Location = new System.Drawing.Point(9, 159);
|
|
this.buttonAddParam.Name = "buttonAddParam";
|
|
this.buttonAddParam.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonAddParam.TabIndex = 24;
|
|
this.buttonAddParam.Text = "Add";
|
|
this.buttonAddParam.UseVisualStyleBackColor = true;
|
|
//
|
|
// labelParamValue
|
|
//
|
|
this.labelParamValue.AutoSize = true;
|
|
this.labelParamValue.Location = new System.Drawing.Point(6, 52);
|
|
this.labelParamValue.Name = "labelParamValue";
|
|
this.labelParamValue.Size = new System.Drawing.Size(107, 13);
|
|
this.labelParamValue.TabIndex = 23;
|
|
this.labelParamValue.Text = "Insert: Column_Value";
|
|
//
|
|
// listBoxWriteParams
|
|
//
|
|
this.listBoxWriteParams.FormattingEnabled = true;
|
|
this.listBoxWriteParams.Location = new System.Drawing.Point(9, 188);
|
|
this.listBoxWriteParams.Name = "listBoxWriteParams";
|
|
this.listBoxWriteParams.Size = new System.Drawing.Size(297, 121);
|
|
this.listBoxWriteParams.TabIndex = 22;
|
|
//
|
|
// writeParamValueTextBox
|
|
//
|
|
this.writeParamValueTextBox.AcceptsReturn = true;
|
|
this.writeParamValueTextBox.AcceptsTab = true;
|
|
this.writeParamValueTextBox.Location = new System.Drawing.Point(9, 68);
|
|
this.writeParamValueTextBox.Multiline = true;
|
|
this.writeParamValueTextBox.Name = "writeParamValueTextBox";
|
|
this.writeParamValueTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.writeParamValueTextBox.Size = new System.Drawing.Size(297, 85);
|
|
this.writeParamValueTextBox.TabIndex = 21;
|
|
this.writeParamValueTextBox.WordWrap = false;
|
|
//
|
|
// info5Button
|
|
//
|
|
this.info5Button.Location = new System.Drawing.Point(271, 42);
|
|
this.info5Button.Name = "info5Button";
|
|
this.info5Button.Size = new System.Drawing.Size(35, 23);
|
|
this.info5Button.TabIndex = 20;
|
|
this.info5Button.Text = "Info";
|
|
this.info5Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// contextMenuStrip1
|
|
//
|
|
this.contextMenuStrip1.Name = "contextMenuStrip1";
|
|
this.contextMenuStrip1.Size = new System.Drawing.Size(61, 4);
|
|
//
|
|
// groupBox4
|
|
//
|
|
this.groupBox4.Controls.Add(this.label2);
|
|
this.groupBox4.Controls.Add(this.info1Button);
|
|
this.groupBox4.Controls.Add(this.dataSourceLabel);
|
|
this.groupBox4.Controls.Add(this.dataSourceTextBox);
|
|
this.groupBox4.Location = new System.Drawing.Point(8, 112);
|
|
this.groupBox4.Name = "groupBox4";
|
|
this.groupBox4.Size = new System.Drawing.Size(473, 140);
|
|
this.groupBox4.TabIndex = 22;
|
|
this.groupBox4.TabStop = false;
|
|
this.groupBox4.Text = "Data storage source setting";
|
|
//
|
|
// label2
|
|
//
|
|
this.label2.AutoSize = true;
|
|
this.label2.Location = new System.Drawing.Point(6, 25);
|
|
this.label2.Name = "label2";
|
|
this.label2.Size = new System.Drawing.Size(106, 13);
|
|
this.label2.TabIndex = 22;
|
|
this.label2.Text = "Data storage source:";
|
|
//
|
|
// info1Button
|
|
//
|
|
this.info1Button.Location = new System.Drawing.Point(417, 14);
|
|
this.info1Button.Name = "info1Button";
|
|
this.info1Button.Size = new System.Drawing.Size(35, 23);
|
|
this.info1Button.TabIndex = 21;
|
|
this.info1Button.Text = "Info";
|
|
this.info1Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// dataSourceLabel
|
|
//
|
|
this.dataSourceLabel.AutoSize = true;
|
|
this.dataSourceLabel.Location = new System.Drawing.Point(-123, 1);
|
|
this.dataSourceLabel.Name = "dataSourceLabel";
|
|
this.dataSourceLabel.Size = new System.Drawing.Size(68, 13);
|
|
this.dataSourceLabel.TabIndex = 18;
|
|
this.dataSourceLabel.Text = "Data source:";
|
|
//
|
|
// dataSourceTextBox
|
|
//
|
|
this.dataSourceTextBox.Enabled = false;
|
|
this.dataSourceTextBox.Location = new System.Drawing.Point(6, 41);
|
|
this.dataSourceTextBox.Multiline = true;
|
|
this.dataSourceTextBox.Name = "dataSourceTextBox";
|
|
this.dataSourceTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.dataSourceTextBox.Size = new System.Drawing.Size(446, 86);
|
|
this.dataSourceTextBox.TabIndex = 17;
|
|
//
|
|
// groupBox5
|
|
//
|
|
this.groupBox5.Controls.Add(this.label1);
|
|
this.groupBox5.Controls.Add(this.buttonRemoveTemplate);
|
|
this.groupBox5.Controls.Add(this.buttonUpdateTemplate);
|
|
this.groupBox5.Controls.Add(this.buttonAddTemplate);
|
|
this.groupBox5.Controls.Add(this.templateEditTextBox);
|
|
this.groupBox5.Controls.Add(this.writeTemplatesListBox);
|
|
this.groupBox5.Controls.Add(this.label3);
|
|
this.groupBox5.Controls.Add(this.info3Button);
|
|
this.groupBox5.Controls.Add(this.examples1Button);
|
|
this.groupBox5.Location = new System.Drawing.Point(488, 32);
|
|
this.groupBox5.Name = "groupBox5";
|
|
this.groupBox5.Size = new System.Drawing.Size(784, 220);
|
|
this.groupBox5.TabIndex = 23;
|
|
this.groupBox5.TabStop = false;
|
|
this.groupBox5.Text = "Write template setting";
|
|
//
|
|
// label1
|
|
//
|
|
this.label1.AutoSize = true;
|
|
this.label1.Location = new System.Drawing.Point(6, 94);
|
|
this.label1.Name = "label1";
|
|
this.label1.Size = new System.Drawing.Size(83, 13);
|
|
this.label1.TabIndex = 37;
|
|
this.label1.Text = "Write templates:";
|
|
//
|
|
// buttonRemoveTemplate
|
|
//
|
|
this.buttonRemoveTemplate.Enabled = false;
|
|
this.buttonRemoveTemplate.Location = new System.Drawing.Point(376, 80);
|
|
this.buttonRemoveTemplate.Name = "buttonRemoveTemplate";
|
|
this.buttonRemoveTemplate.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonRemoveTemplate.TabIndex = 36;
|
|
this.buttonRemoveTemplate.Text = "Remove";
|
|
this.buttonRemoveTemplate.UseVisualStyleBackColor = true;
|
|
//
|
|
// buttonUpdateTemplate
|
|
//
|
|
this.buttonUpdateTemplate.Enabled = false;
|
|
this.buttonUpdateTemplate.Location = new System.Drawing.Point(295, 80);
|
|
this.buttonUpdateTemplate.Name = "buttonUpdateTemplate";
|
|
this.buttonUpdateTemplate.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonUpdateTemplate.TabIndex = 35;
|
|
this.buttonUpdateTemplate.Text = "Update";
|
|
this.buttonUpdateTemplate.UseVisualStyleBackColor = true;
|
|
//
|
|
// buttonAddTemplate
|
|
//
|
|
this.buttonAddTemplate.Enabled = false;
|
|
this.buttonAddTemplate.Location = new System.Drawing.Point(214, 80);
|
|
this.buttonAddTemplate.Name = "buttonAddTemplate";
|
|
this.buttonAddTemplate.Size = new System.Drawing.Size(75, 23);
|
|
this.buttonAddTemplate.TabIndex = 34;
|
|
this.buttonAddTemplate.Text = "Add";
|
|
this.buttonAddTemplate.UseVisualStyleBackColor = true;
|
|
//
|
|
// templateEditTextBox
|
|
//
|
|
this.templateEditTextBox.Enabled = false;
|
|
this.templateEditTextBox.Location = new System.Drawing.Point(9, 41);
|
|
this.templateEditTextBox.Multiline = true;
|
|
this.templateEditTextBox.Name = "templateEditTextBox";
|
|
this.templateEditTextBox.ScrollBars = System.Windows.Forms.ScrollBars.Both;
|
|
this.templateEditTextBox.Size = new System.Drawing.Size(453, 33);
|
|
this.templateEditTextBox.TabIndex = 33;
|
|
//
|
|
// writeTemplatesListBox
|
|
//
|
|
this.writeTemplatesListBox.Enabled = false;
|
|
this.writeTemplatesListBox.FormattingEnabled = true;
|
|
this.writeTemplatesListBox.Location = new System.Drawing.Point(9, 111);
|
|
this.writeTemplatesListBox.Name = "writeTemplatesListBox";
|
|
this.writeTemplatesListBox.Size = new System.Drawing.Size(765, 95);
|
|
this.writeTemplatesListBox.TabIndex = 32;
|
|
//
|
|
// label3
|
|
//
|
|
this.label3.AutoSize = true;
|
|
this.label3.Location = new System.Drawing.Point(6, 24);
|
|
this.label3.Name = "label3";
|
|
this.label3.Size = new System.Drawing.Size(78, 13);
|
|
this.label3.TabIndex = 26;
|
|
this.label3.Text = "Write template:";
|
|
//
|
|
// info3Button
|
|
//
|
|
this.info3Button.Location = new System.Drawing.Point(419, 14);
|
|
this.info3Button.Name = "info3Button";
|
|
this.info3Button.Size = new System.Drawing.Size(35, 23);
|
|
this.info3Button.TabIndex = 25;
|
|
this.info3Button.Text = "Info";
|
|
this.info3Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// examples1Button
|
|
//
|
|
this.examples1Button.Enabled = false;
|
|
this.examples1Button.Location = new System.Drawing.Point(338, 14);
|
|
this.examples1Button.Name = "examples1Button";
|
|
this.examples1Button.Size = new System.Drawing.Size(75, 23);
|
|
this.examples1Button.TabIndex = 24;
|
|
this.examples1Button.Text = "Examples";
|
|
this.examples1Button.UseVisualStyleBackColor = true;
|
|
//
|
|
// technologyTypeLabel
|
|
//
|
|
this.technologyTypeLabel.AutoSize = true;
|
|
this.technologyTypeLabel.Location = new System.Drawing.Point(5, 88);
|
|
this.technologyTypeLabel.Name = "technologyTypeLabel";
|
|
this.technologyTypeLabel.Size = new System.Drawing.Size(86, 13);
|
|
this.technologyTypeLabel.TabIndex = 24;
|
|
this.technologyTypeLabel.Text = "Technology type";
|
|
//
|
|
// technologyTypeComboBox
|
|
//
|
|
this.technologyTypeComboBox.Enabled = false;
|
|
this.technologyTypeComboBox.FormattingEnabled = true;
|
|
this.technologyTypeComboBox.Location = new System.Drawing.Point(117, 85);
|
|
this.technologyTypeComboBox.Name = "technologyTypeComboBox";
|
|
this.technologyTypeComboBox.Size = new System.Drawing.Size(326, 21);
|
|
this.technologyTypeComboBox.TabIndex = 25;
|
|
//
|
|
// groupBox6
|
|
//
|
|
this.groupBox6.Controls.Add(this.browsePayloadArchiveButton);
|
|
this.groupBox6.Controls.Add(this.payloadArchivePathTextBox);
|
|
this.groupBox6.Controls.Add(this.payloadArchivePathLabel);
|
|
this.groupBox6.Controls.Add(this.archivePayloadCheckBox);
|
|
this.groupBox6.Controls.Add(this.payloadParameterNameTextBox);
|
|
this.groupBox6.Controls.Add(this.payloadParameterNameLabel);
|
|
this.groupBox6.Controls.Add(this.browsePayloadTemplateButton);
|
|
this.groupBox6.Controls.Add(this.payloadTemplatePathTextBox);
|
|
this.groupBox6.Controls.Add(this.payloadTemplatePathLabel);
|
|
this.groupBox6.Location = new System.Drawing.Point(8, 258);
|
|
this.groupBox6.Name = "groupBox6";
|
|
this.groupBox6.Size = new System.Drawing.Size(1264, 130);
|
|
this.groupBox6.TabIndex = 26;
|
|
this.groupBox6.TabStop = false;
|
|
this.groupBox6.Text = "Payload template setting";
|
|
//
|
|
// browsePayloadArchiveButton
|
|
//
|
|
this.browsePayloadArchiveButton.Enabled = false;
|
|
this.browsePayloadArchiveButton.Location = new System.Drawing.Point(1130, 86);
|
|
this.browsePayloadArchiveButton.Name = "browsePayloadArchiveButton";
|
|
this.browsePayloadArchiveButton.Size = new System.Drawing.Size(110, 23);
|
|
this.browsePayloadArchiveButton.TabIndex = 8;
|
|
this.browsePayloadArchiveButton.Text = "Browse...";
|
|
this.browsePayloadArchiveButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// payloadArchivePathTextBox
|
|
//
|
|
this.payloadArchivePathTextBox.Enabled = false;
|
|
this.payloadArchivePathTextBox.Location = new System.Drawing.Point(120, 88);
|
|
this.payloadArchivePathTextBox.Name = "payloadArchivePathTextBox";
|
|
this.payloadArchivePathTextBox.Size = new System.Drawing.Size(1000, 20);
|
|
this.payloadArchivePathTextBox.TabIndex = 7;
|
|
//
|
|
// payloadArchivePathLabel
|
|
//
|
|
this.payloadArchivePathLabel.AutoSize = true;
|
|
this.payloadArchivePathLabel.Location = new System.Drawing.Point(9, 91);
|
|
this.payloadArchivePathLabel.Name = "payloadArchivePathLabel";
|
|
this.payloadArchivePathLabel.Size = new System.Drawing.Size(110, 13);
|
|
this.payloadArchivePathLabel.TabIndex = 6;
|
|
this.payloadArchivePathLabel.Text = "Payload archive path:";
|
|
//
|
|
// archivePayloadCheckBox
|
|
//
|
|
this.archivePayloadCheckBox.AutoSize = true;
|
|
this.archivePayloadCheckBox.Enabled = false;
|
|
this.archivePayloadCheckBox.Location = new System.Drawing.Point(450, 57);
|
|
this.archivePayloadCheckBox.Name = "archivePayloadCheckBox";
|
|
this.archivePayloadCheckBox.Size = new System.Drawing.Size(153, 17);
|
|
this.archivePayloadCheckBox.TabIndex = 5;
|
|
this.archivePayloadCheckBox.Text = "Archive generated payload";
|
|
this.archivePayloadCheckBox.UseVisualStyleBackColor = true;
|
|
//
|
|
// payloadParameterNameTextBox
|
|
//
|
|
this.payloadParameterNameTextBox.Enabled = false;
|
|
this.payloadParameterNameTextBox.Location = new System.Drawing.Point(120, 55);
|
|
this.payloadParameterNameTextBox.Name = "payloadParameterNameTextBox";
|
|
this.payloadParameterNameTextBox.Size = new System.Drawing.Size(300, 20);
|
|
this.payloadParameterNameTextBox.TabIndex = 4;
|
|
//
|
|
// payloadParameterNameLabel
|
|
//
|
|
this.payloadParameterNameLabel.AutoSize = true;
|
|
this.payloadParameterNameLabel.Location = new System.Drawing.Point(9, 58);
|
|
this.payloadParameterNameLabel.Name = "payloadParameterNameLabel";
|
|
this.payloadParameterNameLabel.Size = new System.Drawing.Size(98, 13);
|
|
this.payloadParameterNameLabel.TabIndex = 3;
|
|
this.payloadParameterNameLabel.Text = "Payload parameter:";
|
|
//
|
|
// browsePayloadTemplateButton
|
|
//
|
|
this.browsePayloadTemplateButton.Enabled = false;
|
|
this.browsePayloadTemplateButton.Location = new System.Drawing.Point(1130, 21);
|
|
this.browsePayloadTemplateButton.Name = "browsePayloadTemplateButton";
|
|
this.browsePayloadTemplateButton.Size = new System.Drawing.Size(110, 23);
|
|
this.browsePayloadTemplateButton.TabIndex = 2;
|
|
this.browsePayloadTemplateButton.Text = "Browse...";
|
|
this.browsePayloadTemplateButton.UseVisualStyleBackColor = true;
|
|
//
|
|
// payloadTemplatePathTextBox
|
|
//
|
|
this.payloadTemplatePathTextBox.Enabled = false;
|
|
this.payloadTemplatePathTextBox.Location = new System.Drawing.Point(120, 23);
|
|
this.payloadTemplatePathTextBox.Name = "payloadTemplatePathTextBox";
|
|
this.payloadTemplatePathTextBox.Size = new System.Drawing.Size(1000, 20);
|
|
this.payloadTemplatePathTextBox.TabIndex = 1;
|
|
//
|
|
// payloadTemplatePathLabel
|
|
//
|
|
this.payloadTemplatePathLabel.AutoSize = true;
|
|
this.payloadTemplatePathLabel.Location = new System.Drawing.Point(9, 26);
|
|
this.payloadTemplatePathLabel.Name = "payloadTemplatePathLabel";
|
|
this.payloadTemplatePathLabel.Size = new System.Drawing.Size(91, 13);
|
|
this.payloadTemplatePathLabel.TabIndex = 0;
|
|
this.payloadTemplatePathLabel.Text = "Payload template:";
|
|
//
|
|
// WriterCfgCtrl
|
|
//
|
|
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
|
|
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
|
this.Controls.Add(this.groupBox6);
|
|
this.Controls.Add(this.technologyTypeComboBox);
|
|
this.Controls.Add(this.technologyTypeLabel);
|
|
this.Controls.Add(this.groupBox5);
|
|
this.Controls.Add(this.groupBox4);
|
|
this.Controls.Add(this.groupBox3);
|
|
this.Controls.Add(this.groupBox2);
|
|
this.Controls.Add(this.groupBox1);
|
|
this.Controls.Add(this.dataStorageTypeComboBox);
|
|
this.Controls.Add(this.dataStorageTypeLabel);
|
|
this.Controls.Add(this.nameTextBox);
|
|
this.Controls.Add(this.nameLabel);
|
|
this.Controls.Add(this.classNameLabel);
|
|
this.Name = "WriterCfgCtrl";
|
|
this.Size = new System.Drawing.Size(1280, 732);
|
|
this.Load += new System.EventHandler(this.WriterCfgCtrl_Load);
|
|
this.groupBox1.ResumeLayout(false);
|
|
this.groupBox1.PerformLayout();
|
|
this.groupBox2.ResumeLayout(false);
|
|
this.groupBox2.PerformLayout();
|
|
this.groupBox3.ResumeLayout(false);
|
|
this.groupBox3.PerformLayout();
|
|
this.groupBox4.ResumeLayout(false);
|
|
this.groupBox4.PerformLayout();
|
|
this.groupBox5.ResumeLayout(false);
|
|
this.groupBox5.PerformLayout();
|
|
this.groupBox6.ResumeLayout(false);
|
|
this.groupBox6.PerformLayout();
|
|
this.ResumeLayout(false);
|
|
this.PerformLayout();
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.Windows.Forms.TextBox nameTextBox;
|
|
private System.Windows.Forms.Label nameLabel;
|
|
private System.Windows.Forms.Label classNameLabel;
|
|
private System.Windows.Forms.Label dataStorageTypeLabel;
|
|
private System.Windows.Forms.ComboBox dataStorageTypeComboBox;
|
|
private System.Windows.Forms.GroupBox groupBox1;
|
|
private System.Windows.Forms.Button info2Button;
|
|
private System.Windows.Forms.TextBox sourceTestResultTextBox;
|
|
private System.Windows.Forms.Button connectToDataSourceButton;
|
|
private System.ComponentModel.BackgroundWorker backgroundWorker1;
|
|
private System.Windows.Forms.GroupBox groupBox2;
|
|
private System.Windows.Forms.Button info4Button;
|
|
private System.Windows.Forms.TextBox writeTestResultTextBox;
|
|
private System.Windows.Forms.Button writeDataByParamAndTemplateButton;
|
|
private System.ComponentModel.BackgroundWorker backgroundWorker2;
|
|
private System.Windows.Forms.GroupBox groupBox3;
|
|
private System.Windows.Forms.Button buttonRemoveParam;
|
|
private System.Windows.Forms.Button buttonAddParam;
|
|
private System.Windows.Forms.Label labelParamValue;
|
|
private System.Windows.Forms.ListBox listBoxWriteParams;
|
|
private System.Windows.Forms.TextBox writeParamValueTextBox;
|
|
private System.Windows.Forms.Button info5Button;
|
|
private System.ComponentModel.BackgroundWorker backgroundWorker3;
|
|
private System.Windows.Forms.ContextMenuStrip contextMenuStrip1;
|
|
private System.Windows.Forms.GroupBox groupBox4;
|
|
private System.Windows.Forms.Label label2;
|
|
private System.Windows.Forms.Button info1Button;
|
|
private System.Windows.Forms.Label dataSourceLabel;
|
|
private System.Windows.Forms.TextBox dataSourceTextBox;
|
|
private System.Windows.Forms.GroupBox groupBox5;
|
|
private System.Windows.Forms.Label label3;
|
|
private System.Windows.Forms.Button info3Button;
|
|
private System.Windows.Forms.Button examples1Button;
|
|
private System.Windows.Forms.Label technologyTypeLabel;
|
|
private System.Windows.Forms.ComboBox technologyTypeComboBox;
|
|
private System.Windows.Forms.ComboBox writeModeComboBox;
|
|
private System.Windows.Forms.Label writeModeLabel;
|
|
private System.Windows.Forms.ListBox writeTemplatesListBox;
|
|
private System.Windows.Forms.TextBox templateEditTextBox;
|
|
private System.Windows.Forms.Button buttonAddTemplate;
|
|
private System.Windows.Forms.Button buttonUpdateTemplate;
|
|
private System.Windows.Forms.Button buttonRemoveTemplate;
|
|
private System.Windows.Forms.Label label1;
|
|
private System.Windows.Forms.GroupBox groupBox6;
|
|
private System.Windows.Forms.Label payloadTemplatePathLabel;
|
|
private System.Windows.Forms.TextBox payloadTemplatePathTextBox;
|
|
private System.Windows.Forms.Button browsePayloadTemplateButton;
|
|
private System.Windows.Forms.Label payloadParameterNameLabel;
|
|
private System.Windows.Forms.TextBox payloadParameterNameTextBox;
|
|
private System.Windows.Forms.CheckBox archivePayloadCheckBox;
|
|
private System.Windows.Forms.Label payloadArchivePathLabel;
|
|
private System.Windows.Forms.TextBox payloadArchivePathTextBox;
|
|
private System.Windows.Forms.Button browsePayloadArchiveButton;
|
|
}
|
|
} |