示例#1
0
 public static async Task InsertControl(Control Control)
 {
     Control.ControlId = await MySQLService.Insert(Control, Control.InsertQuery);
 }
示例#2
0
 public static async Task InsertMetric(Metric metric)
 {
     metric.MetricId = await MySQLService.Insert(metric, Metric.InsertQuery);
 }
示例#3
0
 public static async Task InsertDevice(Device dev)
 {
     dev.DeviceId = await MySQLService.Insert(dev, Device.InsertQuery);
 }
示例#4
0
 public static async Task InsertControlQueue(ControlQueue control)
 {
     control.ControlQueueId = await MySQLService.Insert(control, ControlQueue.InsertQuery);
 }
示例#5
0
 public static async Task InsertDataRegister(DataStore dataStore)
 {
     dataStore.DataStoreId = await MySQLService.Insert(dataStore, DataStore.InsertQuery);
 }
示例#6
0
 public static async Task InsertWatch(Watch Watch)
 {
     Watch.WatchId = await MySQLService.Insert(Watch, Watch.InsertQuery);
 }