/*Устанавливает у всех УО СПИ Фобос, Редут-1, Редут-1С режим "Брать после выхода"*/ update device_list set DEVICE_MODE = DEVICE_MODE + 512, DELAY_CLOSE=0 where code_type_device in(165, 153, 154) and CONTROL_DEVICE is null and bin_and(DEVICE_MODE, 512)=0