/// <summary> /// Запуск настроек 2 уст. /// </summary> public void F_OpenWD02() { if (V_w_D02 == null || !V_w_D02.Activate()) { V_w_D02 = new W_Port1((Device001.Port.C_MyPort)V_Command_D02, "Настройки D02 (монохроматоры)"); V_w_D02.Event_UseSettings += async(v_Port) => { await V_Command_D02.F_SetAndSaveOptions(v_Port); }; V_w_D02.Show(); } }
/// <summary> /// Запуск настроек 1 уст. /// </summary> public void F_OpenWD01() { if (V_w_D01 == null || !V_w_D01.Activate()) { V_w_D01 = new W_Port1((Device001.Port.C_MyPort)V_Command_D01, "Настройки D01 (фотоприёмники)"); V_w_D01.Event_UseSettings += async(v_Port) => { await V_Command_D01.F_SetAndSaveOptions(v_Port); }; V_w_D01.Show(); } }