📄 dataset1.designer.cs
字号:
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal void InitVars() {
this.columnID = base.Columns["ID"];
this.columnRSSI = base.Columns["RSSI"];
this.columnLQI = base.Columns["LQI"];
this.columnDI = base.Columns["DI"];
this.columnT1 = base.Columns["T1"];
this.columnT2 = base.Columns["T2"];
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
private void InitClass() {
this.columnID = new System.Data.DataColumn("ID", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnID);
this.columnRSSI = new System.Data.DataColumn("RSSI", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnRSSI);
this.columnLQI = new System.Data.DataColumn("LQI", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnLQI);
this.columnDI = new System.Data.DataColumn("DI", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnDI);
this.columnT1 = new System.Data.DataColumn("T1", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnT1);
this.columnT2 = new System.Data.DataColumn("T2", typeof(string), null, System.Data.MappingType.Element);
base.Columns.Add(this.columnT2);
this.Constraints.Add(new System.Data.UniqueConstraint("Constraint1", new System.Data.DataColumn[] {
this.columnID}, true));
this.columnID.AllowDBNull = false;
this.columnID.Unique = true;
this.columnRSSI.MaxLength = 4;
this.columnLQI.MaxLength = 4;
this.columnDI.MaxLength = 4;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public TAGMessageRow NewTAGMessageRow() {
return ((TAGMessageRow)(this.NewRow()));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Data.DataRow NewRowFromBuilder(System.Data.DataRowBuilder builder) {
return new TAGMessageRow(builder);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override System.Type GetRowType() {
return typeof(TAGMessageRow);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanged(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanged(e);
if ((this.TAGMessageRowChanged != null)) {
this.TAGMessageRowChanged(this, new TAGMessageRowChangeEvent(((TAGMessageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowChanging(System.Data.DataRowChangeEventArgs e) {
base.OnRowChanging(e);
if ((this.TAGMessageRowChanging != null)) {
this.TAGMessageRowChanging(this, new TAGMessageRowChangeEvent(((TAGMessageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleted(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleted(e);
if ((this.TAGMessageRowDeleted != null)) {
this.TAGMessageRowDeleted(this, new TAGMessageRowChangeEvent(((TAGMessageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
protected override void OnRowDeleting(System.Data.DataRowChangeEventArgs e) {
base.OnRowDeleting(e);
if ((this.TAGMessageRowDeleting != null)) {
this.TAGMessageRowDeleting(this, new TAGMessageRowChangeEvent(((TAGMessageRow)(e.Row)), e.Action));
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void RemoveTAGMessageRow(TAGMessageRow row) {
this.Rows.Remove(row);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public static System.Xml.Schema.XmlSchemaComplexType GetTypedTableSchema(System.Xml.Schema.XmlSchemaSet xs) {
System.Xml.Schema.XmlSchemaComplexType type = new System.Xml.Schema.XmlSchemaComplexType();
System.Xml.Schema.XmlSchemaSequence sequence = new System.Xml.Schema.XmlSchemaSequence();
DataSet1 ds = new DataSet1();
xs.Add(ds.GetSchemaSerializable());
System.Xml.Schema.XmlSchemaAny any1 = new System.Xml.Schema.XmlSchemaAny();
any1.Namespace = "http://www.w3.org/2001/XMLSchema";
any1.MinOccurs = new decimal(0);
any1.MaxOccurs = decimal.MaxValue;
any1.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any1);
System.Xml.Schema.XmlSchemaAny any2 = new System.Xml.Schema.XmlSchemaAny();
any2.Namespace = "urn:schemas-microsoft-com:xml-diffgram-v1";
any2.MinOccurs = new decimal(1);
any2.ProcessContents = System.Xml.Schema.XmlSchemaContentProcessing.Lax;
sequence.Items.Add(any2);
System.Xml.Schema.XmlSchemaAttribute attribute1 = new System.Xml.Schema.XmlSchemaAttribute();
attribute1.Name = "namespace";
attribute1.FixedValue = ds.Namespace;
type.Attributes.Add(attribute1);
System.Xml.Schema.XmlSchemaAttribute attribute2 = new System.Xml.Schema.XmlSchemaAttribute();
attribute2.Name = "tableTypeName";
attribute2.FixedValue = "TAGMessageDataTable";
type.Attributes.Add(attribute2);
type.Particle = sequence;
return type;
}
}
public partial class TAGMessageRow : System.Data.DataRow {
private TAGMessageDataTable tableTAGMessage;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
internal TAGMessageRow(System.Data.DataRowBuilder rb) :
base(rb) {
this.tableTAGMessage = ((TAGMessageDataTable)(this.Table));
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string ID {
get {
return ((string)(this[this.tableTAGMessage.IDColumn]));
}
set {
this[this.tableTAGMessage.IDColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string RSSI {
get {
try {
return ((string)(this[this.tableTAGMessage.RSSIColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("資料表 \'TAGMessage\' 中資料行 \'RSSI\' 的值是 DBNull。", e);
}
}
set {
this[this.tableTAGMessage.RSSIColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string LQI {
get {
try {
return ((string)(this[this.tableTAGMessage.LQIColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("資料表 \'TAGMessage\' 中資料行 \'LQI\' 的值是 DBNull。", e);
}
}
set {
this[this.tableTAGMessage.LQIColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string DI {
get {
try {
return ((string)(this[this.tableTAGMessage.DIColumn]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("資料表 \'TAGMessage\' 中資料行 \'DI\' 的值是 DBNull。", e);
}
}
set {
this[this.tableTAGMessage.DIColumn] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string T1 {
get {
try {
return ((string)(this[this.tableTAGMessage.T1Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("資料表 \'TAGMessage\' 中資料行 \'T1\' 的值是 DBNull。", e);
}
}
set {
this[this.tableTAGMessage.T1Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public string T2 {
get {
try {
return ((string)(this[this.tableTAGMessage.T2Column]));
}
catch (System.InvalidCastException e) {
throw new System.Data.StrongTypingException("資料表 \'TAGMessage\' 中資料行 \'T2\' 的值是 DBNull。", e);
}
}
set {
this[this.tableTAGMessage.T2Column] = value;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsRSSINull() {
return this.IsNull(this.tableTAGMessage.RSSIColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetRSSINull() {
this[this.tableTAGMessage.RSSIColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsLQINull() {
return this.IsNull(this.tableTAGMessage.LQIColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetLQINull() {
this[this.tableTAGMessage.LQIColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsDINull() {
return this.IsNull(this.tableTAGMessage.DIColumn);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetDINull() {
this[this.tableTAGMessage.DIColumn] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsT1Null() {
return this.IsNull(this.tableTAGMessage.T1Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetT1Null() {
this[this.tableTAGMessage.T1Column] = System.Convert.DBNull;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public bool IsT2Null() {
return this.IsNull(this.tableTAGMessage.T2Column);
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public void SetT2Null() {
this[this.tableTAGMessage.T2Column] = System.Convert.DBNull;
}
}
public class TAGMessageRowChangeEvent : System.EventArgs {
private TAGMessageRow eventRow;
private System.Data.DataRowAction eventAction;
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public TAGMessageRowChangeEvent(TAGMessageRow row, System.Data.DataRowAction action) {
this.eventRow = row;
this.eventAction = action;
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public TAGMessageRow Row {
get {
return this.eventRow;
}
}
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
public System.Data.DataRowAction Action {
get {
return this.eventAction;
}
}
}
}
}
namespace DataSet1Util {
using System;
using System.Data;
public partial class DesignerUtil {
public static bool IsDesignTime() {
// Determine if this instance is running against .NET Framework by using the MSCoreLib PublicKeyToken
System.Reflection.Assembly mscorlibAssembly = typeof(int).Assembly;
if ((mscorlibAssembly != null)) {
if (mscorlibAssembly.FullName.ToUpper().EndsWith("B77A5C561934E089")) {
return true;
}
}
return false;
}
public static bool IsRunTime() {
// Determine if this instance is running against .NET Compact Framework by using the MSCoreLib PublicKeyToken
System.Reflection.Assembly mscorlibAssembly = typeof(int).Assembly;
if ((mscorlibAssembly != null)) {
if (mscorlibAssembly.FullName.ToUpper().EndsWith("969DB8053D3322AC")) {
return true;
}
}
return false;
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -