Example #1
0
 internal void InitVars(bool initTable) {
     this.tablesensors = ((sensorsDataTable)(base.Tables["sensors"]));
     if ((initTable == true)) {
         if ((this.tablesensors != null)) {
             this.tablesensors.InitVars();
         }
     }
     this.tablesettings = ((settingsDataTable)(base.Tables["settings"]));
     if ((initTable == true)) {
         if ((this.tablesettings != null)) {
             this.tablesettings.InitVars();
         }
     }
     this.tablesensor_types = ((sensor_typesDataTable)(base.Tables["sensor_types"]));
     if ((initTable == true)) {
         if ((this.tablesensor_types != null)) {
             this.tablesensor_types.InitVars();
         }
     }
     this.tabletmp_data = ((tmp_dataDataTable)(base.Tables["tmp_data"]));
     if ((initTable == true)) {
         if ((this.tabletmp_data != null)) {
             this.tabletmp_data.InitVars();
         }
     }
 }
Example #2
0
 private void InitClass() {
     this.DataSetName = "DataSet1";
     this.Prefix = "";
     this.Namespace = "http://tempuri.org/DataSet1.xsd";
     this.EnforceConstraints = true;
     this.SchemaSerializationMode = global::System.Data.SchemaSerializationMode.IncludeSchema;
     this.tablesensors = new sensorsDataTable();
     base.Tables.Add(this.tablesensors);
     this.tablesettings = new settingsDataTable();
     base.Tables.Add(this.tablesettings);
     this.tablesensor_types = new sensor_typesDataTable();
     base.Tables.Add(this.tablesensor_types);
     this.tabletmp_data = new tmp_dataDataTable();
     base.Tables.Add(this.tabletmp_data);
 }
Example #3
0
 internal sensorsRow(global::System.Data.DataRowBuilder rb) : 
         base(rb) {
     this.tablesensors = ((sensorsDataTable)(this.Table));
 }