V1.0.1.7-1 -- 2025/12/17
* Datastructure improved
This commit is contained in:
303
LFP_Manager/Controls/ucCalibrationView.Designer.cs
generated
303
LFP_Manager/Controls/ucCalibrationView.Designer.cs
generated
@@ -1,303 +0,0 @@
|
||||
|
||||
namespace LFP_Manager.Controls
|
||||
{
|
||||
partial class ucCalibrationView
|
||||
{
|
||||
/// <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
|
||||
|
||||
/// <summary>
|
||||
/// Required method for Designer support - do not modify
|
||||
/// the contents of this method with the code editor.
|
||||
/// </summary>
|
||||
private void InitializeComponent()
|
||||
{
|
||||
this.layoutControl1 = new DevExpress.XtraLayout.LayoutControl();
|
||||
this.edDchCalibration = new DevExpress.XtraEditors.TextEdit();
|
||||
this.edChgCalibration = new DevExpress.XtraEditors.TextEdit();
|
||||
this.edChgOption = new DevExpress.XtraEditors.TextEdit();
|
||||
this.edBattCapacity = new DevExpress.XtraEditors.TextEdit();
|
||||
this.Root = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.emptySpaceItem1 = new DevExpress.XtraLayout.EmptySpaceItem();
|
||||
this.gbBattCapacity = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.lbBattCapacity = new DevExpress.XtraLayout.SimpleLabelItem();
|
||||
this.layoutControlItem1 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.gbCalibrationValue = new DevExpress.XtraLayout.LayoutControlGroup();
|
||||
this.lbChgOption = new DevExpress.XtraLayout.SimpleLabelItem();
|
||||
this.layoutControlItem2 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.lbChgCalibration = new DevExpress.XtraLayout.SimpleLabelItem();
|
||||
this.layoutControlItem3 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
this.lbDchCalibration = new DevExpress.XtraLayout.SimpleLabelItem();
|
||||
this.layoutControlItem4 = new DevExpress.XtraLayout.LayoutControlItem();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).BeginInit();
|
||||
this.layoutControl1.SuspendLayout();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edDchCalibration.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edChgCalibration.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edChgOption.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edBattCapacity.Properties)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Root)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gbBattCapacity)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbBattCapacity)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gbCalibrationValue)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbChgOption)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbChgCalibration)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbDchCalibration)).BeginInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).BeginInit();
|
||||
this.SuspendLayout();
|
||||
//
|
||||
// layoutControl1
|
||||
//
|
||||
this.layoutControl1.AllowCustomization = false;
|
||||
this.layoutControl1.Controls.Add(this.edDchCalibration);
|
||||
this.layoutControl1.Controls.Add(this.edChgCalibration);
|
||||
this.layoutControl1.Controls.Add(this.edChgOption);
|
||||
this.layoutControl1.Controls.Add(this.edBattCapacity);
|
||||
this.layoutControl1.Dock = System.Windows.Forms.DockStyle.Fill;
|
||||
this.layoutControl1.Location = new System.Drawing.Point(0, 0);
|
||||
this.layoutControl1.Name = "layoutControl1";
|
||||
this.layoutControl1.OptionsCustomizationForm.DesignTimeCustomizationFormPositionAndSize = new System.Drawing.Rectangle(993, 152, 650, 400);
|
||||
this.layoutControl1.Root = this.Root;
|
||||
this.layoutControl1.Size = new System.Drawing.Size(449, 277);
|
||||
this.layoutControl1.TabIndex = 0;
|
||||
this.layoutControl1.Text = "layoutControl1";
|
||||
//
|
||||
// edDchCalibration
|
||||
//
|
||||
this.edDchCalibration.Location = new System.Drawing.Point(129, 132);
|
||||
this.edDchCalibration.Name = "edDchCalibration";
|
||||
this.edDchCalibration.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
|
||||
this.edDchCalibration.Properties.Appearance.Options.UseFont = true;
|
||||
this.edDchCalibration.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.edDchCalibration.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
|
||||
this.edDchCalibration.Size = new System.Drawing.Size(314, 22);
|
||||
this.edDchCalibration.StyleController = this.layoutControl1;
|
||||
this.edDchCalibration.TabIndex = 7;
|
||||
//
|
||||
// edChgCalibration
|
||||
//
|
||||
this.edChgCalibration.Location = new System.Drawing.Point(129, 106);
|
||||
this.edChgCalibration.Name = "edChgCalibration";
|
||||
this.edChgCalibration.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
|
||||
this.edChgCalibration.Properties.Appearance.Options.UseFont = true;
|
||||
this.edChgCalibration.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.edChgCalibration.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
|
||||
this.edChgCalibration.Size = new System.Drawing.Size(314, 22);
|
||||
this.edChgCalibration.StyleController = this.layoutControl1;
|
||||
this.edChgCalibration.TabIndex = 6;
|
||||
//
|
||||
// edChgOption
|
||||
//
|
||||
this.edChgOption.Location = new System.Drawing.Point(129, 80);
|
||||
this.edChgOption.Name = "edChgOption";
|
||||
this.edChgOption.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
|
||||
this.edChgOption.Properties.Appearance.Options.UseFont = true;
|
||||
this.edChgOption.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.edChgOption.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
|
||||
this.edChgOption.Size = new System.Drawing.Size(314, 22);
|
||||
this.edChgOption.StyleController = this.layoutControl1;
|
||||
this.edChgOption.TabIndex = 5;
|
||||
//
|
||||
// edBattCapacity
|
||||
//
|
||||
this.edBattCapacity.Location = new System.Drawing.Point(129, 27);
|
||||
this.edBattCapacity.Name = "edBattCapacity";
|
||||
this.edBattCapacity.Properties.Appearance.Font = new System.Drawing.Font("Tahoma", 10F);
|
||||
this.edBattCapacity.Properties.Appearance.Options.UseFont = true;
|
||||
this.edBattCapacity.Properties.Appearance.Options.UseTextOptions = true;
|
||||
this.edBattCapacity.Properties.Appearance.TextOptions.HAlignment = DevExpress.Utils.HorzAlignment.Far;
|
||||
this.edBattCapacity.Size = new System.Drawing.Size(314, 22);
|
||||
this.edBattCapacity.StyleController = this.layoutControl1;
|
||||
this.edBattCapacity.TabIndex = 4;
|
||||
//
|
||||
// Root
|
||||
//
|
||||
this.Root.EnableIndentsWithoutBorders = DevExpress.Utils.DefaultBoolean.True;
|
||||
this.Root.GroupBordersVisible = false;
|
||||
this.Root.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.emptySpaceItem1,
|
||||
this.gbBattCapacity,
|
||||
this.gbCalibrationValue});
|
||||
this.Root.Name = "Root";
|
||||
this.Root.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
|
||||
this.Root.Size = new System.Drawing.Size(449, 277);
|
||||
this.Root.TextVisible = false;
|
||||
//
|
||||
// emptySpaceItem1
|
||||
//
|
||||
this.emptySpaceItem1.AllowHotTrack = false;
|
||||
this.emptySpaceItem1.Location = new System.Drawing.Point(0, 158);
|
||||
this.emptySpaceItem1.Name = "emptySpaceItem1";
|
||||
this.emptySpaceItem1.Size = new System.Drawing.Size(447, 117);
|
||||
this.emptySpaceItem1.TextSize = new System.Drawing.Size(0, 0);
|
||||
//
|
||||
// gbBattCapacity
|
||||
//
|
||||
this.gbBattCapacity.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.lbBattCapacity,
|
||||
this.layoutControlItem1});
|
||||
this.gbBattCapacity.Location = new System.Drawing.Point(0, 0);
|
||||
this.gbBattCapacity.Name = "gbBattCapacity";
|
||||
this.gbBattCapacity.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
|
||||
this.gbBattCapacity.Size = new System.Drawing.Size(447, 53);
|
||||
this.gbBattCapacity.Spacing = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
|
||||
this.gbBattCapacity.Text = "Battery Capacity";
|
||||
//
|
||||
// lbBattCapacity
|
||||
//
|
||||
this.lbBattCapacity.AllowHotTrack = false;
|
||||
this.lbBattCapacity.Location = new System.Drawing.Point(0, 0);
|
||||
this.lbBattCapacity.Name = "lbBattCapacity";
|
||||
this.lbBattCapacity.Size = new System.Drawing.Size(123, 26);
|
||||
this.lbBattCapacity.Text = " Battery Capacity";
|
||||
this.lbBattCapacity.TextSize = new System.Drawing.Size(96, 14);
|
||||
//
|
||||
// layoutControlItem1
|
||||
//
|
||||
this.layoutControlItem1.Control = this.edBattCapacity;
|
||||
this.layoutControlItem1.Location = new System.Drawing.Point(123, 0);
|
||||
this.layoutControlItem1.Name = "layoutControlItem1";
|
||||
this.layoutControlItem1.Size = new System.Drawing.Size(318, 26);
|
||||
this.layoutControlItem1.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem1.TextVisible = false;
|
||||
//
|
||||
// gbCalibrationValue
|
||||
//
|
||||
this.gbCalibrationValue.Items.AddRange(new DevExpress.XtraLayout.BaseLayoutItem[] {
|
||||
this.lbChgOption,
|
||||
this.layoutControlItem2,
|
||||
this.lbChgCalibration,
|
||||
this.layoutControlItem3,
|
||||
this.lbDchCalibration,
|
||||
this.layoutControlItem4});
|
||||
this.gbCalibrationValue.Location = new System.Drawing.Point(0, 53);
|
||||
this.gbCalibrationValue.Name = "gbCalibrationValue";
|
||||
this.gbCalibrationValue.Padding = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
|
||||
this.gbCalibrationValue.Size = new System.Drawing.Size(447, 105);
|
||||
this.gbCalibrationValue.Spacing = new DevExpress.XtraLayout.Utils.Padding(1, 1, 1, 1);
|
||||
this.gbCalibrationValue.Text = "Calibration Value";
|
||||
//
|
||||
// lbChgOption
|
||||
//
|
||||
this.lbChgOption.AllowHotTrack = false;
|
||||
this.lbChgOption.Location = new System.Drawing.Point(0, 0);
|
||||
this.lbChgOption.Name = "lbChgOption";
|
||||
this.lbChgOption.Size = new System.Drawing.Size(123, 26);
|
||||
this.lbChgOption.Text = " Charge Option";
|
||||
this.lbChgOption.TextSize = new System.Drawing.Size(96, 14);
|
||||
//
|
||||
// layoutControlItem2
|
||||
//
|
||||
this.layoutControlItem2.Control = this.edChgOption;
|
||||
this.layoutControlItem2.Location = new System.Drawing.Point(123, 0);
|
||||
this.layoutControlItem2.Name = "layoutControlItem2";
|
||||
this.layoutControlItem2.Size = new System.Drawing.Size(318, 26);
|
||||
this.layoutControlItem2.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem2.TextVisible = false;
|
||||
//
|
||||
// lbChgCalibration
|
||||
//
|
||||
this.lbChgCalibration.AllowHotTrack = false;
|
||||
this.lbChgCalibration.Location = new System.Drawing.Point(0, 26);
|
||||
this.lbChgCalibration.Name = "lbChgCalibration";
|
||||
this.lbChgCalibration.Size = new System.Drawing.Size(123, 26);
|
||||
this.lbChgCalibration.Text = " Calibration (CHG)";
|
||||
this.lbChgCalibration.TextSize = new System.Drawing.Size(96, 14);
|
||||
//
|
||||
// layoutControlItem3
|
||||
//
|
||||
this.layoutControlItem3.Control = this.edChgCalibration;
|
||||
this.layoutControlItem3.Location = new System.Drawing.Point(123, 26);
|
||||
this.layoutControlItem3.Name = "layoutControlItem3";
|
||||
this.layoutControlItem3.Size = new System.Drawing.Size(318, 26);
|
||||
this.layoutControlItem3.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem3.TextVisible = false;
|
||||
//
|
||||
// lbDchCalibration
|
||||
//
|
||||
this.lbDchCalibration.AllowHotTrack = false;
|
||||
this.lbDchCalibration.Location = new System.Drawing.Point(0, 52);
|
||||
this.lbDchCalibration.Name = "lbDchCalibration";
|
||||
this.lbDchCalibration.Size = new System.Drawing.Size(123, 26);
|
||||
this.lbDchCalibration.Text = " Calibration (DCH)";
|
||||
this.lbDchCalibration.TextSize = new System.Drawing.Size(96, 14);
|
||||
//
|
||||
// layoutControlItem4
|
||||
//
|
||||
this.layoutControlItem4.Control = this.edDchCalibration;
|
||||
this.layoutControlItem4.Location = new System.Drawing.Point(123, 52);
|
||||
this.layoutControlItem4.Name = "layoutControlItem4";
|
||||
this.layoutControlItem4.Size = new System.Drawing.Size(318, 26);
|
||||
this.layoutControlItem4.TextSize = new System.Drawing.Size(0, 0);
|
||||
this.layoutControlItem4.TextVisible = false;
|
||||
//
|
||||
// ucCalibrationView
|
||||
//
|
||||
this.AutoScaleDimensions = new System.Drawing.SizeF(7F, 14F);
|
||||
this.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font;
|
||||
this.Controls.Add(this.layoutControl1);
|
||||
this.Name = "ucCalibrationView";
|
||||
this.Size = new System.Drawing.Size(449, 277);
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControl1)).EndInit();
|
||||
this.layoutControl1.ResumeLayout(false);
|
||||
((System.ComponentModel.ISupportInitialize)(this.edDchCalibration.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edChgCalibration.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edChgOption.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.edBattCapacity.Properties)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.Root)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.emptySpaceItem1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gbBattCapacity)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbBattCapacity)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem1)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.gbCalibrationValue)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbChgOption)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem2)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbChgCalibration)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem3)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.lbDchCalibration)).EndInit();
|
||||
((System.ComponentModel.ISupportInitialize)(this.layoutControlItem4)).EndInit();
|
||||
this.ResumeLayout(false);
|
||||
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
private DevExpress.XtraLayout.LayoutControl layoutControl1;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup Root;
|
||||
private DevExpress.XtraEditors.TextEdit edBattCapacity;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem1;
|
||||
private DevExpress.XtraLayout.EmptySpaceItem emptySpaceItem1;
|
||||
private DevExpress.XtraEditors.TextEdit edDchCalibration;
|
||||
private DevExpress.XtraEditors.TextEdit edChgCalibration;
|
||||
private DevExpress.XtraEditors.TextEdit edChgOption;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem2;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem3;
|
||||
private DevExpress.XtraLayout.LayoutControlItem layoutControlItem4;
|
||||
private DevExpress.XtraLayout.SimpleLabelItem lbBattCapacity;
|
||||
private DevExpress.XtraLayout.SimpleLabelItem lbChgOption;
|
||||
private DevExpress.XtraLayout.SimpleLabelItem lbChgCalibration;
|
||||
private DevExpress.XtraLayout.SimpleLabelItem lbDchCalibration;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup gbBattCapacity;
|
||||
private DevExpress.XtraLayout.LayoutControlGroup gbCalibrationValue;
|
||||
}
|
||||
}
|
||||
@@ -1,63 +0,0 @@
|
||||
using DevExpress.XtraEditors;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.ComponentModel;
|
||||
using System.Data;
|
||||
using System.Drawing;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using LFP_Manager.DataStructure;
|
||||
|
||||
namespace LFP_Manager.Controls
|
||||
{
|
||||
public partial class ucCalibrationView : DevExpress.XtraEditors.XtraUserControl
|
||||
{
|
||||
#region VARIABLES
|
||||
|
||||
DeviceSystemData ModuleData;
|
||||
|
||||
#endregion
|
||||
|
||||
public ucCalibrationView()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
edBattCapacity.Enabled = false;
|
||||
edChgOption.Enabled = false;
|
||||
edChgCalibration.Enabled = false;
|
||||
edDchCalibration.Enabled = false;
|
||||
}
|
||||
|
||||
public void DisplayValue(ref DeviceSystemData[] aSystemData)
|
||||
{
|
||||
ModuleData = aSystemData[0];
|
||||
|
||||
if (this.InvokeRequired)
|
||||
{
|
||||
this.Invoke(new MethodInvoker(delegate ()
|
||||
{
|
||||
edBattCapacity.Text = String.Format("{0}", ModuleData.CalibrationData.Battery.Capacity);
|
||||
if (ModuleData.CalibrationData.Current.ChargeOption == 0)
|
||||
edChgOption.Text = "Full Charge";
|
||||
else
|
||||
edChgOption.Text = "Limit Charge";
|
||||
edChgCalibration.Text = String.Format("{0}", ModuleData.CalibrationData.Current.ChgCalibration_K);
|
||||
edDchCalibration.Text = String.Format("{0}", ModuleData.CalibrationData.Current.DchCalibration_K);
|
||||
}));
|
||||
}
|
||||
else
|
||||
{
|
||||
edBattCapacity.Text = String.Format("{0}", ModuleData.CalibrationData.Battery.Capacity);
|
||||
if (ModuleData.CalibrationData.Current.ChargeOption == 0)
|
||||
edChgOption.Text = "Full Charge";
|
||||
else
|
||||
edChgOption.Text = "Limit Charge";
|
||||
edChgCalibration.Text = String.Format("{0}", ModuleData.CalibrationData.Current.ChgCalibration_K);
|
||||
edDchCalibration.Text = String.Format("{0}", ModuleData.CalibrationData.Current.DchCalibration_K);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,120 +0,0 @@
|
||||
<?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>
|
||||
Reference in New Issue
Block a user