public static async Task InsertControl(Control Control) { Control.ControlId = await MySQLService.Insert(Control, Control.InsertQuery); }
public static async Task InsertMetric(Metric metric) { metric.MetricId = await MySQLService.Insert(metric, Metric.InsertQuery); }
public static async Task InsertDevice(Device dev) { dev.DeviceId = await MySQLService.Insert(dev, Device.InsertQuery); }
public static async Task InsertControlQueue(ControlQueue control) { control.ControlQueueId = await MySQLService.Insert(control, ControlQueue.InsertQuery); }
public static async Task InsertDataRegister(DataStore dataStore) { dataStore.DataStoreId = await MySQLService.Insert(dataStore, DataStore.InsertQuery); }
public static async Task InsertWatch(Watch Watch) { Watch.WatchId = await MySQLService.Insert(Watch, Watch.InsertQuery); }