A new form for 24 water meters in adjustment dialog

This commit is contained in:
Milan Hanajik 2015-07-02 15:55:41 +02:00
parent 7b52921730
commit 5292088622
7 changed files with 1024 additions and 2 deletions

View File

@ -22,7 +22,11 @@ namespace TBF.BenchControl.TestMethods.Adjustment
///
void OpenWMErrorsForm(AdjustmentSeq myRef)
{
#if TORUN_PT50_2015
myRef.modelessDlg = new WMErrorsForm24(Program.WMsCount);
#else
myRef.modelessDlg = new WMErrorsForm(Program.WMsCount);
#endif
modelessDlg.Show();
}

View File

@ -79,7 +79,7 @@ namespace TBF.BenchControl.TestMethods.Adjustment
okButton.Text = Strings.OkBtnText;
}
private void CycleEndForm_Load(object sender, EventArgs e)
private void WMErrorsForm_Load(object sender, EventArgs e)
{
Localize();

View File

@ -268,7 +268,7 @@ namespace TBF.BenchControl.TestMethods.Adjustment
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Water Meter States";
this.TopMost = true;
this.Load += new System.EventHandler(this.CycleEndForm_Load);
this.Load += new System.EventHandler(this.WMErrorsForm_Load);
this.Paint += new System.Windows.Forms.PaintEventHandler(this.WMErrorsForm_Paint);
this.groupBox2.ResumeLayout(false);
this.groupBox2.PerformLayout();

View File

@ -0,0 +1,240 @@
///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
using System;
using System.Drawing;
using System.Windows.Forms;
using log4net;
using TBF.Resources;
namespace TBF.BenchControl.TestMethods.Adjustment
{
public partial class WMErrorsForm24 : Form, GenericDevices.IHasCompleted
{
private static readonly ILog log = LogManager.GetLogger(typeof(WMErrorsForm24));
// Set to 'true' when the form closes
public bool Completed { get { return completed; } }
bool completed;
/// <summary> Number of text boxes for serial numbers </summary>
public readonly int WaterMetersCount;
readonly bool[] disabled;
Entities.TestResult tr;
int textBoxesCount;
Label[] labels;
TextBox[] errors;
Rectangle[] rects;
/// <summary> Parameterless constructor for 3 watermeters </summary>
public WMErrorsForm24()
{
InitializeComponent();
textBoxesCount = 24;
labels = new Label[24]
{
wmErrorLabel1, wmErrorLabel2, wmErrorLabel3, wmErrorLabel4, wmErrorLabel5,
wmErrorLabel6, wmErrorLabel7, wmErrorLabel8, wmErrorLabel9, wmErrorLabel10,
wmErrorLabel11, wmErrorLabel12, wmErrorLabel13, wmErrorLabel14, wmErrorLabel15,
wmErrorLabel16, wmErrorLabel17, wmErrorLabel18, wmErrorLabel19, wmErrorLabel20,
wmErrorLabel21, wmErrorLabel22, wmErrorLabel23, wmErrorLabel24,
};
errors = new TextBox[24]
{
wmErrorTextBox1, wmErrorTextBox2, wmErrorTextBox3, wmErrorTextBox4, wmErrorTextBox5,
wmErrorTextBox6, wmErrorTextBox7, wmErrorTextBox8, wmErrorTextBox9, wmErrorTextBox10,
wmErrorTextBox11, wmErrorTextBox12, wmErrorTextBox13, wmErrorTextBox14, wmErrorTextBox15,
wmErrorTextBox16, wmErrorTextBox17, wmErrorTextBox18, wmErrorTextBox19, wmErrorTextBox20,
wmErrorTextBox21, wmErrorTextBox22, wmErrorTextBox23, wmErrorTextBox24,
};
rects = new Rectangle[WaterMetersCount];
for (int i = 0; i < WaterMetersCount; i++)
{
int row = i % 12;
int col = i / 12;
rects[i] = new Rectangle(350 + col * 557, 25 + row * 47, 230, 37);
}
completed = false;
tr = null;
/// Attach to 'AdjustmentInProgress' handler
UiBridge.Bridge.AdjustmentInProgressHandler += delegate(object sender, UiBridge.AdjustmentInProgressEventArgs args)
{
if (InvokeRequired)
{
Invoke(new EventHandler<UiBridge.AdjustmentInProgressEventArgs>(OnAdjustmentInProgress), sender, args);
}
else OnAdjustmentInProgress(sender, args);
};
}
/// <summary>
/// Constructor
/// </summary>
/// <param name="waterMetersCount">Number of text boxes for serial numbers</param>
public WMErrorsForm24(int waterMetersCount)
: this()
{
this.WaterMetersCount = waterMetersCount;
ShuffleTextBoxes(waterMetersCount, Program.LineSize);
disabled = new bool[waterMetersCount];
}
/// <summary>
/// Make sure the layout of labels/text boxes on the screen
/// corresponds to the layout of watermeters of the test bench.
/// </summary>
/// <param name="wmsCount">Number of watermeters</param>
/// <param name="lineSize">Number of watermeters in one line</param>
void ShuffleTextBoxes(int wmsCount, int lineSize)
{
if (wmsCount < textBoxesCount && lineSize > 0)
{
int nrLines = (wmsCount + lineSize - 1) / lineSize;
int gap = (textBoxesCount - wmsCount) / nrLines;
int dest = 0;
for (int l = 0; l < nrLines; l++)
{
for (int i = 0; i < lineSize; i++)
{
labels[dest] = labels[l * lineSize + l * gap + i];
errors[dest] = errors[l * lineSize + l * gap + i];
rects[dest] = rects[l * lineSize + l * gap + i];
dest++;
}
}
textBoxesCount = wmsCount;
}
}
void Localize()
{
Text = Strings.Water_Meter_States;
for (int i = 0; i < textBoxesCount; i++)
{
labels[i].Text = string.Format("WM{0} {1}", i + 1, Strings.Error_pct);
}
okButton.Text = Strings.OkBtnText;
}
private void WMErrorsForm24_Load(object sender, EventArgs e)
{
Localize();
//Height = 50 + 90 * WaterMetersCount;
for (int i = 0; i < textBoxesCount; i++)
{
if (disabled != null && i < disabled.Length && disabled[i])
{
labels[i].Visible = errors[i].Visible = true;
errors[i].Text = "---";
}
}
}
private void okButton_Click(object sender, EventArgs e)
{
completed = true;
Close();
}
void OnAdjustmentInProgress(object sender, UiBridge.AdjustmentInProgressEventArgs args)
{
tr = args.TestResult;
Redraw();
}
void Redraw()
{
if (tr != null)
{
for (int i = 0; i < textBoxesCount; i++)
{
errors[i].Text = tr.Meters[i].VolumeErrorPct.ToString("F1");
Invalidate(rects[i]);
}
}
}
private void WMErrorsForm_Paint(object sender, PaintEventArgs e)
{
if (tr != null)
{
System.Drawing.Graphics graphics = this.CreateGraphics();
for (int i = 0; i < WaterMetersCount; i++)
{
PaintOne(graphics, rects[i], tr.Meters[i].VolumeErrorPct, tr.ErrLimLo, tr.ErrLimHi);
}
}
}
void PaintOne(System.Drawing.Graphics g, Rectangle r, float value, float limLo, float limHi)
{
Rectangle rect1 = new Rectangle(r.Left, r.Top, r.Width / 3, r.Height);
Rectangle rect2 = new Rectangle(r.Left + r.Width / 3, r.Top, r.Width / 3, r.Height);
Rectangle rect3 = new Rectangle(r.Left + 2 * (r.Width / 3), r.Top, r.Width / 3, r.Height);
Rectangle rectCent = new Rectangle(r.Left + r.Width / 2 - 1, r.Top, 3, r.Height);
Brush redBrush = new SolidBrush(Color.FromName("Salmon"));
Brush greenBrush = new SolidBrush(Color.FromName("LightGreen"));
Brush centBrush = new SolidBrush(Color.FromName("Green"));
g.FillRectangle(redBrush, rect1);
g.FillRectangle(greenBrush, rect2);
g.FillRectangle(redBrush, rect3);
g.FillRectangle(centBrush, rectCent);
int x0 = r.Left + r.Width / 2;
int dx = r.Height / 3;
int x = (int)((float)r.Width * (2.0 * value - limLo - limHi) / (limHi - limLo) / 6.0f + 0.5f);
if (x0 - dx + x >= r.Left && x0 + dx + x < r.Left + r.Width)
{
Point[] triangle = new Point[3]
{
new Point(x0 - dx + x, r.Top),
new Point(x0 + dx + x, r.Top),
new Point(x0 + x, r.Top + 2 * r.Height / 3),
};
Brush blackBrush = new SolidBrush(Color.Black);
g.FillPolygon(blackBrush, triangle);
}
}
#region Forced close handling
public void StartForceCloseHandler()
{
UiBridge.Bridge.CloseModelessFormHandler += delegate(object sender, EventArgs args)
{
if (InvokeRequired) { Invoke(new EventHandler<EventArgs>(OnForceClose), sender, args); }
else OnForceClose(sender, args);
};
}
void OnForceClose(object sender, EventArgs args)
{
DialogResult = DialogResult.Cancel;
Close();
}
#endregion
}
}

View File

@ -0,0 +1,649 @@
///
/// Copyright (c) 2013-2015 Sensus Metering Systems
///
namespace TBF.BenchControl.TestMethods.Adjustment
{
partial class WMErrorsForm24
{
/// <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 Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
private void InitializeComponent()
{
this.wmErrorTextBox2 = new System.Windows.Forms.TextBox();
this.wmErrorLabel2 = new System.Windows.Forms.Label();
this.wmErrorLabel1 = new System.Windows.Forms.Label();
this.okButton = new System.Windows.Forms.Button();
this.wmErrorTextBox3 = new System.Windows.Forms.TextBox();
this.wmErrorLabel3 = new System.Windows.Forms.Label();
this.wmErrorTextBox4 = new System.Windows.Forms.TextBox();
this.wmErrorLabel4 = new System.Windows.Forms.Label();
this.wmErrorTextBox5 = new System.Windows.Forms.TextBox();
this.wmErrorLabel5 = new System.Windows.Forms.Label();
this.wmErrorTextBox6 = new System.Windows.Forms.TextBox();
this.wmErrorLabel6 = new System.Windows.Forms.Label();
this.wmErrorTextBox1 = new System.Windows.Forms.TextBox();
this.wmErrorTextBox7 = new System.Windows.Forms.TextBox();
this.wmErrorLabel7 = new System.Windows.Forms.Label();
this.wmErrorTextBox8 = new System.Windows.Forms.TextBox();
this.wmErrorLabel8 = new System.Windows.Forms.Label();
this.wmErrorTextBox9 = new System.Windows.Forms.TextBox();
this.wmErrorLabel9 = new System.Windows.Forms.Label();
this.wmErrorTextBox10 = new System.Windows.Forms.TextBox();
this.wmErrorLabel10 = new System.Windows.Forms.Label();
this.wmErrorTextBox12 = new System.Windows.Forms.TextBox();
this.wmErrorLabel12 = new System.Windows.Forms.Label();
this.wmErrorTextBox11 = new System.Windows.Forms.TextBox();
this.wmErrorLabel11 = new System.Windows.Forms.Label();
this.wmErrorTextBox24 = new System.Windows.Forms.TextBox();
this.wmErrorLabel24 = new System.Windows.Forms.Label();
this.wmErrorTextBox23 = new System.Windows.Forms.TextBox();
this.wmErrorLabel23 = new System.Windows.Forms.Label();
this.wmErrorTextBox22 = new System.Windows.Forms.TextBox();
this.wmErrorLabel22 = new System.Windows.Forms.Label();
this.wmErrorTextBox21 = new System.Windows.Forms.TextBox();
this.wmErrorLabel21 = new System.Windows.Forms.Label();
this.wmErrorTextBox20 = new System.Windows.Forms.TextBox();
this.wmErrorLabel20 = new System.Windows.Forms.Label();
this.wmErrorTextBox19 = new System.Windows.Forms.TextBox();
this.wmErrorLabel19 = new System.Windows.Forms.Label();
this.wmErrorTextBox18 = new System.Windows.Forms.TextBox();
this.wmErrorLabel18 = new System.Windows.Forms.Label();
this.wmErrorTextBox17 = new System.Windows.Forms.TextBox();
this.wmErrorLabel17 = new System.Windows.Forms.Label();
this.wmErrorTextBox16 = new System.Windows.Forms.TextBox();
this.wmErrorLabel16 = new System.Windows.Forms.Label();
this.wmErrorTextBox15 = new System.Windows.Forms.TextBox();
this.wmErrorLabel15 = new System.Windows.Forms.Label();
this.wmErrorTextBox14 = new System.Windows.Forms.TextBox();
this.wmErrorLabel14 = new System.Windows.Forms.Label();
this.wmErrorTextBox13 = new System.Windows.Forms.TextBox();
this.wmErrorLabel13 = new System.Windows.Forms.Label();
this.SuspendLayout();
//
// wmErrorTextBox2
//
this.wmErrorTextBox2.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox2.Location = new System.Drawing.Point(198, 74);
this.wmErrorTextBox2.Name = "wmErrorTextBox2";
this.wmErrorTextBox2.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox2.TabIndex = 1;
//
// wmErrorLabel2
//
this.wmErrorLabel2.AutoSize = true;
this.wmErrorLabel2.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel2.Location = new System.Drawing.Point(33, 85);
this.wmErrorLabel2.Name = "wmErrorLabel2";
this.wmErrorLabel2.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel2.TabIndex = 0;
this.wmErrorLabel2.Text = "Error [%]";
//
// wmErrorLabel1
//
this.wmErrorLabel1.AutoSize = true;
this.wmErrorLabel1.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel1.Location = new System.Drawing.Point(33, 39);
this.wmErrorLabel1.Name = "wmErrorLabel1";
this.wmErrorLabel1.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel1.TabIndex = 0;
this.wmErrorLabel1.Text = "Error [%]";
//
// okButton
//
this.okButton.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.okButton.ForeColor = System.Drawing.Color.Black;
this.okButton.Location = new System.Drawing.Point(1157, 28);
this.okButton.Name = "okButton";
this.okButton.Size = new System.Drawing.Size(98, 63);
this.okButton.TabIndex = 7;
this.okButton.Text = "OK";
this.okButton.UseVisualStyleBackColor = true;
this.okButton.Click += new System.EventHandler(this.okButton_Click);
//
// wmErrorTextBox3
//
this.wmErrorTextBox3.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox3.Location = new System.Drawing.Point(198, 120);
this.wmErrorTextBox3.Name = "wmErrorTextBox3";
this.wmErrorTextBox3.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox3.TabIndex = 1;
//
// wmErrorLabel3
//
this.wmErrorLabel3.AutoSize = true;
this.wmErrorLabel3.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel3.Location = new System.Drawing.Point(33, 131);
this.wmErrorLabel3.Name = "wmErrorLabel3";
this.wmErrorLabel3.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel3.TabIndex = 0;
this.wmErrorLabel3.Text = "Error [%]";
//
// wmErrorTextBox4
//
this.wmErrorTextBox4.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox4.Location = new System.Drawing.Point(198, 166);
this.wmErrorTextBox4.Name = "wmErrorTextBox4";
this.wmErrorTextBox4.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox4.TabIndex = 1;
//
// wmErrorLabel4
//
this.wmErrorLabel4.AutoSize = true;
this.wmErrorLabel4.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel4.Location = new System.Drawing.Point(33, 177);
this.wmErrorLabel4.Name = "wmErrorLabel4";
this.wmErrorLabel4.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel4.TabIndex = 0;
this.wmErrorLabel4.Text = "Error [%]";
//
// wmErrorTextBox5
//
this.wmErrorTextBox5.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox5.Location = new System.Drawing.Point(198, 213);
this.wmErrorTextBox5.Name = "wmErrorTextBox5";
this.wmErrorTextBox5.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox5.TabIndex = 1;
//
// wmErrorLabel5
//
this.wmErrorLabel5.AutoSize = true;
this.wmErrorLabel5.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel5.Location = new System.Drawing.Point(33, 224);
this.wmErrorLabel5.Name = "wmErrorLabel5";
this.wmErrorLabel5.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel5.TabIndex = 0;
this.wmErrorLabel5.Text = "Error [%]";
//
// wmErrorTextBox6
//
this.wmErrorTextBox6.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox6.Location = new System.Drawing.Point(198, 259);
this.wmErrorTextBox6.Name = "wmErrorTextBox6";
this.wmErrorTextBox6.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox6.TabIndex = 1;
//
// wmErrorLabel6
//
this.wmErrorLabel6.AutoSize = true;
this.wmErrorLabel6.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel6.Location = new System.Drawing.Point(33, 271);
this.wmErrorLabel6.Name = "wmErrorLabel6";
this.wmErrorLabel6.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel6.TabIndex = 0;
this.wmErrorLabel6.Text = "Error [%]";
//
// wmErrorTextBox1
//
this.wmErrorTextBox1.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox1.Location = new System.Drawing.Point(198, 28);
this.wmErrorTextBox1.Name = "wmErrorTextBox1";
this.wmErrorTextBox1.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox1.TabIndex = 1;
//
// wmErrorTextBox7
//
this.wmErrorTextBox7.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox7.Location = new System.Drawing.Point(198, 305);
this.wmErrorTextBox7.Name = "wmErrorTextBox7";
this.wmErrorTextBox7.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox7.TabIndex = 9;
//
// wmErrorLabel7
//
this.wmErrorLabel7.AutoSize = true;
this.wmErrorLabel7.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel7.Location = new System.Drawing.Point(33, 317);
this.wmErrorLabel7.Name = "wmErrorLabel7";
this.wmErrorLabel7.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel7.TabIndex = 8;
this.wmErrorLabel7.Text = "Error [%]";
//
// wmErrorTextBox8
//
this.wmErrorTextBox8.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox8.Location = new System.Drawing.Point(198, 351);
this.wmErrorTextBox8.Name = "wmErrorTextBox8";
this.wmErrorTextBox8.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox8.TabIndex = 11;
//
// wmErrorLabel8
//
this.wmErrorLabel8.AutoSize = true;
this.wmErrorLabel8.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel8.Location = new System.Drawing.Point(33, 363);
this.wmErrorLabel8.Name = "wmErrorLabel8";
this.wmErrorLabel8.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel8.TabIndex = 10;
this.wmErrorLabel8.Text = "Error [%]";
//
// wmErrorTextBox9
//
this.wmErrorTextBox9.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox9.Location = new System.Drawing.Point(198, 397);
this.wmErrorTextBox9.Name = "wmErrorTextBox9";
this.wmErrorTextBox9.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox9.TabIndex = 13;
//
// wmErrorLabel9
//
this.wmErrorLabel9.AutoSize = true;
this.wmErrorLabel9.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel9.Location = new System.Drawing.Point(33, 408);
this.wmErrorLabel9.Name = "wmErrorLabel9";
this.wmErrorLabel9.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel9.TabIndex = 12;
this.wmErrorLabel9.Text = "Error [%]";
//
// wmErrorTextBox10
//
this.wmErrorTextBox10.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox10.Location = new System.Drawing.Point(198, 443);
this.wmErrorTextBox10.Name = "wmErrorTextBox10";
this.wmErrorTextBox10.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox10.TabIndex = 15;
//
// wmErrorLabel10
//
this.wmErrorLabel10.AutoSize = true;
this.wmErrorLabel10.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel10.Location = new System.Drawing.Point(33, 454);
this.wmErrorLabel10.Name = "wmErrorLabel10";
this.wmErrorLabel10.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel10.TabIndex = 14;
this.wmErrorLabel10.Text = "Error [%]";
//
// wmErrorTextBox12
//
this.wmErrorTextBox12.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox12.Location = new System.Drawing.Point(198, 535);
this.wmErrorTextBox12.Name = "wmErrorTextBox12";
this.wmErrorTextBox12.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox12.TabIndex = 19;
//
// wmErrorLabel12
//
this.wmErrorLabel12.AutoSize = true;
this.wmErrorLabel12.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel12.Location = new System.Drawing.Point(33, 546);
this.wmErrorLabel12.Name = "wmErrorLabel12";
this.wmErrorLabel12.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel12.TabIndex = 18;
this.wmErrorLabel12.Text = "Error [%]";
//
// wmErrorTextBox11
//
this.wmErrorTextBox11.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox11.Location = new System.Drawing.Point(198, 489);
this.wmErrorTextBox11.Name = "wmErrorTextBox11";
this.wmErrorTextBox11.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox11.TabIndex = 17;
//
// wmErrorLabel11
//
this.wmErrorLabel11.AutoSize = true;
this.wmErrorLabel11.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel11.Location = new System.Drawing.Point(33, 500);
this.wmErrorLabel11.Name = "wmErrorLabel11";
this.wmErrorLabel11.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel11.TabIndex = 16;
this.wmErrorLabel11.Text = "Error [%]";
//
// wmErrorTextBox24
//
this.wmErrorTextBox24.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox24.Location = new System.Drawing.Point(754, 535);
this.wmErrorTextBox24.Name = "wmErrorTextBox24";
this.wmErrorTextBox24.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox24.TabIndex = 43;
//
// wmErrorLabel24
//
this.wmErrorLabel24.AutoSize = true;
this.wmErrorLabel24.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel24.Location = new System.Drawing.Point(589, 546);
this.wmErrorLabel24.Name = "wmErrorLabel24";
this.wmErrorLabel24.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel24.TabIndex = 42;
this.wmErrorLabel24.Text = "Error [%]";
//
// wmErrorTextBox23
//
this.wmErrorTextBox23.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox23.Location = new System.Drawing.Point(754, 489);
this.wmErrorTextBox23.Name = "wmErrorTextBox23";
this.wmErrorTextBox23.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox23.TabIndex = 41;
//
// wmErrorLabel23
//
this.wmErrorLabel23.AutoSize = true;
this.wmErrorLabel23.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel23.Location = new System.Drawing.Point(589, 500);
this.wmErrorLabel23.Name = "wmErrorLabel23";
this.wmErrorLabel23.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel23.TabIndex = 40;
this.wmErrorLabel23.Text = "Error [%]";
//
// wmErrorTextBox22
//
this.wmErrorTextBox22.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox22.Location = new System.Drawing.Point(754, 443);
this.wmErrorTextBox22.Name = "wmErrorTextBox22";
this.wmErrorTextBox22.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox22.TabIndex = 39;
//
// wmErrorLabel22
//
this.wmErrorLabel22.AutoSize = true;
this.wmErrorLabel22.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel22.Location = new System.Drawing.Point(589, 454);
this.wmErrorLabel22.Name = "wmErrorLabel22";
this.wmErrorLabel22.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel22.TabIndex = 38;
this.wmErrorLabel22.Text = "Error [%]";
//
// wmErrorTextBox21
//
this.wmErrorTextBox21.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox21.Location = new System.Drawing.Point(754, 397);
this.wmErrorTextBox21.Name = "wmErrorTextBox21";
this.wmErrorTextBox21.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox21.TabIndex = 37;
//
// wmErrorLabel21
//
this.wmErrorLabel21.AutoSize = true;
this.wmErrorLabel21.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel21.Location = new System.Drawing.Point(589, 408);
this.wmErrorLabel21.Name = "wmErrorLabel21";
this.wmErrorLabel21.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel21.TabIndex = 36;
this.wmErrorLabel21.Text = "Error [%]";
//
// wmErrorTextBox20
//
this.wmErrorTextBox20.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox20.Location = new System.Drawing.Point(754, 351);
this.wmErrorTextBox20.Name = "wmErrorTextBox20";
this.wmErrorTextBox20.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox20.TabIndex = 35;
//
// wmErrorLabel20
//
this.wmErrorLabel20.AutoSize = true;
this.wmErrorLabel20.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel20.Location = new System.Drawing.Point(589, 363);
this.wmErrorLabel20.Name = "wmErrorLabel20";
this.wmErrorLabel20.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel20.TabIndex = 34;
this.wmErrorLabel20.Text = "Error [%]";
//
// wmErrorTextBox19
//
this.wmErrorTextBox19.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox19.Location = new System.Drawing.Point(754, 305);
this.wmErrorTextBox19.Name = "wmErrorTextBox19";
this.wmErrorTextBox19.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox19.TabIndex = 33;
//
// wmErrorLabel19
//
this.wmErrorLabel19.AutoSize = true;
this.wmErrorLabel19.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel19.Location = new System.Drawing.Point(589, 317);
this.wmErrorLabel19.Name = "wmErrorLabel19";
this.wmErrorLabel19.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel19.TabIndex = 32;
this.wmErrorLabel19.Text = "Error [%]";
//
// wmErrorTextBox18
//
this.wmErrorTextBox18.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox18.Location = new System.Drawing.Point(754, 259);
this.wmErrorTextBox18.Name = "wmErrorTextBox18";
this.wmErrorTextBox18.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox18.TabIndex = 27;
//
// wmErrorLabel18
//
this.wmErrorLabel18.AutoSize = true;
this.wmErrorLabel18.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel18.Location = new System.Drawing.Point(589, 271);
this.wmErrorLabel18.Name = "wmErrorLabel18";
this.wmErrorLabel18.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel18.TabIndex = 23;
this.wmErrorLabel18.Text = "Error [%]";
//
// wmErrorTextBox17
//
this.wmErrorTextBox17.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox17.Location = new System.Drawing.Point(754, 213);
this.wmErrorTextBox17.Name = "wmErrorTextBox17";
this.wmErrorTextBox17.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox17.TabIndex = 26;
//
// wmErrorLabel17
//
this.wmErrorLabel17.AutoSize = true;
this.wmErrorLabel17.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel17.Location = new System.Drawing.Point(589, 224);
this.wmErrorLabel17.Name = "wmErrorLabel17";
this.wmErrorLabel17.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel17.TabIndex = 22;
this.wmErrorLabel17.Text = "Error [%]";
//
// wmErrorTextBox16
//
this.wmErrorTextBox16.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox16.Location = new System.Drawing.Point(754, 166);
this.wmErrorTextBox16.Name = "wmErrorTextBox16";
this.wmErrorTextBox16.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox16.TabIndex = 30;
//
// wmErrorLabel16
//
this.wmErrorLabel16.AutoSize = true;
this.wmErrorLabel16.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel16.Location = new System.Drawing.Point(589, 177);
this.wmErrorLabel16.Name = "wmErrorLabel16";
this.wmErrorLabel16.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel16.TabIndex = 21;
this.wmErrorLabel16.Text = "Error [%]";
//
// wmErrorTextBox15
//
this.wmErrorTextBox15.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox15.Location = new System.Drawing.Point(754, 120);
this.wmErrorTextBox15.Name = "wmErrorTextBox15";
this.wmErrorTextBox15.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox15.TabIndex = 31;
//
// wmErrorLabel15
//
this.wmErrorLabel15.AutoSize = true;
this.wmErrorLabel15.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel15.Location = new System.Drawing.Point(589, 131);
this.wmErrorLabel15.Name = "wmErrorLabel15";
this.wmErrorLabel15.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel15.TabIndex = 20;
this.wmErrorLabel15.Text = "Error [%]";
//
// wmErrorTextBox14
//
this.wmErrorTextBox14.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox14.Location = new System.Drawing.Point(754, 74);
this.wmErrorTextBox14.Name = "wmErrorTextBox14";
this.wmErrorTextBox14.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox14.TabIndex = 28;
//
// wmErrorLabel14
//
this.wmErrorLabel14.AutoSize = true;
this.wmErrorLabel14.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel14.Location = new System.Drawing.Point(589, 85);
this.wmErrorLabel14.Name = "wmErrorLabel14";
this.wmErrorLabel14.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel14.TabIndex = 25;
this.wmErrorLabel14.Text = "Error [%]";
//
// wmErrorTextBox13
//
this.wmErrorTextBox13.Font = new System.Drawing.Font("Verdana", 20.25F, System.Drawing.FontStyle.Bold, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorTextBox13.Location = new System.Drawing.Point(754, 28);
this.wmErrorTextBox13.Name = "wmErrorTextBox13";
this.wmErrorTextBox13.Size = new System.Drawing.Size(137, 40);
this.wmErrorTextBox13.TabIndex = 29;
//
// wmErrorLabel13
//
this.wmErrorLabel13.AutoSize = true;
this.wmErrorLabel13.Font = new System.Drawing.Font("Verdana", 14.25F, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, ((byte)(238)));
this.wmErrorLabel13.Location = new System.Drawing.Point(589, 39);
this.wmErrorLabel13.Name = "wmErrorLabel13";
this.wmErrorLabel13.Size = new System.Drawing.Size(103, 23);
this.wmErrorLabel13.TabIndex = 24;
this.wmErrorLabel13.Text = "Error [%]";
//
// WMErrorsForm24
//
this.AutoScaleDimensions = new System.Drawing.SizeF(6F, 13F);
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
this.BackColor = System.Drawing.Color.DarkGoldenrod;
this.ClientSize = new System.Drawing.Size(1267, 605);
this.Controls.Add(this.wmErrorTextBox24);
this.Controls.Add(this.wmErrorLabel24);
this.Controls.Add(this.wmErrorTextBox23);
this.Controls.Add(this.wmErrorLabel23);
this.Controls.Add(this.wmErrorTextBox22);
this.Controls.Add(this.wmErrorLabel22);
this.Controls.Add(this.wmErrorTextBox21);
this.Controls.Add(this.wmErrorLabel21);
this.Controls.Add(this.wmErrorTextBox20);
this.Controls.Add(this.wmErrorLabel20);
this.Controls.Add(this.wmErrorTextBox19);
this.Controls.Add(this.wmErrorLabel19);
this.Controls.Add(this.wmErrorTextBox18);
this.Controls.Add(this.wmErrorLabel18);
this.Controls.Add(this.wmErrorTextBox17);
this.Controls.Add(this.wmErrorLabel17);
this.Controls.Add(this.wmErrorTextBox16);
this.Controls.Add(this.wmErrorLabel16);
this.Controls.Add(this.wmErrorTextBox15);
this.Controls.Add(this.wmErrorLabel15);
this.Controls.Add(this.wmErrorTextBox14);
this.Controls.Add(this.wmErrorLabel14);
this.Controls.Add(this.wmErrorTextBox13);
this.Controls.Add(this.wmErrorLabel13);
this.Controls.Add(this.wmErrorTextBox12);
this.Controls.Add(this.wmErrorLabel12);
this.Controls.Add(this.wmErrorTextBox11);
this.Controls.Add(this.wmErrorLabel11);
this.Controls.Add(this.wmErrorTextBox10);
this.Controls.Add(this.wmErrorLabel10);
this.Controls.Add(this.wmErrorTextBox9);
this.Controls.Add(this.wmErrorLabel9);
this.Controls.Add(this.wmErrorTextBox8);
this.Controls.Add(this.wmErrorLabel8);
this.Controls.Add(this.wmErrorTextBox7);
this.Controls.Add(this.wmErrorLabel7);
this.Controls.Add(this.wmErrorTextBox6);
this.Controls.Add(this.wmErrorLabel6);
this.Controls.Add(this.wmErrorTextBox5);
this.Controls.Add(this.wmErrorLabel5);
this.Controls.Add(this.wmErrorTextBox4);
this.Controls.Add(this.wmErrorLabel4);
this.Controls.Add(this.wmErrorTextBox3);
this.Controls.Add(this.wmErrorLabel3);
this.Controls.Add(this.wmErrorTextBox2);
this.Controls.Add(this.wmErrorLabel2);
this.Controls.Add(this.wmErrorTextBox1);
this.Controls.Add(this.wmErrorLabel1);
this.Controls.Add(this.okButton);
this.FormBorderStyle = System.Windows.Forms.FormBorderStyle.FixedToolWindow;
this.Name = "WMErrorsForm24";
this.SizeGripStyle = System.Windows.Forms.SizeGripStyle.Hide;
this.Text = "Water Meter States";
this.TopMost = true;
this.Load += new System.EventHandler(this.WMErrorsForm24_Load);
this.Paint += new System.Windows.Forms.PaintEventHandler(this.WMErrorsForm_Paint);
this.ResumeLayout(false);
this.PerformLayout();
}
#endregion
private System.Windows.Forms.TextBox wmErrorTextBox2;
private System.Windows.Forms.Label wmErrorLabel2;
private System.Windows.Forms.Label wmErrorLabel1;
private System.Windows.Forms.Button okButton;
private System.Windows.Forms.TextBox wmErrorTextBox3;
private System.Windows.Forms.Label wmErrorLabel3;
private System.Windows.Forms.TextBox wmErrorTextBox4;
private System.Windows.Forms.Label wmErrorLabel4;
private System.Windows.Forms.TextBox wmErrorTextBox5;
private System.Windows.Forms.Label wmErrorLabel5;
private System.Windows.Forms.TextBox wmErrorTextBox6;
private System.Windows.Forms.Label wmErrorLabel6;
private System.Windows.Forms.TextBox wmErrorTextBox1;
private System.Windows.Forms.TextBox wmErrorTextBox7;
private System.Windows.Forms.Label wmErrorLabel7;
private System.Windows.Forms.TextBox wmErrorTextBox8;
private System.Windows.Forms.Label wmErrorLabel8;
private System.Windows.Forms.TextBox wmErrorTextBox9;
private System.Windows.Forms.Label wmErrorLabel9;
private System.Windows.Forms.TextBox wmErrorTextBox10;
private System.Windows.Forms.Label wmErrorLabel10;
private System.Windows.Forms.TextBox wmErrorTextBox12;
private System.Windows.Forms.Label wmErrorLabel12;
private System.Windows.Forms.TextBox wmErrorTextBox11;
private System.Windows.Forms.Label wmErrorLabel11;
private System.Windows.Forms.TextBox wmErrorTextBox24;
private System.Windows.Forms.Label wmErrorLabel24;
private System.Windows.Forms.TextBox wmErrorTextBox23;
private System.Windows.Forms.Label wmErrorLabel23;
private System.Windows.Forms.TextBox wmErrorTextBox22;
private System.Windows.Forms.Label wmErrorLabel22;
private System.Windows.Forms.TextBox wmErrorTextBox21;
private System.Windows.Forms.Label wmErrorLabel21;
private System.Windows.Forms.TextBox wmErrorTextBox20;
private System.Windows.Forms.Label wmErrorLabel20;
private System.Windows.Forms.TextBox wmErrorTextBox19;
private System.Windows.Forms.Label wmErrorLabel19;
private System.Windows.Forms.TextBox wmErrorTextBox18;
private System.Windows.Forms.Label wmErrorLabel18;
private System.Windows.Forms.TextBox wmErrorTextBox17;
private System.Windows.Forms.Label wmErrorLabel17;
private System.Windows.Forms.TextBox wmErrorTextBox16;
private System.Windows.Forms.Label wmErrorLabel16;
private System.Windows.Forms.TextBox wmErrorTextBox15;
private System.Windows.Forms.Label wmErrorLabel15;
private System.Windows.Forms.TextBox wmErrorTextBox14;
private System.Windows.Forms.Label wmErrorLabel14;
private System.Windows.Forms.TextBox wmErrorTextBox13;
private System.Windows.Forms.Label wmErrorLabel13;
}
}

View File

@ -0,0 +1,120 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

View File

@ -249,6 +249,12 @@
<Compile Include="BenchControl\MettlerToledo\Standard\ReadStableMassOp.cs" />
<Compile Include="BenchControl\MettlerToledo\Standard\SetUnitsOp.cs" />
<Compile Include="BenchControl\MettlerToledo\Standard\TaringOp.cs" />
<Compile Include="BenchControl\TestMethods\Adjustment\WMErrorsForm24.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="BenchControl\TestMethods\Adjustment\WMErrorsForm24.designer.cs">
<DependentUpon>WMErrorsForm24.cs</DependentUpon>
</Compile>
<Compile Include="BenchControl\TestMethods\FixedStartCombinedMeters\FixedStartCombinedMetersSeq.cs" />
<Compile Include="BenchControl\TestMethods\FixedStartCombinedMeters\TestMethod.cs" />
<Compile Include="BenchControl\TestMethods\FixedStartCombinedMeters\TestMethodCfg.cs" />
@ -1363,6 +1369,9 @@
<EmbeddedResource Include="BenchControl\TestMethods\Adjustment\WMErrorsForm.resx">
<DependentUpon>WMErrorsForm.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BenchControl\TestMethods\Adjustment\WMErrorsForm24.resx">
<DependentUpon>WMErrorsForm24.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="BenchControl\TestMethods\CameraRoiDetection\RoiDetectionCfgCtrl.resx">
<DependentUpon>RoiDetectionCfgCtrl.cs</DependentUpon>
</EmbeddedResource>