|
|
@ -136,10 +136,10 @@ id setting_name setting_name_ch val_upper_limit val_lower_limi |
|
|
|
storage.sync_schema(); |
|
|
|
|
|
|
|
if (storage.get_all<Setting>(where(c(&Setting::id) == 1)).size() == 0) //
|
|
|
|
storage.insert(Setting{1, "stoped_gs", "消毒停止过氧化氢溶度", 0, 2000, 1, 200}); |
|
|
|
storage.insert(Setting{1, "stoped_gs", "消毒停止过氧化氢溶度", 0, 2000, 1, 300}); |
|
|
|
|
|
|
|
if (storage.get_all<Setting>(where(c(&Setting::id) == 2)).size() == 0) |
|
|
|
storage.insert(Setting{2, "continued_gs", "消毒继续过氧化氢溶度", 0, 2000, 1, 180}); |
|
|
|
storage.insert(Setting{2, "continued_gs", "消毒继续过氧化氢溶度", 0, 2000, 1, 260}); |
|
|
|
|
|
|
|
if (storage.get_all<Setting>(where(c(&Setting::id) == 3)).size() == 0) |
|
|
|
storage.insert(Setting{3, "stoped_satur", "消毒停止过氧化氢相对饱和度", 0, 100, 1, 70}); |
|
|
|