// SECU-3  - An open source, free engine control unit
// Copyright (C) 2007 Alexey A. Shabelnikov. Ukraine, Kiev
// http://secu-3.org

#include "resource.h"
#include "winres.h"

/////////////////////////////////////////////////////////////////////////////
// Russian resources

LANGUAGE LANG_RUSSIAN, SUBLANG_DEFAULT
#pragma code_page(1251)

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_PARAMETERS_DESK DIALOGEX 0, 0, 184, 191
STYLE DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_STATICEDGE
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Сохранить",IDC_PD_SAVE_BUTTON,5,2,41,12
    CONTROL         "Tab1",IDC_PD_TAB_CTRL,"SysTabControl32",
                    TCS_OWNERDRAWFIXED | WS_TABSTOP,4,17,175,166
    CTEXT           "",IDC_PARAMETERS_DESK_TITLE,48,2,116,11
END

IDD_PARAMETERS_DESK_FLOATING DIALOGEX 0, 0, 187, 191
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_GROUP
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Параметры"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Сохранить",IDC_PD_SAVE_BUTTON,5,2,41,12
    CONTROL         "Tab1",IDC_PD_TAB_CTRL,"SysTabControl32",
                    TCS_OWNERDRAWFIXED | WS_TABSTOP,4,17,175,166
    CTEXT           "",IDC_PARAMETERS_DESK_TITLE,48,2,116,11
END

IDD_TABLES_DESK DIALOGEX 0, 0, 184, 191
STYLE DS_CONTROL | WS_CHILD | WS_CLIPSIBLINGS
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_STATICEDGE
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Сохранить",IDC_TD_SAVE_BUTTON,5,2,41,12
    CTEXT           "",IDC_TABLES_DESK_TITLE,48,2,116,11
    CONTROL         "",IDC_TD_BUTTONS_PANEL_HOLDER,"Static",SS_BLACKFRAME | NOT WS_VISIBLE,22,50,120,108
    EDITTEXT        IDC_TD_TABLESSET_NAME_EDIT,19,29,115,16,ES_AUTOHSCROLL
    CTEXT           "Имя набора таблиц:",IDC_TD_TABLESSET_NAME_TITLE,19,19,114,10
    CTEXT           "",IDC_TD_MODIFICATION_FLAG,139,35,11,10
END

IDD_TABLES_DESK_FLOATING DIALOGEX 0, 0, 187, 191
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_GROUP
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Редактирование таблиц"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Сохранить",IDC_TD_SAVE_BUTTON,5,2,41,12
    CTEXT           "",IDC_TABLES_DESK_TITLE,48,2,116,11
    CONTROL         "",IDC_TD_BUTTONS_PANEL_HOLDER,"Static",SS_BLACKFRAME | NOT WS_VISIBLE,22,50,120,108
    EDITTEXT        IDC_TD_TABLESSET_NAME_EDIT,19,29,115,16,ES_AUTOHSCROLL
    CTEXT           "Имя набора таблиц:",IDC_TD_TABLESSET_NAME_TITLE,19,19,114,10
    CTEXT           "",IDC_TD_MODIFICATION_FLAG,139,35,11,10
END

IDD_PD_STARTER_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_STARTER_OFF_RPM_EDIT,98,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_OFF_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,10,13,17
    LTEXT           "Обороты блокир. стартера",IDC_PD_STARTER_OFF_RPM_CAPTION,3,11,94,10
    LTEXT           "мин-1",IDC_PD_STARTER_OFF_RPM_UNIT,146,11,30,10

    EDITTEXT        IDC_PD_STARTER_SMAP_ABANDON_RPM_EDIT,98,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_SMAP_ABANDON_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,30,13,17
    LTEXT           "Обороты пер. с пуск. УОЗ",IDC_PD_STARTER_SMAP_ABANDON_RPM_CAPTION,3,31,94,10
    LTEXT           "мин-1",IDC_PD_STARTER_SMAP_ABANDON_RPM_UNIT,146,31,30,10

    EDITTEXT        IDC_PD_STARTER_CRANKTORUNTIME_EDIT,98,50,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_CRANKTORUNTIME_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,50,13,17
    LTEXT           "Задержка перехода РХХ в рабочее положение",IDC_PD_STARTER_CRANKTORUNTIME_CAPTION,3,51,94,20
    LTEXT           "сек.",IDC_PD_STARTER_CRANKTORUNTIME_UNIT,146,51,30,10

    EDITTEXT        IDC_PD_STARTER_AFTSTRSTR_EDIT,98,70,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_AFTSTRSTR_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,70,13,17
    LTEXT           "Время обогащения после пуска в тактах",IDC_PD_STARTER_AFTSTRSTR_CAPTION,3,71,94,20
    LTEXT           "число",IDC_PD_STARTER_AFTSTRSTR_UNIT,146,71,30,10

    EDITTEXT        IDC_PD_STARTER_PRIMECOLD_EDIT,98,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_PRIMECOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,90,13,17
    LTEXT           "Впрыск перед пуском при -30°C",IDC_PD_STARTER_PRIMECOLD_CAPTION,3,91,94,20
    LTEXT           "мс",IDC_PD_STARTER_PRIMECOLD_UNIT,146,91,30,10

    EDITTEXT        IDC_PD_STARTER_PRIMEHOT_EDIT,98,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_PRIMEHOT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,110,13,17
    LTEXT           "Впрыск перед пуском при 70°C",IDC_PD_STARTER_PRIMEHOT_CAPTION,3,111,94,20
    LTEXT           "мс",IDC_PD_STARTER_PRIMEHOT_UNIT,146,111,30,10

    EDITTEXT        IDC_PD_STARTER_PRIMEDELAY_EDIT,98,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_PRIMEDELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,130,13,17
    LTEXT           "Впрыск перед пуском - задержка",IDC_PD_STARTER_PRIMEDELAY_CAPTION,3,131,94,20
    LTEXT           "сек",IDC_PD_STARTER_PRIMEDELAY_UNIT,146,131,30,10
END

IDD_PD_ANGLES_PAGE DIALOGEX 0, 0, 175, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_ANGLES_MIN_ANGLE_EDIT,12,25,29,15,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_ANGLES_MAX_ANGLE_EDIT,91,26,28,15,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_ANGLES_DECREASE_SPEAD_EDIT,12,73,29,15,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_ANGLES_INCREASE_SPEAD_EDIT,91,74,28,15,ES_AUTOHSCROLL
    CONTROL         "Нулев. уг.опер. (полезно для отладки)",
                    IDC_PD_ANGLES_ZEROAA_CHECK,"Button",BS_AUTOCHECKBOX | 
                    BS_MULTILINE | WS_TABSTOP,6,106,65,29
    EDITTEXT        IDC_PD_ANGLES_CORRECTION_EDIT,76,118,47,15,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ANGLES_MIN_ANGLE_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,45,24,11,16
    CONTROL         "",IDC_PD_ANGLES_MAX_ANGLE_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,124,24,11,17
    CONTROL         "",IDC_PD_ANGLES_CORRECTION_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,127,117,12,16
    LTEXT           "Минимальный УОЗ",IDC_PD_ANGLES_MIN_ANGLE_CAPTION,9,14,72,9
    LTEXT           "Максимальный УОЗ",IDC_PD_ANGLES_MAX_ANGLE_CAPTION,87,14,74,9
    LTEXT           "Октан коррекция",IDC_PD_ANGLES_CORRECTION_CAPTION,75,106,90,10
    LTEXT           "град.",IDC_PD_ANGLES_MIN_ANGLE_UNIT,60,25,20,11
    LTEXT           "град.",IDC_PD_ANGLES_MAX_ANGLE_UNIT,138,26,20,11
    LTEXT           "град.",IDC_PD_ANGLES_CORRECTION_UNIT,145,120,26,11
    CONTROL         "",IDC_PD_ANGLES_DECREASE_SPEAD_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,45,72,11,16
    CONTROL         "",IDC_PD_ANGLES_INCREASE_SPEAD_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,124,72,11,17
    LTEXT           "Уменьшение",IDC_PD_ANGLES_DECREASE_SPEAD_CAPTION,9,60,72,9
    LTEXT           "Увеличение",IDC_PD_ANGLES_INCREASE_SPEAD_CAPTION,87,60,74,9
    LTEXT           "град./ такт",IDC_PD_ANGLES_DECREASE_SPEAD_UNIT,60,71,22,16
    LTEXT           "град./ такт",IDC_PD_ANGLES_INCREASE_SPEAD_UNIT,138,72,20,16
    GROUPBOX        "Скорость изменения УОЗ",IDC_PD_ANGLES_ANGLE_SPEAD_GROUP,5,48,158,51
END

IDD_PD_FUNSET_PAGE DIALOGEX 0, 0, 177, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Настройка оси давл. в раб. табл.",IDC_PD_FUNSET_PRESS_AXIS_PAR_GROUP,1,1,157,39

    EDITTEXT        IDC_PD_FUNSET_MAP_GRAD_EDIT,9,20,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_MAP_GRAD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,46,19,11,16
    LTEXT           "Нижн. знач. давл.",IDC_PD_FUNSET_MAP_GRAD_CAPTION,7,10,63,8
    LTEXT           "кПа",IDC_PD_FUNSET_MAP_GRAD_UNIT,61,22,17,11

    EDITTEXT        IDC_PD_FUNSET_PRESS_SWING_EDIT,86,20,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_PRESS_SWING_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,123,19,11,16
    LTEXT           "Верхн. знач. давл.",IDC_PD_FUNSET_PRESS_SWING_CAPTION,84,10,66,8
    LTEXT           "кПа",IDC_PD_FUNSET_PRESS_SWING_UNIT,138,22,17,10

    GROUPBOX        "Настройка ДАД",IDC_PD_FUNSET_MAP_SENSOR_GROUP,1,41,157,39

    EDITTEXT        IDC_PD_FUNSET_CURVE_OFFSET_EDIT,9,60,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_CURVE_OFFSET_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,40,59,11,16
    LTEXT           "Смещение кривой",IDC_PD_FUNSET_CURVE_OFFSET_CAPTION,6,50,63,8
    LTEXT           "В",IDC_PD_FUNSET_CURVE_OFFSET_UNIT,53,63,12,10

    EDITTEXT        IDC_PD_FUNSET_CURVE_GRADIENT_EDIT,76,60,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_CURVE_GRADIENT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,106,59,11,16
    LTEXT           "Наклон кривой",IDC_PD_FUNSET_CURVE_GRADIENT_CAPTION,76,50,66,8
    LTEXT           "кПа/В",IDC_PD_FUNSET_CURVE_GRADIENT_UNIT,118,63,24,11

    CONTROL         "",IDC_PD_MAP_CALC_BUTTON,"Button",BS_OWNERDRAW | BS_BITMAP | WS_TABSTOP,142,60,15,18

    LTEXT           "Набор таблиц бенз.",IDC_PD_FUNSET_BENZIN_MAPS_COMBO_CAPTION,2,83,83,8
    COMBOBOX        IDC_PD_FUNSET_BENZIN_MAPS_COMBO,74,83,84,82,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Набор таблиц газ",IDC_PD_FUNSET_GAS_MAPS_COMBO_CAPTION,2,101,80,8
    COMBOBOX        IDC_PD_FUNSET_GAS_MAPS_COMBO,74,101,84,87,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP

    GROUPBOX        "Настройка ДПДЗ",IDC_PD_FUNSET_TPS_SENSOR_GROUP,1,115,157,39

    EDITTEXT        IDC_PD_FUNSET_TPS_CURVE_OFFSET_EDIT,9,134,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_TPS_CURVE_OFFSET_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,46,133,11,16
    LTEXT           "Смещение кривой",IDC_PD_FUNSET_TPS_CURVE_OFFSET_CAPTION,6,124,63,8
    LTEXT           "В",IDC_PD_FUNSET_TPS_CURVE_OFFSET_UNIT,61,137,12,10

    EDITTEXT        IDC_PD_FUNSET_TPS_CURVE_GRADIENT_EDIT,86,134,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_TPS_CURVE_GRADIENT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,123,133,11,16
    LTEXT           "Наклон кривой",IDC_PD_FUNSET_TPS_CURVE_GRADIENT_CAPTION,86,124,66,8
    LTEXT           "%/В",IDC_PD_FUNSET_TPS_CURVE_GRADIENT_UNIT,138,137,18,11

    LTEXT           "Определ. нагрузку по:",IDC_PD_FUNSET_LOAD_SRC_COMBO_CAPTION,2,164,83,8
    COMBOBOX        IDC_PD_FUNSET_LOAD_SRC_COMBO,85,162,50,82,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
END

IDD_PD_IDLREG_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_IDLREG_FACTOR_NEG_EDIT,15,17,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_FACTOR_POS_EDIT,88,17,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_RESTRICTION_MIN_EDIT,15,50,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_RESTRICTION_MAX_EDIT,88,50,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_GOAL_RPM_EDIT,15,90,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_DEAD_BAND_RPM_EDIT,88,90,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_TURN_ON_TEMP_EDIT,26,116,30,18,ES_AUTOHSCROLL

    CONTROL         "",IDC_PD_IDLREG_FACTOR_NEG_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,47,17,11,16
    CONTROL         "",IDC_PD_IDLREG_FACTOR_POS_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,120,17,11,16
    CONTROL         "",IDC_PD_IDLREG_RESTRICTION_MIN_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,47,50,11,16
    CONTROL         "",IDC_PD_IDLREG_RESTRICTION_MAX_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,120,50,11,16
    CONTROL         "",IDC_PD_IDLREG_GOAL_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,47,90,11,16
    CONTROL         "",IDC_PD_IDLREG_DEAD_BAND_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,120,90,11,16
    CONTROL         "",IDC_PD_IDLREG_TURN_ON_TEMP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,58,116,11,16
    CONTROL         "Использовать регулятор",IDC_PD_IDLREG_USE_REGULATOR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,138,104,12

    LTEXT           "Коэффициенты регулятора",IDC_PD_IDLREG_FACTORS_CAPTION,23,5,113,9
    LTEXT           "Пределы регулирования",IDC_PD_IDLREG_RESTRICTIONS_CAPTION,28,38,113,9
    LTEXT           "Целевое значение оборотов",IDC_PD_IDLREG_GOAL_RPM_CAPTION,15,71,70,18
    LTEXT           "Зона нечувствительности ",IDC_PD_IDLREG_DEAD_BAND_RPM_CAPTION,88,71,70,18
    LTEXT           "_",IDC_PD_IDLREG_FACTOR_NEG_CAPTION,63,16,13,17
    LTEXT           "+",IDC_PD_IDLREG_FACTOR_POS_CAPTION,135,19,13,17
    LTEXT           "мин.",IDC_PD_IDLREG_RESTRICTION_MIN_CAPTION,61,52,19,17
    LTEXT           "макс.",IDC_PD_IDLREG_RESTRICTION_MAX_CAPTION,133,52,20,17
    LTEXT           "мин-1",IDC_PD_IDLREG_GOAL_RPM_UNIT,61,92,25,13
    LTEXT           "мин-1",IDC_PD_IDLREG_DEAD_BAND_RPM_UNIT,133,92,25,13
    LTEXT           "Температура вкл. регулятора, °C",IDC_PD_IDLREG_TURN_ON_TEMP_UNIT,75,117,70,18

    CONTROL         "Использовать регулятор на газу",IDC_PD_IDLREG_USE_ONGAS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,152,130,12
END

IDD_PD_CARBUR_PAGE DIALOGEX 0, 0, 175, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_EDIT,95,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,10,13,17
    LTEXT           "Нижний порог ЭПХХ",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_CAPTION,0,11,94,10
    LTEXT           "мин-1",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_UNIT,140,11,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_EDIT,95,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,30,13,17
    LTEXT           "Верхний порог ЭПХХ",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_CAPTION,0,31,94,10
    LTEXT           "мин-1",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_UNIT,140,31,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_EDIT_G,95,50,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_SPIN_G,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,50,13,17
    LTEXT           "Нижний порог ЭПХХ(газ)",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_CAPTION_G,0,51,94,10
    LTEXT           "мин-1",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_UNIT_G,140,51,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_EDIT_G,95,70,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_SPIN_G,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,70,13,17
    LTEXT           "Верхний порог ЭПХХ(газ)",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_CAPTION_G,0,71,94,10
    LTEXT           "мин-1",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_UNIT_G,140,71,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_DELAY_EDIT,95,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_DELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,90,13,17
    LTEXT           "Задержка выкл. клап.",IDC_PD_CARBUR_SHUTOFF_DELAY_CAPTION,0,91,94,10
    LTEXT           "сек",IDC_PD_CARBUR_SHUTOFF_DELAY_UNIT,143,91,30,10

    EDITTEXT        IDC_PD_CARBUR_EPM_ON_THRESHOLD_EDIT,95,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_EPM_ON_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,110,13,17
    LTEXT           "Порог включения ЭМР",IDC_PD_CARBUR_EPM_ON_THRESHOLD_CAPTION,0,111,94,10
    LTEXT           "раз. кПа",IDC_PD_CARBUR_EPM_ON_THRESHOLD_UNIT,142,111,25,20

    EDITTEXT        IDC_PD_CARBUR_TPS_THRESHOLD_EDIT,95,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_TPS_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,130,13,17
    LTEXT           "Порог ДПДЗ",IDC_PD_CARBUR_TPS_THRESHOLD_CAPTION,0,131,94,10
    LTEXT           "%",IDC_PD_CARBUR_TPS_THRESHOLD_UNIT,143,131,30,10

    CONTROL         "Инверсия концевика карбюратора",IDC_PD_CARBUR_INVERSE_SWITCH,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP | BS_LEFTTEXT,0,150,115,15

    EDITTEXT        IDC_PD_CARBUR_FC_MAP_THRD_EDIT,95,170,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_FC_MAP_THRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,170,13,17
    LTEXT           "Порог отсечки по ДАД",IDC_PD_CARBUR_FC_MAP_THRD_CAPTION,0,171,94,10
    LTEXT           "кПа",IDC_PD_CARBUR_FC_MAP_THRD_UNIT,143,171,30,10

    EDITTEXT        IDC_PD_CARBUR_FC_CTS_THRD_EDIT,95,190,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_FC_CTS_THRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,190,13,17
    LTEXT           "Порог отсечки по ДТОЖ",IDC_PD_CARBUR_FC_CTS_THRD_CAPTION,0,191,94,10
    LTEXT           "°C",IDC_PD_CARBUR_FC_CTS_THRD_UNIT,143,191,30,10

    EDITTEXT        IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_EDIT,95,210,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,210,13,17
    LTEXT           "Нижн.порог отсеч.топл.",IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_CAPTION,0,211,94,10
    LTEXT           "мин-1",IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_UNIT,140,211,30,10

    EDITTEXT        IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_EDIT,95,230,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,230,13,17
    LTEXT           "Верх.порог отсеч.топл.",IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_CAPTION,0,231,94,10
    LTEXT           "мин-1",IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_UNIT,140,231,30,10
END

IDD_PD_TEMPER_PAGE DIALOGEX 0, 0, 168, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_TEMPER_VENT_ON_THRESHOLD_EDIT,12,30,35,19,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_TEMPER_VENT_OFF_THRESHOLD_EDIT,91,30,35,19,ES_AUTOHSCROLL
    CONTROL         "Использовать датчик температуры охлаждающей жидкости",IDC_PD_TEMPER_USE_TEMP_SENSOR,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,28,54,116,27
    CONTROL         "Управлять вентилятором используя ШИМ",IDC_PD_TEMPER_USE_VENT_PWM,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,28,78,116,27
    CONTROL         "Кривая датчика задается таблицей",IDC_PD_TEMPER_USE_CURVE_MAP,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,28,100,116,27
    LTEXT           "Порог включения вентилятора",IDC_PD_TEMPER_VENT_ON_THRESHOLD_CAPTION,11,10,74,17
    LTEXT           "Порог выключения вентилятора",IDC_PD_TEMPER_VENT_OFF_THRESHOLD_CAPTION,91,10,72,17
    CONTROL         "",IDC_PD_TEMPER_VENT_ON_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,50,30,14,19
    CONTROL         "",IDC_PD_TEMPER_VENT_OFF_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,129,30,14,19
    LTEXT           "°C",IDC_PD_TEMPER_VENT_ON_THRESHOLD_UNIT,68,33,16,14
    LTEXT           "°C",IDC_PD_TEMPER_VENT_OFF_THRESHOLD_UNIT,147,33,15,14
    EDITTEXT        IDC_PD_TEMPER_PWM_FRQ_EDIT,98,128,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_TEMPER_PWM_FRQ_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,128,13,17
    LTEXT           "Чaстота ШИМ",IDC_PD_TEMPER_PWM_FRQ_CAPTION,3,129,94,10
    LTEXT           "Гц",IDC_PD_TEMPER_PWM_FRQ_UNIT,146,129,30,10
END

IDD_PD_ADCCOMPEN_PAGE DIALOGEX 0, 0, 175, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_ADCCOMPEN_MAP_FACTOR_EDIT,37,12,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_MAP_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,12,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_MAP_CORRECTION_EDIT,106,12,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_MAP_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,11,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_UBAT_FACTOR_EDIT,37,34,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_UBAT_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,34,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_UBAT_CORRECTION_EDIT,106,34,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_UBAT_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,34,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TEMP_FACTOR_EDIT,37,56,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TEMP_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,56,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TEMP_CORRECTION_EDIT,106,56,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TEMP_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,56,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TPS_FACTOR_EDIT,37,78,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TPS_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,78,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TPS_CORRECTION_EDIT,106,78,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TPS_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,77,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I1_FACTOR_EDIT,37,100,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I1_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,100,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I1_CORRECTION_EDIT,106,100,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I1_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,100,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I2_FACTOR_EDIT,37,122,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I2_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,122,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I2_CORRECTION_EDIT,106,122,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I2_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,122,11,16
    CTEXT           "ДАД",IDC_PD_ADCCOMPEN_MAP_CAPTION,1,14,32,11
    LTEXT           "коэфф.",IDC_PD_ADCCOMPEN_MAP_FACTOR_UNIT,78,14,25,12
    LTEXT           "корр. (B)",IDC_PD_ADCCOMPEN_MAP_CORRECTION_UNIT,151,11,23,20
    CTEXT           "Напряж.",IDC_PD_ADCCOMPEN_UBAT_CAPTION,1,36,32,11
    LTEXT           "коэфф.",IDC_PD_ADCCOMPEN_UBAT_FACTOR_UNIT,78,36,25,12
    LTEXT           "корр. (B)",IDC_PD_ADCCOMPEN_UBAT_CORRECTION_UNIT,151,33,23,19
    CTEXT           "ДТОЖ",IDC_PD_ADCCOMPEN_TEMP_CAPTION,1,59,32,11
    LTEXT           "коэфф.",IDC_PD_ADCCOMPEN_TEMP_FACTOR_UNIT,78,59,25,12
    LTEXT           "корр. (B)",IDC_PD_ADCCOMPEN_TEMP_CORRECTION_UNIT,151,54,23,18
    CTEXT           "ДПДЗ",IDC_PD_ADCCOMPEN_TPS_CAPTION,1,80,32,11
    LTEXT           "коэфф.",IDC_PD_ADCCOMPEN_TPS_FACTOR_UNIT,78,80,25,12
    LTEXT           "корр. (B)",IDC_PD_ADCCOMPEN_TPS_CORRECTION_UNIT,151,76,23,20
    CTEXT           "ADD_I1",IDC_PD_ADCCOMPEN_ADD_I1_CAPTION,1,102,32,11
    LTEXT           "коэфф.",IDC_PD_ADCCOMPEN_ADD_I1_FACTOR_UNIT,78,102,25,12
    LTEXT           "корр. (B)",IDC_PD_ADCCOMPEN_ADD_I1_CORRECTION_UNIT,151,99,23,19
    CTEXT           "ADD_I2",IDC_PD_ADCCOMPEN_ADD_I2_CAPTION,1,125,32,11
    LTEXT           "коэфф.",IDC_PD_ADCCOMPEN_ADD_I2_FACTOR_UNIT,78,125,25,12
    LTEXT           "корр. (B)",IDC_PD_ADCCOMPEN_ADD_I2_CORRECTION_UNIT,151,120,23,18
END

IDD_PD_CKPS_PAGE DIALOGEX 0, 0, 183, 150
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Отрицат.",IDC_PD_CKPS_NEGFRONT_RADIOBOX,"Button",
                    BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,15,14,49,10
    CONTROL         "Полож.",IDC_PD_CKPS_POSFRONT_RADIOBOX,"Button",
                    BS_AUTORADIOBUTTON | WS_TABSTOP,15,28,41,10
    GROUPBOX        "Фронт ДПКВ",IDC_PD_CKPS_FRONT_GROUPBOX,9,3,59,39
    CONTROL         "Отрицат.",IDC_PD_REF_S_NEGFRONT_RADIOBOX,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,93,14,48,10
    CONTROL         "Полож.",IDC_PD_REF_S_POSFRONT_RADIOBOX,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,93,28,41,10
    GROUPBOX        "Фронт ДНО",IDC_PD_REF_S_FRONT_GROUPBOX,87,3,59,39
    CONTROL         "Распределение искры трамблером",
                    IDC_PD_CKPS_MERGE_IGN_OUTPUTS,"Button",BS_AUTOCHECKBOX |
                    BS_MULTILINE | WS_TABSTOP,16,54,148,12
    EDITTEXT        IDC_PD_CKPS_COGS_NUM_EDIT,9,70,25,16,ES_AUTOHSCROLL
    LTEXT           "Кол-во зубьев шкива",IDC_PD_CKPS_COGS_NUM_UNIT,50,65,39,25,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_COGS_NUM_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,36,70,11,16
    EDITTEXT        IDC_PD_CKPS_MISS_NUM_EDIT,93,70,25,16,ES_AUTOHSCROLL
    LTEXT           "Кол-во отсут. зубьев",IDC_PD_CKPS_MISS_NUM_UNIT,133,65,36,24,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_MISS_NUM_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,119,70,11,16
    COMBOBOX        IDC_PD_CKPS_COGS_BEFORE_TDC_COMBOBOX,9,109,47,71,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP	
    LTEXT           "Кол-во зубьев до в.м.т.",
                    IDC_PD_CKPS_COGS_BEFORE_TDC_CAPTION,9,91,55,17,NOT WS_GROUP
    COMBOBOX        IDC_PD_CKPS_ENGINE_CYL_COMBOBOX,93,110,43,71,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Кол-во цилиндров двигателя",
                    IDC_PD_CKPS_ENGINE_CYL_CAPTION,93,91,76,17,NOT WS_GROUP
    EDITTEXT        IDC_PD_CKPS_IGNITION_COGS_EDIT,9,129,34,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_CKPS_HALL_WND_WIDTH_EDIT,9,129,34,16,ES_AUTOHSCROLL
    LTEXT           "Длительность импульса запуска коммутатора в зубьях шкива",
                    IDC_PD_CKPS_IGNITION_COGS_UNIT,61,124,92,24,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_IGNITION_COGS_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,44,129,11,16
    LTEXT           "Ширина окна в шторке ДХ в градусах по коленвалу",
                    IDC_PD_CKPS_HALL_WND_WIDTH_UNIT,61,128,92,24,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_HALL_WND_WIDTH_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,44,129,11,16
END

IDD_PD_KNOCK_PAGE DIALOGEX 0, 0, 170, 148
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    COMBOBOX        IDC_PD_KNOCK_ENABLE_KC_COMBO,96,3,45,40,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_TABSTOP
    LTEXT           "Разреш. контроль детон.",IDC_PD_KNOCK_ENABLE_KC_CAPTION,1,4,94,10

    EDITTEXT        IDC_PD_KNOCK_BEGIN_KWND_EDIT,96,23,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_BEGIN_KWND_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,23,13,17
    LTEXT           "Начало фазового окна",IDC_PD_KNOCK_BEGIN_KWND_CAPTION,1,24,94,10
    LTEXT           "°КВ",IDC_PD_KNOCK_BEGIN_KWND_UNIT,144,24,20,10

    EDITTEXT        IDC_PD_KNOCK_END_KWND_EDIT,96,43,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_END_KWND_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,43,13,17
    LTEXT           "Конец фазового окна",IDC_PD_KNOCK_END_KWND_CAPTION,1,44,94,10
    LTEXT           "°КВ",IDC_PD_KNOCK_END_KWND_UNIT,144,44,20,10

    COMBOBOX        IDC_PD_KNOCK_BPF_FREQ_COMBO,96,63,45,60,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Частота ПФ",IDC_PD_KNOCK_BPF_FREQ_CAPTION,1,64,94,10
    LTEXT           "кГц",IDC_PD_KNOCK_BPF_FREQ_UNIT,144,64,20,10

    COMBOBOX        IDC_PD_KNOCK_INT_TIME_CONST_COMBO,96,83,45,60,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Пост. врем. интегриров.",IDC_PD_KNOCK_INT_TIME_CONST_CAPTION,1,84,94,10
    LTEXT           "мкс",IDC_PD_KNOCK_INT_TIME_CONST_UNIT,144,84,20,10

    EDITTEXT        IDC_PD_KNOCK_RETARD_STEP_EDIT,96,103,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_RETARD_STEP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,103,13,17
    LTEXT           "Шаг смещения УОЗ",IDC_PD_KNOCK_RETARD_STEP_CAPTION,1,104,94,10
    LTEXT           "°КВ",IDC_PD_KNOCK_RETARD_STEP_UNIT,144,104,20,10

    EDITTEXT        IDC_PD_KNOCK_ADVANCE_STEP_EDIT,96,123,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_ADVANCE_STEP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,123,13,17
    LTEXT           "Шаг восстан. УОЗ",IDC_PD_KNOCK_ADVANCE_STEP_CAPTION,1,124,94,10
    LTEXT           "°КВ",IDC_PD_KNOCK_ADVANCE_STEP_UNIT,144,124,20,10

    EDITTEXT        IDC_PD_KNOCK_MAX_RETARD_EDIT,96,143,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_MAX_RETARD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,143,13,17
    LTEXT           "Макс. смещение УОЗ",IDC_PD_KNOCK_MAX_RETARD_CAPTION,1,144,94,10
    LTEXT           "°КВ",IDC_PD_KNOCK_MAX_RETARD_UNIT,144,144,20,10

    EDITTEXT        IDC_PD_KNOCK_THRESHOLD_EDIT,96,163,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,163,13,17
    LTEXT           "Порог детонации",IDC_PD_KNOCK_THRESHOLD_CAPTION,1,164,94,10
    LTEXT           "В",IDC_PD_KNOCK_THRESHOLD_UNIT,144,164,20,10

    EDITTEXT        IDC_PD_KNOCK_RECOVERY_DELAY_EDIT,96,183,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_RECOVERY_DELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,183,13,17
    LTEXT           "Задержка восстан. УОЗ",IDC_PD_KNOCK_RECOVERY_DELAY_CAPTION,1,184,94,10
    LTEXT           "т",IDC_PD_KNOCK_RECOVERY_DELAY_UNIT,144,184,20,10
END

IDD_PD_MISC_PAGE DIALOGEX 0, 0, 192, 126
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    COMBOBOX        IDC_PD_MISC_UART_SPEED_COMBO,8,27,53,82,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_PD_MISC_PACKET_PERIOD_EDIT,84,24,46,16,ES_AUTOHSCROLL
    LTEXT           "Скорость передачи данных (бод)",IDC_PD_MISC_UART_SPEED_COMBO_CAPTION,8,1,60,24
    CONTROL         "",IDC_PD_MISC_PACKET_PERIOD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,134,24,11,17
    LTEXT           "Период передачи пакетов с данными",IDC_PD_MISC_PACKET_PERIOD_CAPTION,83,4,66,16
    LTEXT           "мс",IDC_PD_MISC_PACKET_PERIOD_UNIT,151,27,25,13
    CONTROL         "Разрешить отсечку зажигания",IDC_PD_MISC_IGNCUTOFF_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,44,118,9
    EDITTEXT        IDC_PD_MISC_IGNCUTOFF_RPM_EDIT,8,57,46,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_MISC_IGNCUTOFF_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,58,57,11,17
    LTEXT           "мин-1",IDC_PD_MISC_IGNCUTOFF_RPM_UNIT,75,60,25,13
    GROUPBOX        "Парам. импульса вых. ДХ в зубъях шкива",IDC_PD_MISC_HALL_OUTPUT_GROUP,3,80,160,38
    EDITTEXT        IDC_PD_MISC_HALL_OUTPUT_START_EDIT,9,94,21,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_MISC_HALL_OUTPUT_START_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,32,94,11,17
    LTEXT           "Нач. отн. ВМТ",IDC_PD_MISC_HALL_OUTPUT_START_UNIT,46,95,36,16
    EDITTEXT        IDC_PD_MISC_HALL_OUTPUT_DURAT_EDIT,86,94,21,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_MISC_HALL_OUTPUT_DURAT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,109,94,11,17
    LTEXT           "Длительн.",IDC_PD_MISC_HALL_OUTPUT_DURAT_UNIT,121,98,36,12
    CONTROL         "Выкл. бензонасос при переходе на газ",IDC_PD_MISC_FLPMP_OFFONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,122,145,9
    CONTROL         "Выкл. форсунки при переходе на газ",IDC_PD_MISC_INJ_OFFONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,135,145,9
END

IDD_PD_CHOKE_PAGE DIALOGEX 0, 0, 155, 183
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "",IDC_PD_CHOKE_MANUAL_POS_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK | WS_TABSTOP | UDS_HORZ,9,15,35,20
    LTEXT           "Ручное управл.",IDC_PD_CHOKE_MANUAL_POS_CAPTION,48,16,26,20

    EDITTEXT        IDC_PD_CHOKE_STRT_ADD_TM_EDIT,94,26,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_STRT_ADD_TM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,25,13,17
    LTEXT           "Добав.пуск.врем.",IDC_PD_CHOKE_STRT_ADD_TM_CAPTION,90,15,105,10
    LTEXT           "сек",IDC_PD_CHOKE_STRT_ADD_TM_UNIT,142,29,20,10

    EDITTEXT        IDC_PD_CHOKE_SM_STEPS_NUM_EDIT,6,58,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_SM_STEPS_NUM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,39,57,13,17
    LTEXT           "Кол-во шагов ШД",IDC_PD_CHOKE_SM_STEPS_NUM_CAPTION,7,47,105,10
    CONTROL         "ТЕСТ",IDC_PD_CHOKE_SM_TEST_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP | BS_PUSHLIKE,54,58,28,15

    EDITTEXT        IDC_PD_CHOKE_STRT_ADD_EDIT,94,58,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_STRT_ADD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,57,13,17
    LTEXT           "Добав.пуск.закр.",IDC_PD_CHOKE_STRT_ADD_CAPTION,90,47,105,10
    LTEXT           "%",IDC_PD_CHOKE_STRT_ADD_UNIT,142,60,10,10

    EDITTEXT        IDC_PD_CHOKE_RPMREG_IF_EDIT,6,83,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_RPMREG_IF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,39,83,13,17
    LTEXT           "Коэфф. регул.",IDC_PD_CHOKE_RPMREG_IF_CAPTION,54,83,40,20

    EDITTEXT        IDC_PD_CHOKE_STRT_ADD_TMP_EDIT,94,83,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_STRT_ADD_TMP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,83,13,17
    LTEXT           "°C",IDC_PD_CHOKE_STRT_ADD_TMP_UNIT,142,85,20,10

    LTEXT           "Зависимость оборотов прогрева от темп.",IDC_PD_CHOKE_RPMREG_TITLE,6,105,150,10

    EDITTEXT        IDC_PD_CHOKE_RPMREG_1STPT_EDIT,6,116,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_RPMREG_1STPT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,39,115,13,17
    LTEXT           "мин-1",IDC_PD_CHOKE_RPMREG_1STPT_UNIT,52,118,25,10
    CTEXT           "-5°C",IDC_PD_CHOKE_RPMREG_1STPT_TEMP,7,132,25,10

    EDITTEXT        IDC_PD_CHOKE_RPMREG_2NDPT_EDIT,94,116,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_RPMREG_2NDPT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,115,13,17
    LTEXT           "мин-1",IDC_PD_CHOKE_RPMREG_2NDPT_UNIT,140,118,25,10
    CTEXT           "70°C",IDC_PD_CHOKE_RPMREG_2NDPT_TEMP,97,132,25,10

    CONTROL         "Не использовать доп.прикр. на газу",IDC_PD_CHOKE_OFFSTRTADDONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,147,145,10
    CONTROL         "Не использовать рег.обор. на газу",IDC_PD_CHOKE_OFFRPMREGONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,162,145,10
    CONTROL         "Использовать полож.дросс.при иниц.",IDC_PD_CHOKE_USETHROTTLEPOS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,6,177,145,10
END

IDD_PD_GASDOSE_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "",IDC_PD_GASDOSE_MANUAL_POS_SPIN, "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK | WS_TABSTOP | UDS_HORZ,18,15,35,20
    LTEXT           "Ручное управл.",IDC_PD_GASDOSE_MANUAL_POS_CAPTION,57,16,26,20

    EDITTEXT        IDC_PD_GASDOSE_SM_STEPS_NUM_EDIT,15,58,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_SM_STEPS_NUM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,48,57,13,17
    LTEXT           "Кол-во шагов ШД",IDC_PD_GASDOSE_SM_STEPS_NUM_CAPTION,16,47,105,10

    CONTROL         "ТЕСТ",IDC_PD_GASDOSE_SM_TEST_CHECK, "Button", BS_AUTOCHECKBOX | WS_TABSTOP | BS_PUSHLIKE,63,58,28,15

    EDITTEXT        IDC_PD_GASDOSE_FC_CLOSING_EDIT,98,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_FC_CLOSING_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,90,13,17
    LTEXT           "Прикрытие дозат. на ПХХ",IDC_PD_GASDOSE_FC_CLOSING_CAPTION,3,91,94,10
    LTEXT           "%",IDC_PD_GASDOSE_FC_CLOSING_UNIT,146,91,30,10

    EDITTEXT        IDC_PD_GASDOSE_CORRLIMIT_P_EDIT,98,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_CORRLIMIT_P_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,110,13,17
    LTEXT           "Макс. значение корр.(+)",IDC_PD_GASDOSE_CORRLIMIT_P_CAPTION,3,111,94,10
    LTEXT           "%",IDC_PD_GASDOSE_CORRLIMIT_P_UNIT,146,111,20,10

    EDITTEXT        IDC_PD_GASDOSE_CORRLIMIT_M_EDIT,98,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_CORRLIMIT_M_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,130,13,17
    LTEXT           "Макс. значение корр.(-)",IDC_PD_GASDOSE_CORRLIMIT_M_CAPTION,3,131,94,10
    LTEXT           "%",IDC_PD_GASDOSE_CORRLIMIT_M_UNIT,146,131,20,10
END

IDD_PD_SECUR_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_SECUR_BT_NAME_EDIT,10,30,46,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_SECUR_BT_PASS_EDIT,10,51,46,16,ES_AUTOHSCROLL
    CONTROL         "Использ. блютуз",IDC_PD_SECUR_BT_USE_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,31,72,10
    PUSHBUTTON      "Применить",IDC_PD_SECUR_BT_APPLY_BUTTON,93,51,43,12
    GROUPBOX        "Bluetooth",IDC_PD_SECUR_BT_GROUP,5,18,161,54
    LTEXT           "Имя",IDC_PD_SECUR_BT_NAME_CAPTION,58,34,35,8
    LTEXT           "Пароль",IDC_PD_SECUR_BT_PASS_CAPTION,58,54,35,8
    GROUPBOX        "Иммобилайзер",IDC_PD_SECUR_IMM_GROUP,5,77,161,54
    CONTROL         "Использ. иммоб.",IDC_PD_SECUR_IMM_USE_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,87,72,10    
    CTEXT           "iButton ключи:",IDC_PD_SECUR_IBTN_KEYS_CAPTION,30,98,80,10     
    EDITTEXT        IDC_PD_SECUR_IBTN_KEY1_EDIT,10,110,65,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_SECUR_IBTN_KEY2_EDIT,80,110,65,16,ES_AUTOHSCROLL
END

IDD_PD_UNIOUT_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Выход 1",IDC_PD_UNIOUT_1_GROUP,2,3,156,91
    COMBOBOX        IDC_PD_UNIOUT_1_COND1_COMBO,5,12,98,120,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "инверсия",IDC_PD_UNIOUT_1_COND1_INV_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,13,45,10
    EDITTEXT        IDC_PD_UNIOUT_1_COND1_ON_EDIT,5,27,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_1_COND1_OFF_EDIT,80,27,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_1_COND1_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,27,13,16
    CONTROL         "",IDC_PD_UNIOUT_1_COND1_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,27,13,16
    LTEXT           "вкл.",IDC_PD_UNIOUT_1_COND1_ON_CAPTION,51,29,26,8
    LTEXT           "выкл.",IDC_PD_UNIOUT_1_COND1_OFF_CAPTION,125,29,26,8
    COMBOBOX        IDC_PD_UNIOUT_1_LOGFUN_COMBO,36,45,50,65,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_PD_UNIOUT_1_COND2_COMBO,5,59,98,120,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "инверсия",IDC_PD_UNIOUT_1_COND2_INV_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,60,45,10
    EDITTEXT        IDC_PD_UNIOUT_1_COND2_ON_EDIT,5,74,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_1_COND2_OFF_EDIT,80,74,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_1_COND2_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,74,13,16
    CONTROL         "",IDC_PD_UNIOUT_1_COND2_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,74,13,16
    LTEXT           "вкл.",IDC_PD_UNIOUT_1_COND2_ON_CAPTION,51,76,26,8
    LTEXT           "выкл.",IDC_PD_UNIOUT_1_COND2_OFF_CAPTION,125,76,26,8

    COMBOBOX        IDC_PD_UNIOUT_12_LOGFUN_COMBO,36,99,50,65,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP

    GROUPBOX        "Выход 2",IDC_PD_UNIOUT_2_GROUP,2,116,156,91
    COMBOBOX        IDC_PD_UNIOUT_2_COND1_COMBO,5,125,98,120,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "инверсия",IDC_PD_UNIOUT_2_COND1_INV_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,126,45,10
    EDITTEXT        IDC_PD_UNIOUT_2_COND1_ON_EDIT,5,140,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_2_COND1_OFF_EDIT,80,140,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_2_COND1_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,140,13,16
    CONTROL         "",IDC_PD_UNIOUT_2_COND1_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,140,13,16
    LTEXT           "вкл.",IDC_PD_UNIOUT_2_COND1_ON_CAPTION,51,142,26,8
    LTEXT           "выкл.",IDC_PD_UNIOUT_2_COND1_OFF_CAPTION,125,142,26,8
    COMBOBOX        IDC_PD_UNIOUT_2_LOGFUN_COMBO,36,158,50,65,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_PD_UNIOUT_2_COND2_COMBO,5,172,98,120,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "инверсия",IDC_PD_UNIOUT_2_COND2_INV_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,173,45,10
    EDITTEXT        IDC_PD_UNIOUT_2_COND2_ON_EDIT,5,187,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_2_COND2_OFF_EDIT,80,187,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_2_COND2_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,187,13,16
    CONTROL         "",IDC_PD_UNIOUT_2_COND2_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,187,13,16
    LTEXT           "вкл.",IDC_PD_UNIOUT_2_COND2_ON_CAPTION,51,189,26,8
    LTEXT           "выкл.",IDC_PD_UNIOUT_2_COND2_OFF_CAPTION,125,189,26,8

    GROUPBOX        "Выход 3",IDC_PD_UNIOUT_3_GROUP,2,209,156,91
    COMBOBOX        IDC_PD_UNIOUT_3_COND1_COMBO,5,218,98,120,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "инверсия",IDC_PD_UNIOUT_3_COND1_INV_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,219,45,10
    EDITTEXT        IDC_PD_UNIOUT_3_COND1_ON_EDIT,5,233,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_3_COND1_OFF_EDIT,80,233,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_3_COND1_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,233,13,16
    CONTROL         "",IDC_PD_UNIOUT_3_COND1_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,233,13,16
    LTEXT           "вкл.",IDC_PD_UNIOUT_3_COND1_ON_CAPTION,51,235,26,8
    LTEXT           "выкл.",IDC_PD_UNIOUT_3_COND1_OFF_CAPTION,125,235,26,8
    COMBOBOX        IDC_PD_UNIOUT_3_LOGFUN_COMBO,36,251,50,65,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_PD_UNIOUT_3_COND2_COMBO,5,265,98,120,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "инверсия",IDC_PD_UNIOUT_3_COND2_INV_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,266,45,10
    EDITTEXT        IDC_PD_UNIOUT_3_COND2_ON_EDIT,5,280,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_3_COND2_OFF_EDIT,80,280,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_3_COND2_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,280,13,16
    CONTROL         "",IDC_PD_UNIOUT_3_COND2_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,280,13,16
    LTEXT           "вкл.",IDC_PD_UNIOUT_3_COND2_ON_CAPTION,51,282,26,8
    LTEXT           "выкл.",IDC_PD_UNIOUT_3_COND2_OFF_CAPTION,125,282,26,8
END

IDD_PD_INJECTOR_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_INJECTOR_CYLDISP_EDIT,95,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_CYLDISP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,10,13,17
    LTEXT           "Обьем двигателя",IDC_PD_INJECTOR_CYLDISP_CAPTION,0,11,94,10
    LTEXT           "Л",IDC_PD_INJECTOR_CYLDISP_UNIT,144,12,30,10

    EDITTEXT        IDC_PD_INJECTOR_FLOWRATE_EDIT,95,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_FLOWRATE_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,30,13,17
    LTEXT           "Производит. форсунки",IDC_PD_INJECTOR_FLOWRATE_CAPTION,0,31,94,10
    LTEXT           "см3/мин",IDC_PD_INJECTOR_FLOWRATE_UNIT,140,32,30,10

    COMBOBOX        IDC_PD_INJECTOR_INJCONFIG_COMBO,95,50,60,80,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_TABSTOP
    LTEXT           "Конфигурация впрыска",IDC_PD_INJECTOR_INJCONFIG_CAPTION,0,51,94,10
    COMBOBOX        IDC_PD_INJECTOR_SQUIRTNUM_COMBO,95,70,45,80,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_TABSTOP
    LTEXT           "Число впрысков на цикл",IDC_PD_INJECTOR_SQUIRTNUM_CAPTION,0,71,94,10

    EDITTEXT        IDC_PD_INJECTOR_TIMING_EDIT,95,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_TIMING_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,90,13,17
    LTEXT           "Фаза впрыска",IDC_PD_INJECTOR_TIMING_CAPTION,0,91,94,10
    LTEXT           "°КВ",IDC_PD_INJECTOR_TIMING_UNIT,144,91,30,10

    EDITTEXT        IDC_PD_INJECTOR_TIMING_CRK_EDIT,95,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_TIMING_CRK_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,110,13,17
    LTEXT           "Фаза впрыска на пуске",IDC_PD_INJECTOR_TIMING_CRK_CAPTION,0,111,94,10
    LTEXT           "°КВ",IDC_PD_INJECTOR_TIMING_CRK_UNIT,144,111,30,10

    CONTROL         "Фаза впрыска задается таблицей",IDC_PD_INJECTOR_USETIMINGMAP_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP | BS_LEFTTEXT,0,132,138,10
END

IDD_PD_LAMBDA_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_LAMBDA_STRPERSTP_EDIT,95,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_STRPERSTP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,10,13,17
    LTEXT           "Кол-во тактов на шаг",IDC_PD_LAMBDA_STRPERSTP_CAPTION,0,11,94,10
    LTEXT           "чис.",IDC_PD_LAMBDA_STRPERSTP_UNIT,141,11,30,10

    EDITTEXT        IDC_PD_LAMBDA_STEPSIZE_P_EDIT,95,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_STEPSIZE_P_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,30,13,17
    LTEXT           "Размер '+' шага коррекции",IDC_PD_LAMBDA_STEPSIZE_P_CAPTION,0,31,94,10
    LTEXT           "%",IDC_PD_LAMBDA_STEPSIZE_P_UNIT,144,31,20,10

    EDITTEXT        IDC_PD_LAMBDA_STEPSIZE_M_EDIT,95,50,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_STEPSIZE_M_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,50,13,17
    LTEXT           "Размер '-' шага коррекции",IDC_PD_LAMBDA_STEPSIZE_M_CAPTION,0,51,94,10
    LTEXT           "%",IDC_PD_LAMBDA_STEPSIZE_M_UNIT,144,51,20,10

    EDITTEXT        IDC_PD_LAMBDA_CORRLIMIT_P_EDIT,95,70,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_CORRLIMIT_P_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,70,13,17
    LTEXT           "Макс. значение корр.(+)",IDC_PD_LAMBDA_CORRLIMIT_P_CAPTION,0,71,94,10
    LTEXT           "%",IDC_PD_LAMBDA_CORRLIMIT_P_UNIT,144,71,20,10

    EDITTEXT        IDC_PD_LAMBDA_CORRLIMIT_M_EDIT,95,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_CORRLIMIT_M_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,90,13,17
    LTEXT           "Макс. значение корр.(-)",IDC_PD_LAMBDA_CORRLIMIT_M_CAPTION,0,91,94,10
    LTEXT           "%",IDC_PD_LAMBDA_CORRLIMIT_M_UNIT,144,91,20,10

    EDITTEXT        IDC_PD_LAMBDA_SWTPOINT_EDIT,95,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_SWTPOINT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,110,13,17
    LTEXT           "Порог переключения",IDC_PD_LAMBDA_SWTPOINT_CAPTION,0,111,94,10
    LTEXT           "В",IDC_PD_LAMBDA_SWTPOINT_UNIT,144,111,20,10

    EDITTEXT        IDC_PD_LAMBDA_TEMPTHRD_EDIT,95,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_TEMPTHRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,130,13,17
    LTEXT           "Порог актив. по ДТОЖ",IDC_PD_LAMBDA_TEMPTHRD_CAPTION,0,131,94,10
    LTEXT           "°C",IDC_PD_LAMBDA_TEMPTHRD_UNIT,144,131,20,10

    EDITTEXT        IDC_PD_LAMBDA_RPMTHRD_EDIT,95,150,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_RPMTHRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,150,13,17
    LTEXT           "Порог актив. по оборотам",IDC_PD_LAMBDA_RPMTHRD_CAPTION,0,151,94,10
    LTEXT           "мин-1",IDC_PD_LAMBDA_RPMTHRD_UNIT,140,151,30,10

    EDITTEXT        IDC_PD_LAMBDA_ACTIVDELAY_EDIT,95,170,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_ACTIVDELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,170,13,17
    LTEXT           "Активация после запуска",IDC_PD_LAMBDA_ACTIVDELAY_CAPTION,0,171,94,10
    LTEXT           "сек",IDC_PD_LAMBDA_ACTIVDELAY_UNIT,144,171,30,10

    EDITTEXT        IDC_PD_LAMBDA_DEADBAND_EDIT,95,190,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_DEADBAND_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,128,190,13,17
    LTEXT           "Мертвая зона перкл. +/-",IDC_PD_LAMBDA_DEADBAND_CAPTION,0,191,94,10
    LTEXT           "В",IDC_PD_LAMBDA_DEADBAND_UNIT,144,191,20,10
END

IDD_PD_ACCELENR_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_ACCELENR_TPSTHRD_EDIT,98,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ACCELENR_TPSTHRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,10,13,17
    LTEXT           "Порог по ДПДЗ",IDC_PD_ACCELENR_TPSTHRD_CAPTION,3,11,94,10
    LTEXT           "%/сек",IDC_PD_ACCELENR_TPSTHRD_UNIT,146,11,30,10

    EDITTEXT        IDC_PD_ACCELENR_MULTCOLDENR_EDIT,98,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ACCELENR_MULTCOLDENR_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,30,13,17
    LTEXT           "Коэф. ДТОЖ при хол.дв.",IDC_PD_ACCELENR_MULTCOLDENR_CAPTION,3,31,94,10
    LTEXT           "%",IDC_PD_ACCELENR_MULTCOLDENR_UNIT,146,31,30,10
END

IDD_IO_REMAPPING DIALOGEX 0, 0, 184, 196
STYLE DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_VSCROLL
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_STATICEDGE
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "Переназначение выводов:",IDC_IO_REMAPPING_CAPTION,50,0,90,8
    RTEXT           "IGN_OUT1",IDC_IO_REMAPPING_IGN_OUT1_CAPTION,0,11,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT1_COMBOBOX,53,10,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_IGN_OUT1_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,10,48,12
    RTEXT           "IGN_OUT2",IDC_IO_REMAPPING_IGN_OUT2_CAPTION,0,24,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT2_COMBOBOX,53,23,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_IGN_OUT2_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,23,48,12
    RTEXT           "IGN_OUT3",IDC_IO_REMAPPING_IGN_OUT3_CAPTION,0,37,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT3_COMBOBOX,53,36,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_IGN_OUT3_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,36,48,12
    RTEXT           "IGN_OUT4",IDC_IO_REMAPPING_IGN_OUT4_CAPTION,0,50,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT4_COMBOBOX,53,49,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_IGN_OUT4_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,49,48,12
    RTEXT           "ADD_O1",IDC_IO_REMAPPING_ADD_IO1_CAPTION,0,63,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_IO1_COMBOBOX,53,62,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_ADD_IO1_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,62,48,12
    RTEXT           "ADD_O2",IDC_IO_REMAPPING_ADD_IO2_CAPTION,0,76,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_IO2_COMBOBOX,53,75,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_ADD_IO2_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,75,48,12
    RTEXT           "ECF",IDC_IO_REMAPPING_ECF_CAPTION,0,89,50,13
    COMBOBOX        IDC_IO_REMAPPING_ECF_COMBOBOX,53,88,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_ECF_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,88,48,12
    RTEXT           "IE",IDC_IO_REMAPPING_IE_CAPTION,0,102,50,13
    COMBOBOX        IDC_IO_REMAPPING_IE_COMBOBOX,53,101,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_IE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,101,48,12
    RTEXT           "FE",IDC_IO_REMAPPING_FE_CAPTION,0,115,50,13
    COMBOBOX        IDC_IO_REMAPPING_FE_COMBOBOX,53,114,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_FE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,114,48,12
    RTEXT           "ST_BLOCK",IDC_IO_REMAPPING_ST_BLOCK_CAPTION,0,128,50,13
    COMBOBOX        IDC_IO_REMAPPING_ST_BLOCK_COMBOBOX,53,127,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_ST_BLOCK_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,127,48,13
    RTEXT           "PS",IDC_IO_REMAPPING_PS_CAPTION,0,141,50,15
    COMBOBOX        IDC_IO_REMAPPING_PS_COMBOBOX,53,140,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_PS_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,140,48,12
    RTEXT           "CE",IDC_IO_REMAPPING_CE_CAPTION,0,154,50,13
    COMBOBOX        IDC_IO_REMAPPING_CE_COMBOBOX,53,153,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_CE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,153,48,12
    RTEXT           "(J)       BL",IDC_IO_REMAPPING_BL_CAPTION,0,167,50,13
    COMBOBOX        IDC_IO_REMAPPING_BL_COMBOBOX,53,166,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_BL_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,166,48,12
    RTEXT           "(J)       DE",IDC_IO_REMAPPING_DE_CAPTION,0,180,50,13
    COMBOBOX        IDC_IO_REMAPPING_DE_COMBOBOX,53,179,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_DE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,179,48,12
    RTEXT           "ADD_I1",IDC_IO_REMAPPING_ADD_I1_CAPTION,0,193,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_I1_COMBOBOX,53,192,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_ADD_I1_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,192,48,12
    RTEXT           "ADD_I2",IDC_IO_REMAPPING_ADD_I2_CAPTION,0,206,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_I2_COMBOBOX,53,205,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_ADD_I2_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,205,48,12
    RTEXT           "REF_S",IDC_IO_REMAPPING_REF_S_CAPTION,0,219,50,13
    COMBOBOX        IDC_IO_REMAPPING_REF_S_COMBOBOX,53,218,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_REF_S_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,218,48,12
    RTEXT           "GAS_V",IDC_IO_REMAPPING_GAS_V_CAPTION,0,232,50,13
    COMBOBOX        IDC_IO_REMAPPING_GAS_V_COMBOBOX,53,231,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_GAS_V_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,231,48,12
    RTEXT           "CKPS",IDC_IO_REMAPPING_CKPS_CAPTION,0,245,50,13
    COMBOBOX        IDC_IO_REMAPPING_CKPS_COMBOBOX,53,244,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Инверсия",
                    IDC_IO_REMAPPING_CKPS_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,244,48,12
END

IDD_MAP_CALC DIALOGEX 0, 0, 211, 140
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | 
    WS_SYSMENU
CAPTION "Расчет параметров ДАД"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,43,115,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,108,115,50,14
    EDITTEXT        IDC_MAP_CALC_1STPT_PRESS_EDIT,10,15,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_1STPT_PRESS_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,40,15,12,14
    COMBOBOX        IDC_MAP_CALC_1STPT_PRESS_COMBO,53,15,48,80,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_MAP_CALC_1STPT_VOLT_EDIT,110,15,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_1STPT_VOLT_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,140,15,12,14
    COMBOBOX        IDC_MAP_CALC_1STPT_VOLT_COMBO,153,15,48,50,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_MAP_CALC_GRADIENT_EDIT,10,50,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_GRADIENT_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,40,50,12,14
    COMBOBOX        IDC_MAP_CALC_GRADIENT_N_COMBO,53,50,48,100,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_MAP_CALC_GRADIENT_D_COMBO,110,50,48,100,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Наклон известен",IDC_MAP_CALC_KNOW_GRAD_CHECK,
                    "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,165,47,60,20
    EDITTEXT        IDC_MAP_CALC_2NDPT_PRESS_EDIT,10,85,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_2NDPT_PRESS_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,40,85,12,14
    COMBOBOX        IDC_MAP_CALC_2NDPT_PRESS_COMBO,53,85,48,80,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_MAP_CALC_2NDPT_VOLT_EDIT,110,85,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_2NDPT_VOLT_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,140,85,12,14
    COMBOBOX        IDC_MAP_CALC_2NDPT_VOLT_COMBO,153,85,48,50,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CTEXT           "/",IDC_MAP_CALC_GRADIENT_SLASH,102,52,8,10
    CTEXT           "1-я точка на графике",IDC_STATIC,50,4,100,10
    CTEXT           "2-я точка на графике",IDC_MAP_CALC_2NDPT_CAPTION,50,74,100,10
    CTEXT           "Наклон прямой",IDC_MAP_CALC_GRADIENT_CAPTION,50,40,100,10
END

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_PD_KNOCK_RECOVERY_DELAY_UNIT "тактов"
    IDS_PD_TABNAME_STARTR_PAR "1:Запуск"
    IDS_PD_TABNAME_ANGLES_PAR "2:УОЗ"
    IDS_PD_TABNAME_IDLREG_PAR "3:ХХ"
    IDS_PD_TABNAME_FUNSET_PAR "4:Функции"
    IDS_PD_TABNAME_TEMPER_PAR "5:Температура"
    IDS_PD_TABNAME_CARBUR_PAR "6:Отсечка топл."
    IDS_PD_TABNAME_ADCCOR_PAR "7:Комп.погр.АЦП"
    IDS_PD_TABNAME_CKPS_PAR   "8:ДПКВ"
    IDS_PD_TABNAME_KNOCK_PAR  "9:Детонация"
    IDS_PD_TABNAME_MISCEL_PAR "10:Прочее"
    IDS_PD_TABNAME_CHOKE_PAR  "11:Управ.ВЗ"
    IDS_PD_TABNAME_SECUR_PAR  "Безопасность"
    IDS_PD_TABNAME_UNIOUT_PAR "Универ.выходы"
    IDS_PD_TABNAME_INJCTR_PAR "Впрыск"
    IDS_PD_TABNAME_LAMBDA_PAR "Лямбда контроль"
    IDS_PD_TABNAME_ACCEL_PAR  "Ускорение"
    IDS_PD_TABNAME_GASDOSE_PAR "Доз.газа"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_TD_LOAD_TABLES_POPUP_MENU "Загрузить из"
    IDS_TD_SAVE_TABLES_POPUP_MENU "Сохранить в"
    IDS_PD_CARBUR_EPM_ON_THRESHOLD_EDIT_TT "Порог включения клапана ЭМР (разряжение относительно т.н. верхнего давления). Клапан включается если давление превышает 'Верхн.знач.давл.' минус этот порог"
    IDS_PD_CARBUR_TPS_THRESHOLD_EDIT_TT "Порог переключения на режим ХХ по ДПДЗ. Положение дроссельной заслонки задается %. Поставьте 0, если используется концевик."
    IDS_PD_CARBUR_SHUTOFF_DELAY_EDIT_TT "Задержка выключения клапана ЭПХХ (карб.) или задержка отсечки топлива при ПХХ (впрыск)"
    IDS_PD_FUNSET_CURVE_OFFSET_EDIT_TT "Задает насколько сместить кривую чтобы она проходила через 0"
    IDS_PD_FUNSET_TPS_CURVE_OFFSET_EDIT_TT "Задает насколько сместить кривую чтобы она проходила через 0"
    IDS_PD_CHOKE_SM_TEST_CHECK_TT "Позволяет проверить работу заслонки. Заслонка выставляется в начальное положение и затем начинает полностью открываться и закрываться (пока нажата кнопка)."
    IDS_PD_CHOKE_SM_STEPS_NUM_EDIT_TT "Кол-во шагов ШД между полностью закрытым и открытым положениями ВЗ"
    IDS_PD_CHOKE_MANUAL_POS_SPIN_TT "Изменение положения ВЗ вручную. После первого нажатия на кнопку система входит в ручной режим управл. ВЗ, который будет действовать до выкл. зажигания."
    IDS_PD_FUNSET_CURVE_GRADIENT_EDIT_TT "Задает насколько будут изменяться показания при изменении напряжения на 1В."
    IDS_PD_FUNSET_TPS_CURVE_GRADIENT_EDIT_TT "Задает насколько будут изменяться показания при изменении напряжения на 1В. Поставьте 0, если используется концевик."
    IDS_PD_CHOKE_STRT_ADD_EDIT_TT "Задает на сколько % заслонка будет дополнительно прикрыта на пуске"
    IDS_PD_CHOKE_RPMREG_1STPT_EDIT_TT "Первая точка задающая зависимость оборотов прогрева от температуры. Поставьте в 0 если хотите отключить регулятор оборотов."
    IDS_PD_CHOKE_RPMREG_2NDPT_EDIT_TT "Вторая точка задающая зависимость оборотов прогрева от температуры."
    IDS_PD_CHOKE_STRT_ADD_TM_EDIT_TT "Задает время добав. пуск. закрытия. По истечении этого времени включится регулятор оборотов."
    IDS_PD_CHOKE_STRT_ADD_TMP_EDIT_TT "Температура после которой добав. пуск. закрытие не будет применяться. При температуре меньше 0 заслонка полностью закрыта."
    IDS_PD_CHOKE_RPMREG_IF_EDIT_TT "Коэффициент И-регулятора используемого для регулирования оборотов при прогреве."
    IDS_PD_GASDOSE_CORRLIMIT_P_EDIT_TT "Максимальное положительное значение лямбда коррекции на прогреве, используемое для газового дозатора"
    IDS_PD_GASDOSE_CORRLIMIT_M_EDIT_TT "Максимальное отрицательное значение лямбда коррекции на прогреве, используемое для газового дозатора"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_IO_REMAPPING_IGN_OUT1_TT "Выход зажигания 1"
    IDS_IO_REMAPPING_IGN_OUT2_TT "Выход зажигания 2"
    IDS_IO_REMAPPING_IGN_OUT3_TT "Выход зажигания 3"
    IDS_IO_REMAPPING_IGN_OUT4_TT "Выход зажигания 4"
    IDS_IO_REMAPPING_ADD_IO1_TT  "Выход зажигания 5"
    IDS_IO_REMAPPING_ADD_IO2_TT  "Выход зажигания 6"
    IDS_IO_REMAPPING_ECF_TT      "Выход управления вентилятором"
    IDS_IO_REMAPPING_ST_BLOCK_TT "Выход управления блокировкой стартера"
    IDS_IO_REMAPPING_IE_TT       "Выход управления ЭПХХ. Если переназначен для управления форсункой, то нужно поставить инверсию"
    IDS_IO_REMAPPING_FE_TT       "Выход управления ЭМР. Если переназначен для управления форсункой, то нужно поставить инверсию"
    IDS_IO_REMAPPING_PS_TT       "Вход датчика фаз (ДФ)"
    IDS_IO_REMAPPING_CE_TT       "Выход Check Engine"
    IDS_IO_REMAPPING_BL_TT       "Вход 'Bootloader' (перемычка)"
    IDS_IO_REMAPPING_DE_TT       "Вход 'Default EEPROM' (перемычка)"
    IDS_IO_REMAPPING_ADD_I1_TT   "Вход аналоговый 1"
    IDS_IO_REMAPPING_ADD_I2_TT   "Вход аналоговый 2"
    IDS_IO_REMAPPING_REF_S_TT    "Вход ДНО"
    IDS_IO_REMAPPING_GAS_V_TT    "Вход газового клапана"
    IDS_IO_REMAPPING_CKPS_TT     "Вход ДПКВ"
END

STRINGTABLE
BEGIN
    IDS_PA_UNIT     "Па"
    IDS_KPA_UNIT    "кПа"
    IDS_MMHG_UNIT   "мм рт.ст."
    IDS_BAR_UNIT    "бар"
    IDS_AT_UNIT     "ат"
    IDS_PSI_UNIT    "psi"
    IDS_MV_UNIT     "мВ"
    IDS_V_UNIT      "В"
    IDS_PD_MAP_CALC_BUTTON_TT "Калькулятор позволяет легко рассчитать параметры ДАД"
    IDS_MAP_CALC_1V_ABOVE_2V "Напряжение в 1-й точке не может быть равно или больше напряжения во 2-й точке!"
    IDS_MAP_CALC_KNOW_GRAD_CHECK_TT "Поставьте эту галочку если вам известно соотношение изменения  давления к напряжению (или напряжения к давлению)"
END

STRINGTABLE
BEGIN
    IDS_PD_SECUR_BT_APPLY_BUTTON_TT "Запись нового имени и пароля в блютуз. Изменение имени и пароля не будет работать если блютуз в состоянии online"
    IDS_PD_YES "Да"
    IDS_PD_NO  "Нет"
END


STRINGTABLE
BEGIN
    IDS_PD_IDLREG_GOAL_RPM_EDIT_TT                  "Значение оборотов ХХ, которое будет стремиться поддерживать регулятор. Карбюратор должен быть настроен на такие же обороты на прогретом двигателе с отключенной нагрузкой (фары, вентилятор охлаждения и т.д.)."
    IDS_PD_IDLREG_FACTOR_EDIT_TT                    "Коэффициент, определяющий величину и скорость реакции регулятора на отклонение оборотов от заданного значения. Слишком большое значение может приводить к колебаниям оборотов ХХ. Слишком малое значение не будет довать эффекта."
    IDS_PD_TEMPER_USE_CURVE_MAP_TT                  "Указывает что зависимость показаний от напряжения на датчике задается таблицей. При помощи таблицы систему можно настроить практически под любой датчик (как с линейной, так и с нелинейной зависимостью)."
    IDS_PD_CKPS_IGNITION_COGS_UNIT_TT               "Этот параметр используется только для обычных коммутаторов. Для BIP373, SECU-Igniters и катушек со встроенными драйверами неоходимо использовать прошивку управляющую временем накопления! (_dwell в названии файла прошивки)"
    IDS_PD_CKPS_COGS_NUM_EDIT_TT                    "Число зубьев на задающем диске, включая отсутствующие (если такие имеются)"
    IDS_PD_CKPS_MISS_NUM_EDIT_TT                    "Число отсутствующих зубьев на задающем диске. Для ДУИ+ДНО значение должно быть равно 0"
    IDS_PD_CKPS_COGS_BEFORE_TDC_COMBOBOX_TT         "Число зубьев, проходящих мимо ДПКВ (ДУИ) от метки на задающем диске до достижения ВМТ (в качестве метки выступают отсутствующие зубья (для ДПКВ) или штифт начала отсчета (для ДУИ+ДНО)."
    IDS_PD_CKPS_FRONT_GROUPBOX_TT                   "Смена фронта равноценна подключению проводов к датчику ДПКВ (ДУИ) в другом порядке"
    IDS_PD_REF_S_FRONT_GROUPBOX_TT                  "Смена фронта равноценна изменению порядка подключения проводов к датчику ДНО"
    IDS_PD_IDLREG_RESTRICTION_EDIT_TT               "Ограничение значения коррекции УОЗ формируемой регулятором ХХ. Правильно подобранное значение, позволит регулятору сохранять устойчивость."
    IDS_PD_IDLREG_DEAD_BAND_RPM_EDIT_TT             "Зона нечувствительности регулятора. Исключает чувствительность регулятора к небольшим изменениям оборотов."
    IDS_PD_IDLREG_TURN_ON_TEMP_EDIT_TT              "Температура двигателя, выше которой начнется работа регулятора (чтобы регулятор работал хотя бы на частично прогретом двигателе)"
    IDS_PD_FUNSET_GAS_MAPS_COMBO_TT                 "Набор таблиц используемый для газа. Первые 4 набора таблиц хранятся в прошивке, последний 5-й набор в EEPROM (доступный для редактирования в онлайне)."
    IDS_PD_FUNSET_BENZIN_MAPS_COMBO_TT              "Набор таблиц используемый для бензина. Первые 4 набора таблиц хранятся в прошивке, последний 5-й набор в EEPROM (доступный для редактирования в онлайне)."
    IDS_PD_FUNSET_PRESS_SWING_EDIT_TT               "Значение давления на впуске, соответствующее максимальной нагрузке (16-я кривая в рабочей таблице УОЗ или впрыска). Определить можно следующим образом. Трогаемся на высокой передаче, резко нажимаем педаль газа и смотрим давление."
    IDS_PD_FUNSET_MAP_GRAD_EDIT_TT                  "Значение давления на впуске, соответствующее минимальной нагрузке (1-я кривая в рабочей таблице УОЗ или впрыска). Определить можно на ПХХ. Разгоняемся, бросаем газ и смотрим значение давления."
    IDS_PD_TEMPER_USE_TEMP_SENSOR_TT                "Включение ДТОЖ. Установите эту галочку если Вы используете ДТОЖ и он подключен. Если галочка не установлена, то работа некоторых функций, связанных с температурой двигателя будет ограничена."
    IDS_PD_TEMPER_USE_VENT_PWM_TT                   "Установите эту галочку если Вы собираетесь управлять оборотами вентилятора при помощи ШИМ (с использованием блока SECU-FAN-PWM). Когда температура двигателя приблизится к порогу включения вентилятора ближе чем на 7.5°С, вентилятор включится на минимальные обороты. По мере увеличения температуры обороты будут возрастать, пока не будет достигнута точка равновесия."
    IDS_PD_CKPS_MERGE_IGN_OUTPUTS_TT                "Если установить эту галочку, то импульсы зажигания будут выдаваться только на выход IGN_OUT1. Используется при распределении искры трамблером"
    IDS_PD_ANGLES_MIN_ANGLE_EDIT_TT                 "Нижний порог ограничения УОЗ формируемого системой. Данное ограничение накладывается в самом конце, после всех вычислений."
    IDS_PD_ANGLES_MAX_ANGLE_EDIT_TT                 "Верхний порог ограничения УОЗ формируемого системой. Данное ограничение накладывается в самом конце, после всех вычислений."
    IDS_PD_ANGLES_ZEROAA_CHECK_TT                   "Используется для настройки (например для контроля начального угла стробоскопом). Установите эту галочку, если хотите чтобы УОЗ был равен нулю независимо от настроек системы."
    IDS_PD_IDLREG_USE_REGULATOR_TT                  "Разрешает регулирование оборотов ХХ используя УОЗ. Рекомендуется в начале настроить карбюратор, таблицы УОЗ и только потом включать регулятор ХХ."
    IDS_PD_TEMPER_VENT_OFF_THRESHOLD_EDIT_TT        "Вентилятор выключится если температура упадет ниже данного порога"
    IDS_PD_TEMPER_VENT_ON_THRESHOLD_EDIT_TT         "Вентилятор включится если температура превысит данный порог"
    IDS_PD_ADCCOMPEN_FACTOR_TT                      "Подберите значение этого коэффициента для компенсации погрешности измерения. Для контроля используйте галочку 'Показывать сырые значения датчиков' и сравнивайте показания с точным вольтметром, подключенным к датчику."
    IDS_PD_ADCCOMPEN_CORRECTION_TT                  "Используйте если вам нужно сдвинуть напряжение вверх или вниз. Скорее всего у вас не возникнет необходимость менять этот параметр."
    IDS_PD_MISC_IGNCUTOFF_CHECK_TT                  "Отсечка зажигания (используйте осторожно!). Выдача импульсов зажигания будет прекращена при превышении заданных оборотов."
    IDS_PD_CARBUR_SHUTOFF_THRESHOLD_LO_TT           "Нижний порог оборотов ЭПХХ. Должен быть меньше чем верхний порог. Чем меньше значение тем больше экономия топлива при ПХХ, Опытным путем установите минималное значение при котором двигатель не захлебывается и не глохнет после сброса газа."
    IDS_PD_CARBUR_SHUTOFF_THRESHOLD_HI_TT           "Верхний порог оборотов ЭПХХ. Должен быть больше чем нижний порог. Чем меньше значения тем больше экономия топлива при ПХХ. Опытным путем установите минималное значение при котором двигатель не захлебывается и не глохнет после сброса газа."
    IDS_PD_CARBUR_INVERSE_SWITCH_TT                 "Установите галочку инверсии так, чтобы при отпущенной педали газа желтый индикатор 'ДПДЗ' на вкладке 'Параметры и монитор' был черного цвета, а при нажатии на педаль загорался желтым цветом."
END

STRINGTABLE
BEGIN
    IDS_UNIOUT_COND_CTS    "ДТОЖ (°C)"
    IDS_UNIOUT_COND_RPM    "Обороты (мин-1)"
    IDS_UNIOUT_COND_MAP    "ДАД (кПа)"
    IDS_UNIOUT_COND_UBAT   "Напряжение (В)"
    IDS_UNIOUT_COND_CARB   "Концев.карб. (логич.)"
    IDS_UNIOUT_COND_VSPD   "Скорость (км/ч)"
    IDS_UNIOUT_COND_AIRFL  "Расх.воздуха (0...16)"
    IDS_UNIOUT_COND_TMR    "Таймер по 1 условию (сек.)"
    IDS_UNIOUT_COND_ITTMR  "Таймер по вкл.зажиг.(сек)"
    IDS_UNIOUT_COND_ESTMR  "Таймер по вкл.двиг.(сек)"
    IDS_UNIOUT_COND_CPOS   "Положение ВЗ/РХХ (%)"
    IDS_UNIOUT_COND_AANG   "УОЗ (°КВ)"
    IDS_UNIOUT_COND_KLEV   "Детонация (В)"
    IDS_UNIOUT_COND_TPS    "ДПДЗ (%)"
    IDS_UNIOUT_COND_ATS    "ДТВ (°C)"
    IDS_UNIOUT_COND_AI1    "Аналогов.вход 1(В)"
    IDS_UNIOUT_COND_AI2    "Аналогов.вход 2(В)"
    IDS_UNIOUT_COND_GASV   "Газовый клапан (логич.)"
    IDS_UNIOUT_COND_IPW    "Длит.впрыска (мс)"
    IDS_UNIOUT_COND_CE     "Состояние CE"
    IDS_UNIOUT_COND_OFTMR  "Таймер по вкл./выкл. 1 усл. (сек)"

    IDS_UNIOUT_LF_OR       "ИЛИ"
    IDS_UNIOUT_LF_AND      "И"
    IDS_UNIOUT_LF_XOR      "Искл.ИЛИ"
    IDS_UNIOUT_LF_2ND      "2-е условие"
    IDS_UNIOUT_LF_NONE     "Отсутствует"

    IDS_PD_UNIOUT_COND_ON_EDIT_DEF_TT "Порог включения"
    IDS_PD_UNIOUT_COND_OFF_EDIT_DEF_TT "Порог выключения"
    IDS_PD_UNIOUT_COND_TMR_OFF_EDIT_TT "Время выключения. Поставьте максимальное значение если хотите чтобы выключение не производилось"
    IDS_PD_UNIOUT_LOGFUN_COMBO_TT "Логическая функция. Связывает между собой два условия для получения состояния соответствующего выхода"
    IDS_PD_UNIOUT_12_LOGFUN_COMBO_TT "Логическая функция. Позволяет связать между собой 1-й и 2-й выходы (таким образом можно получить до 4-х условий). Значение устанавливается на первом выходе. Если функция не выбрана, то 1 и 2 выходы работают в обычном режиме."
END

STRINGTABLE
BEGIN
    IDS_PD_KNOCK_BEGIN_KWND_EDIT_TT  "Момент относительно ВМТ когда система начинает слушать детонацию"
    IDS_PD_KNOCK_END_KWND_EDIT_TT    "Момент относительно ВМТ когда система заканчивает слушать детонацию"
    IDS_PD_KNOCK_BPF_FREQ_COMBO_TT   "Частота, которую будет слушать система. Выберите ближайшую частоту"
    IDS_PD_KNOCK_INT_TIME_CONST_COMBO_TT "Постоянная времени интегратора, влияет на амплитуду выходного сигнала."
    IDS_PD_KNOCK_RETARD_STEP_EDIT_TT "Шаг смещения УОЗ. Всякий раз при обнаружении детонации УОЗ уменьшается на эту величину"
    IDS_PD_KNOCK_ADVANCE_STEP_EDIT_TT "Шаг восстановления УОЗ. При отсутствии детонации УОЗ увеличивается на эту величину с периодом равным задержке восстановл. УОЗ."
    IDS_PD_KNOCK_MAX_RETARD_EDIT_TT "Максимальное смещение УОЗ при детонации"
    IDS_PD_KNOCK_THRESHOLD_EDIT_TT   "Если напряжение превысит этот порог, то считается что детонация наступила"
    IDS_PD_KNOCK_RECOVERY_DELAY_EDIT_TT "Задержка восстановления УОЗ в тактах двигателя"
END

STRINGTABLE
BEGIN
    IDS_PD_LAMBDA_STRPERSTP_EDIT_TT "Количество тактов двигателя на один шаг коррекции"
    IDS_PD_INJECTOR_SQUIRTNUM_COMBO_TT "Сколько раз впрыскивается топливо (число событий впрыска за цикл), не зависит от числа каналов и форсунок."
END

STRINGTABLE
BEGIN
    IDS_PD_INJECTOR_CYLDISP_EDIT_TT "Объем двигателя (Литры)"
    IDS_INJ_CFG_THROTTLEBODY        "Моновпрыск"
    IDS_INJ_CFG_SIMULTANEOUSLY      "Одновременный"
    IDS_INJ_CFG_2BANK_ALTERN        "2 Банка Попер."
    IDS_INJ_CFG_SEMISEQUENTIAL      "Попарно-паралл."
    IDS_INJ_CFG_FULLSEQUENTIAL      "Распределенный"
END

STRINGTABLE
BEGIN
    IDS_PD_ACCELENR_TPSTHRD_EDIT_TT "Порог включения обогащения по ДПДЗ. Чем выше значение, тем резче нужно нажать на педаль газа для активации обогащения."
    IDS_PD_INJECTOR_TIMING_EDIT_TT "Указывает при каком угле поворота КВ (в градусах до ВМТ) система должна начинать впрыск. Данный параметр будет иметь эффект только при синхронизации от ДПКВ"
    IDS_PD_LOAD_OPT_TPS            "ДПДЗ"
    IDS_PD_LOAD_OPT_MAP            "ДАД"
END

/////////////////////////////////////////////////////////////////////////////
// English (U.S.) resources

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//
// Dialog
//

IDD_PARAMETERS_DESK DIALOGEX 0, 0, 184, 191
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_STATICEDGE
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Save",IDC_PD_SAVE_BUTTON,5,2,41,12
    CONTROL         "Tab1",IDC_PD_TAB_CTRL,"SysTabControl32",
                    TCS_OWNERDRAWFIXED | WS_TABSTOP,4,17,175,166
    CTEXT           "",IDC_PARAMETERS_DESK_TITLE,48,2,116,11
END

IDD_PARAMETERS_DESK_FLOATING DIALOGEX 0, 0, 187, 191
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_GROUP
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Parameters"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Save",IDC_PD_SAVE_BUTTON,5,2,41,12
    CONTROL         "Tab1",IDC_PD_TAB_CTRL,"SysTabControl32",
                    TCS_OWNERDRAWFIXED | WS_TABSTOP,4,17,175,166
    CTEXT           "",IDC_PARAMETERS_DESK_TITLE,48,2,116,11
END

IDD_TABLES_DESK DIALOGEX 0, 0, 184, 191
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_STATICEDGE
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Save",IDC_TD_SAVE_BUTTON,5,2,41,12
    CTEXT           "",IDC_TABLES_DESK_TITLE,48,2,116,11
    CONTROL         "",IDC_TD_BUTTONS_PANEL_HOLDER,"Static",SS_BLACKFRAME | NOT WS_VISIBLE,22,50,120,108
    EDITTEXT        IDC_TD_TABLESSET_NAME_EDIT,19,29,115,16,ES_AUTOHSCROLL
    CTEXT           "Tables set name:",IDC_TD_TABLESSET_NAME_TITLE,19,19,114,10
    CTEXT           "",IDC_TD_MODIFICATION_FLAG,139,35,11,10
END

IDD_TABLES_DESK_FLOATING DIALOGEX 0, 0, 187, 191
STYLE WS_POPUP | WS_CAPTION | WS_SYSMENU | WS_GROUP
EXSTYLE WS_EX_CONTROLPARENT
CAPTION "Edit tables"
FONT 8, "MS Sans Serif"
BEGIN
    PUSHBUTTON      "Save",IDC_TD_SAVE_BUTTON,5,2,41,12
    CTEXT           "",IDC_TABLES_DESK_TITLE,48,2,116,11
    CONTROL         "",IDC_TD_BUTTONS_PANEL_HOLDER,"Static",SS_BLACKFRAME | NOT WS_VISIBLE,22,50,120,108
    EDITTEXT        IDC_TD_TABLESSET_NAME_EDIT,19,29,115,16,ES_AUTOHSCROLL
    CTEXT           "Tables set name:",IDC_TD_TABLESSET_NAME_TITLE,19,19,114,10
    CTEXT           "",IDC_TD_MODIFICATION_FLAG,139,35,11,10
END

IDD_PD_STARTER_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_STARTER_OFF_RPM_EDIT,98,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_OFF_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,10,13,17
    LTEXT           "Starter blocking RPM",IDC_PD_STARTER_OFF_RPM_CAPTION,3,11,94,10
    LTEXT           "min-1",IDC_PD_STARTER_OFF_RPM_UNIT,146,11,30,10

    EDITTEXT        IDC_PD_STARTER_SMAP_ABANDON_RPM_EDIT,98,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_SMAP_ABANDON_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,30,13,17
    LTEXT           "Switch from cranking ignition map RPM",IDC_PD_STARTER_SMAP_ABANDON_RPM_CAPTION,3,31,94,16
    LTEXT           "min-1",IDC_PD_STARTER_SMAP_ABANDON_RPM_UNIT,146,31,30,10

    EDITTEXT        IDC_PD_STARTER_CRANKTORUNTIME_EDIT,98,50,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_CRANKTORUNTIME_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,50,13,17
    LTEXT           "Time for going from crank to run position for IAC",IDC_PD_STARTER_CRANKTORUNTIME_CAPTION,3,51,94,20
    LTEXT           "sec.",IDC_PD_STARTER_CRANKTORUNTIME_UNIT,146,51,30,10

    EDITTEXT        IDC_PD_STARTER_AFTSTRSTR_EDIT,98,70,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_AFTSTRSTR_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,70,13,17
    LTEXT           "Afterstart enrichment time in strokes",IDC_PD_STARTER_AFTSTRSTR_CAPTION,3,71,94,20
    LTEXT           "num",IDC_PD_STARTER_AFTSTRSTR_UNIT,146,71,30,10

    EDITTEXT        IDC_PD_STARTER_PRIMECOLD_EDIT,98,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_PRIMECOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,90,13,17
    LTEXT           "Prime pulse width at -30°C",IDC_PD_STARTER_PRIMECOLD_CAPTION,3,91,94,20
    LTEXT           "ms",IDC_PD_STARTER_PRIMECOLD_UNIT,146,91,30,10

    EDITTEXT        IDC_PD_STARTER_PRIMEHOT_EDIT,98,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_PRIMEHOT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,110,13,17
    LTEXT           "Prime pulse width at 70°C",IDC_PD_STARTER_PRIMEHOT_CAPTION,3,111,94,20
    LTEXT           "ms",IDC_PD_STARTER_PRIMEHOT_UNIT,146,111,30,10

    EDITTEXT        IDC_PD_STARTER_PRIMEDELAY_EDIT,98,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_STARTER_PRIMEDELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,130,13,17
    LTEXT           "Prime pulse delay",IDC_PD_STARTER_PRIMEDELAY_CAPTION,3,131,94,20
    LTEXT           "sec",IDC_PD_STARTER_PRIMEDELAY_UNIT,146,131,30,10
END

IDD_PD_ANGLES_PAGE DIALOGEX 0, 0, 175, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_ANGLES_MIN_ANGLE_EDIT,12,25,29,15,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_ANGLES_MAX_ANGLE_EDIT,91,26,28,15,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_ANGLES_DECREASE_SPEAD_EDIT,12,73,29,15,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_ANGLES_INCREASE_SPEAD_EDIT,91,74,28,15,ES_AUTOHSCROLL
    CONTROL         "Zero adv. angle (useful for check-out)",
                    IDC_PD_ANGLES_ZEROAA_CHECK,"Button",BS_AUTOCHECKBOX | 
                    BS_MULTILINE | WS_TABSTOP,7,109,61,23
    EDITTEXT        IDC_PD_ANGLES_CORRECTION_EDIT,76,118,47,15,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ANGLES_MIN_ANGLE_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,45,24,11,16
    CONTROL         "",IDC_PD_ANGLES_MAX_ANGLE_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,124,24,11,17
    CONTROL         "",IDC_PD_ANGLES_CORRECTION_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,127,117,12,16
    LTEXT           "Min. advance angle",IDC_PD_ANGLES_MIN_ANGLE_CAPTION,9,14,72,9
    LTEXT           "Max. advance angle",IDC_PD_ANGLES_MAX_ANGLE_CAPTION,87,14,74,9
    LTEXT           "Octane correction",IDC_PD_ANGLES_CORRECTION_CAPTION,75,106,90,10
    LTEXT           "degr.",IDC_PD_ANGLES_MIN_ANGLE_UNIT,60,25,20,11
    LTEXT           "degr.",IDC_PD_ANGLES_MAX_ANGLE_UNIT,138,26,20,11
    LTEXT           "degr.",IDC_PD_ANGLES_CORRECTION_UNIT,145,120,26,11
    CONTROL         "",IDC_PD_ANGLES_DECREASE_SPEAD_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,45,72,11,16
    CONTROL         "",IDC_PD_ANGLES_INCREASE_SPEAD_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,124,72,11,17
    LTEXT           "Decrease",IDC_PD_ANGLES_DECREASE_SPEAD_CAPTION,9,60,72,9
    LTEXT           "Increase",IDC_PD_ANGLES_INCREASE_SPEAD_CAPTION,87,60,74,9
    LTEXT           "degr./ stroke",IDC_PD_ANGLES_DECREASE_SPEAD_UNIT,60,71,22,16
    LTEXT           "degr./ stroke",IDC_PD_ANGLES_INCREASE_SPEAD_UNIT,137,72,21,16
    GROUPBOX        "Limitation of angle change speed",
                    IDC_PD_ANGLES_ANGLE_SPEAD_GROUP,5,48,158,51
END

IDD_PD_FUNSET_PAGE DIALOGEX 0, 0, 177, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Tuning press. axis of work map",IDC_PD_FUNSET_PRESS_AXIS_PAR_GROUP,3,1,155,39

    EDITTEXT        IDC_PD_FUNSET_MAP_GRAD_EDIT,11,20,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_MAP_GRAD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,48,19,11,16
    LTEXT           "Lower press. value",IDC_PD_FUNSET_MAP_GRAD_CAPTION,9,10,63,8
    LTEXT           "kPa",IDC_PD_FUNSET_MAP_GRAD_UNIT,63,22,17,11

    EDITTEXT        IDC_PD_FUNSET_PRESS_SWING_EDIT,88,20,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_PRESS_SWING_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,125,19,11,16
    LTEXT           "Upper press. value",IDC_PD_FUNSET_PRESS_SWING_CAPTION,86,10,66,8
    LTEXT           "kPa",IDC_PD_FUNSET_PRESS_SWING_UNIT,140,22,17,10

    GROUPBOX        "MAP sensor tuning",IDC_PD_FUNSET_MAP_SENSOR_GROUP,3,41,155,39

    EDITTEXT        IDC_PD_FUNSET_CURVE_OFFSET_EDIT,11,60,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_CURVE_OFFSET_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,42,59,11,16
    LTEXT           "Curve offset",IDC_PD_FUNSET_CURVE_OFFSET_CAPTION,8,50,63,8
    LTEXT           "V",IDC_PD_FUNSET_CURVE_OFFSET_UNIT,55,63,12,10

    EDITTEXT        IDC_PD_FUNSET_CURVE_GRADIENT_EDIT,75,60,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_CURVE_GRADIENT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,105,59,11,16
    LTEXT           "Curve gradient",IDC_PD_FUNSET_CURVE_GRADIENT_CAPTION,75,50,66,8
    LTEXT           "kPa/V",IDC_PD_FUNSET_CURVE_GRADIENT_UNIT,118,63,25,11

    CONTROL         "",IDC_PD_MAP_CALC_BUTTON,"Button",BS_OWNERDRAW | BS_BITMAP | WS_TABSTOP,142,60,16,18

    LTEXT           "Maps set for gasoline",IDC_PD_FUNSET_BENZIN_MAPS_COMBO_CAPTION,2,83,83,8
    COMBOBOX        IDC_PD_FUNSET_BENZIN_MAPS_COMBO,74,83,84,82,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP

    LTEXT           "Maps set for gas",IDC_PD_FUNSET_GAS_MAPS_COMBO_CAPTION,2,100,83,8
    COMBOBOX        IDC_PD_FUNSET_GAS_MAPS_COMBO,74,100,84,87,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP

    GROUPBOX        "TPS tuning",IDC_PD_FUNSET_TPS_SENSOR_GROUP,3,113,155,39

    EDITTEXT        IDC_PD_FUNSET_TPS_CURVE_OFFSET_EDIT,11,132,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_TPS_CURVE_OFFSET_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,48,131,11,16
    LTEXT           "Curve offset",IDC_PD_FUNSET_TPS_CURVE_OFFSET_CAPTION,8,122,63,8
    LTEXT           "V",IDC_PD_FUNSET_TPS_CURVE_OFFSET_UNIT,63,135,12,10

    EDITTEXT        IDC_PD_FUNSET_TPS_CURVE_GRADIENT_EDIT,86,132,35,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_FUNSET_TPS_CURVE_GRADIENT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,123,131,11,16
    LTEXT           "Curve gradient",IDC_PD_FUNSET_TPS_CURVE_GRADIENT_CAPTION,86,122,66,8
    LTEXT           "%/V",IDC_PD_FUNSET_TPS_CURVE_GRADIENT_UNIT,138,135,19,11

    LTEXT           "Load measurement:",IDC_PD_FUNSET_LOAD_SRC_COMBO_CAPTION,2,162,83,8
    COMBOBOX        IDC_PD_FUNSET_LOAD_SRC_COMBO,85,160,50,82,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
END

IDD_PD_IDLREG_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_IDLREG_FACTOR_NEG_EDIT,15,17,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_FACTOR_POS_EDIT,88,17,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_RESTRICTION_MIN_EDIT,15,50,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_RESTRICTION_MAX_EDIT,88,50,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_GOAL_RPM_EDIT,15,90,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_DEAD_BAND_RPM_EDIT,88,90,30,18,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_IDLREG_TURN_ON_TEMP_EDIT,26,116,30,18,ES_AUTOHSCROLL

    CONTROL         "",IDC_PD_IDLREG_FACTOR_NEG_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,47,17,11,16
    CONTROL         "",IDC_PD_IDLREG_FACTOR_POS_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,120,17,11,16
    CONTROL         "",IDC_PD_IDLREG_RESTRICTION_MIN_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,47,50,11,16
    CONTROL         "",IDC_PD_IDLREG_RESTRICTION_MAX_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,120,50,11,16
    CONTROL         "",IDC_PD_IDLREG_GOAL_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,47,90,11,16
    CONTROL         "",IDC_PD_IDLREG_DEAD_BAND_RPM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,120,90,11,16
    CONTROL         "",IDC_PD_IDLREG_TURN_ON_TEMP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,58,116,11,16
    CONTROL         "Use regulator",IDC_PD_IDLREG_USE_REGULATOR,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,138,104,12

    LTEXT           "Regulator's factors",IDC_PD_IDLREG_FACTORS_CAPTION,23,5,113,9
    LTEXT           "Regulation limits",IDC_PD_IDLREG_RESTRICTIONS_CAPTION,28,38,113,9
    LTEXT           "Goal RPM",IDC_PD_IDLREG_GOAL_RPM_CAPTION,15,76,70,11
    LTEXT           "Dead band of RPM ",IDC_PD_IDLREG_DEAD_BAND_RPM_CAPTION,88,76,70,11
    LTEXT           "_",IDC_PD_IDLREG_FACTOR_NEG_CAPTION,63,16,13,17
    LTEXT           "+",IDC_PD_IDLREG_FACTOR_POS_CAPTION,135,19,13,17
    LTEXT           "min.",IDC_PD_IDLREG_RESTRICTION_MIN_CAPTION,61,52,19,17
    LTEXT           "max.",IDC_PD_IDLREG_RESTRICTION_MAX_CAPTION,133,52,20,17
    LTEXT           "min-1",IDC_PD_IDLREG_GOAL_RPM_UNIT,61,92,25,13
    LTEXT           "min-1",IDC_PD_IDLREG_DEAD_BAND_RPM_UNIT,133,92,25,13
    LTEXT           "Regulator turn on temperature, °C",IDC_PD_IDLREG_TURN_ON_TEMP_UNIT,75,117,70,18

    CONTROL         "Use regulator on gas fuel",IDC_PD_IDLREG_USE_ONGAS,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,26,152,120,12
END

IDD_PD_CARBUR_PAGE DIALOGEX 0, 0, 175, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_EDIT,96,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,10,13,17
    LTEXT           "Idle cutoff lower thrd",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_CAPTION,1,11,94,10
    LTEXT           "min-1",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_UNIT,143,11,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_EDIT,96,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,30,13,17
    LTEXT           "Idle cutoff upper thrd",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_CAPTION,1,31,94,10
    LTEXT           "min-1",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_UNIT,143,31,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_EDIT_G,96,50,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_SPIN_G,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,50,13,17
    LTEXT           "Idle cutoff lower thrd(gas)",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_CAPTION_G,1,51,94,10
    LTEXT           "min-1",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_UNIT_G,143,51,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_EDIT_G,96,70,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_SPIN_G,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,70,13,17
    LTEXT           "Idle cutoff upper thrd(gas)",IDC_PD_CARBUR_SHUTOFF_HI_THRESHOLD_CAPTION_G,1,71,94,10
    LTEXT           "min-1",IDC_PD_CARBUR_SHUTOFF_LO_THRESHOLD_UNIT_G,143,71,30,10

    EDITTEXT        IDC_PD_CARBUR_SHUTOFF_DELAY_EDIT,96,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_SHUTOFF_DELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,90,13,17
    LTEXT           "Cutoff delay",IDC_PD_CARBUR_SHUTOFF_DELAY_CAPTION,1,91,94,10
    LTEXT           "sec",IDC_PD_CARBUR_SHUTOFF_DELAY_UNIT,144,91,30,10

    EDITTEXT        IDC_PD_CARBUR_EPM_ON_THRESHOLD_EDIT,96,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_EPM_ON_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,110,13,17
    LTEXT           "Power valve turn on thrd",IDC_PD_CARBUR_EPM_ON_THRESHOLD_CAPTION,1,111,94,10
    LTEXT           "dis. kPa",IDC_PD_CARBUR_EPM_ON_THRESHOLD_UNIT,143,111,20,20, NOT WS_GROUP

    EDITTEXT        IDC_PD_CARBUR_TPS_THRESHOLD_EDIT,96,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_TPS_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,130,13,17
    LTEXT           "TPS threshold",IDC_PD_CARBUR_TPS_THRESHOLD_CAPTION,1,131,94,10
    LTEXT           "%",IDC_PD_CARBUR_TPS_THRESHOLD_UNIT,144,131,30,10

    CONTROL         "Inversion of throttle position switch",IDC_PD_CARBUR_INVERSE_SWITCH,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP | BS_LEFTTEXT,1,150,115,15

    EDITTEXT        IDC_PD_CARBUR_FC_MAP_THRD_EDIT,96,170,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_FC_MAP_THRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,170,13,17
    LTEXT           "Fuel cut MAP threshold",IDC_PD_CARBUR_FC_MAP_THRD_CAPTION,1,171,94,10
    LTEXT           "kPa",IDC_PD_CARBUR_FC_MAP_THRD_UNIT,144,171,30,10

    EDITTEXT        IDC_PD_CARBUR_FC_CTS_THRD_EDIT,96,190,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_FC_CTS_THRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,190,13,17
    LTEXT           "Fuel cut CTS threshold",IDC_PD_CARBUR_FC_CTS_THRD_CAPTION,1,191,94,10
    LTEXT           "°C",IDC_PD_CARBUR_FC_CTS_THRD_UNIT,144,191,30,10

    EDITTEXT        IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_EDIT,96,210,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,210,13,17
    LTEXT           "Rev.limitting lower threshold",IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_CAPTION,1,211,94,10
    LTEXT           "min-1",IDC_PD_CARBUR_REVLIM_LO_THRESHOLD_UNIT,143,211,30,10

    EDITTEXT        IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_EDIT,96,230,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,230,13,17
    LTEXT           "Rev.limitting upper threshold",IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_CAPTION,1,231,94,10
    LTEXT           "min-1",IDC_PD_CARBUR_REVLIM_HI_THRESHOLD_UNIT,143,231,30,10
END

IDD_PD_TEMPER_PAGE DIALOGEX 0, 0, 168, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_TEMPER_VENT_ON_THRESHOLD_EDIT,12,30,35,19,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_TEMPER_VENT_OFF_THRESHOLD_EDIT,91,30,35,19,ES_AUTOHSCROLL
    CONTROL         "Use coolant temperature sensor",IDC_PD_TEMPER_USE_TEMP_SENSOR,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,28,54,116,27
    CONTROL         "Control cooling fan using PWM",IDC_PD_TEMPER_USE_VENT_PWM,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,28,78,116,27
    CONTROL         "Use table to define sensor's curve",IDC_PD_TEMPER_USE_CURVE_MAP,"Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,28,100,116,27
    LTEXT           "Ventilator turn on threshold",IDC_PD_TEMPER_VENT_ON_THRESHOLD_CAPTION,11,10,74,17
    LTEXT           "Ventilator turn off threshold",IDC_PD_TEMPER_VENT_OFF_THRESHOLD_CAPTION,91,10,72,17
    CONTROL         "",IDC_PD_TEMPER_VENT_ON_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,50,30,14,19
    CONTROL         "",IDC_PD_TEMPER_VENT_OFF_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,129,30,14,19
    LTEXT           "°C",IDC_PD_TEMPER_VENT_ON_THRESHOLD_UNIT,68,33,16,14
    LTEXT           "°C",IDC_PD_TEMPER_VENT_OFF_THRESHOLD_UNIT,147,33,15,14
    EDITTEXT        IDC_PD_TEMPER_PWM_FRQ_EDIT,98,128,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_TEMPER_PWM_FRQ_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,128,13,17
    LTEXT           "PWM frequency",IDC_PD_TEMPER_PWM_FRQ_CAPTION,3,129,94,10
    LTEXT           "Hz",IDC_PD_TEMPER_PWM_FRQ_UNIT,146,129,30,10
END

IDD_PD_ADCCOMPEN_PAGE DIALOGEX 0, 0, 175, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_ADCCOMPEN_MAP_FACTOR_EDIT,37,12,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_MAP_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,12,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_MAP_CORRECTION_EDIT,106,12,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_MAP_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,11,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_UBAT_FACTOR_EDIT,37,34,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_UBAT_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,34,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_UBAT_CORRECTION_EDIT,106,34,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_UBAT_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,34,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TEMP_FACTOR_EDIT,37,56,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TEMP_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,56,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TEMP_CORRECTION_EDIT,106,56,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TEMP_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,56,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TPS_FACTOR_EDIT,37,78,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TPS_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,78,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_TPS_CORRECTION_EDIT,106,78,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_TPS_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,77,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I1_FACTOR_EDIT,37,100,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I1_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,100,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I1_CORRECTION_EDIT,106,100,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I1_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,100,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I2_FACTOR_EDIT,37,122,27,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I2_FACTOR_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,65,122,11,16
    EDITTEXT        IDC_PD_ADCCOMPEN_ADD_I2_CORRECTION_EDIT,106,122,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ADCCOMPEN_ADD_I2_CORRECTION_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,137,122,11,16
    CTEXT           "MAP",IDC_PD_ADCCOMPEN_MAP_CAPTION,1,14,32,11
    LTEXT           "factor",IDC_PD_ADCCOMPEN_MAP_FACTOR_UNIT,78,14,25,12
    LTEXT           "corr. (V)",IDC_PD_ADCCOMPEN_MAP_CORRECTION_UNIT,151,11,23,20
    CTEXT           "Voltage",IDC_PD_ADCCOMPEN_UBAT_CAPTION,1,36,32,11
    LTEXT           "factor",IDC_PD_ADCCOMPEN_UBAT_FACTOR_UNIT,78,36,25,12
    LTEXT           "corr. (V)",IDC_PD_ADCCOMPEN_UBAT_CORRECTION_UNIT,151,33,23,19
    CTEXT           "CTS",IDC_PD_ADCCOMPEN_TEMP_CAPTION,1,59,32,11
    LTEXT           "factor",IDC_PD_ADCCOMPEN_TEMP_FACTOR_UNIT,78,59,25,12
    LTEXT           "corr. (V)",IDC_PD_ADCCOMPEN_TEMP_CORRECTION_UNIT,151,54,23,18
    CTEXT           "TPS",IDC_PD_ADCCOMPEN_TPS_CAPTION,1,80,32,11
    LTEXT           "factor",IDC_PD_ADCCOMPEN_TPS_FACTOR_UNIT,78,80,25,12
    LTEXT           "corr. (V)",IDC_PD_ADCCOMPEN_TPS_CORRECTION_UNIT,151,76,23,20
    CTEXT           "ADD_I1",IDC_PD_ADCCOMPEN_ADD_I1_CAPTION,1,102,32,11
    LTEXT           "factor",IDC_PD_ADCCOMPEN_ADD_I1_FACTOR_UNIT,78,102,25,12
    LTEXT           "corr. (V)",IDC_PD_ADCCOMPEN_ADD_I1_CORRECTION_UNIT,151,99,23,19
    CTEXT           "ADD_I2",IDC_PD_ADCCOMPEN_ADD_I2_CAPTION,1,125,32,11
    LTEXT           "factor",IDC_PD_ADCCOMPEN_ADD_I2_FACTOR_UNIT,78,125,25,12
    LTEXT           "corr. (V)",IDC_PD_ADCCOMPEN_ADD_I2_CORRECTION_UNIT,151,120,23,18
END

IDD_PD_CKPS_PAGE DIALOGEX 0, 0, 183, 150
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "Falling",IDC_PD_CKPS_NEGFRONT_RADIOBOX,"Button",
                    BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,15,14,49,10
    CONTROL         "Rising",IDC_PD_CKPS_POSFRONT_RADIOBOX,"Button",
                    BS_AUTORADIOBUTTON | WS_TABSTOP,15,28,41,10
    GROUPBOX        "CKPS edge",IDC_PD_CKPS_FRONT_GROUPBOX,9,3,59,39
    CONTROL         "Falling",IDC_PD_REF_S_NEGFRONT_RADIOBOX,"Button",BS_AUTORADIOBUTTON | WS_GROUP | WS_TABSTOP,93,14,48,10
    CONTROL         "Rising",IDC_PD_REF_S_POSFRONT_RADIOBOX,"Button",BS_AUTORADIOBUTTON | WS_TABSTOP,93,28,41,10
    GROUPBOX        "REF_S edge",IDC_PD_REF_S_FRONT_GROUPBOX,87,3,59,39
    CONTROL         "Merge signals to single output",
                    IDC_PD_CKPS_MERGE_IGN_OUTPUTS,"Button",BS_AUTOCHECKBOX | 
                    BS_MULTILINE | WS_TABSTOP,16,54,148,12
    EDITTEXT        IDC_PD_CKPS_COGS_NUM_EDIT,9,70,25,16,ES_AUTOHSCROLL
    LTEXT           "Number of wheel's teeth",IDC_PD_CKPS_COGS_NUM_UNIT,50,65,39,25,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_COGS_NUM_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,36,70,11,16
    EDITTEXT        IDC_PD_CKPS_MISS_NUM_EDIT,93,70,25,16,ES_AUTOHSCROLL
    LTEXT           "Number of missing teeth",IDC_PD_CKPS_MISS_NUM_UNIT,133,65,36,24,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_MISS_NUM_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,119,70,11,16
    COMBOBOX        IDC_PD_CKPS_COGS_BEFORE_TDC_COMBOBOX,9,109,47,71,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Num. of teeth before t.d.c.",
                    IDC_PD_CKPS_COGS_BEFORE_TDC_CAPTION,9,91,55,17,NOT WS_GROUP
    COMBOBOX        IDC_PD_CKPS_ENGINE_CYL_COMBOBOX,93,110,43,71,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Number of engine cylinders",
                    IDC_PD_CKPS_ENGINE_CYL_CAPTION,93,91,76,17,NOT WS_GROUP
    EDITTEXT        IDC_PD_CKPS_IGNITION_COGS_EDIT,9,129,34,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_CKPS_HALL_WND_WIDTH_EDIT,9,129,34,16,ES_AUTOHSCROLL
    LTEXT           "Duration of igniter's driver pulse in teeth of wheel",
                    IDC_PD_CKPS_IGNITION_COGS_UNIT,61,128,92,20,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_IGNITION_COGS_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,44,129,11,16
    LTEXT           "Hall sensor interrupter's window width in CS degrees",
                    IDC_PD_CKPS_HALL_WND_WIDTH_UNIT,61,128,92,20,NOT WS_GROUP
    CONTROL         "",IDC_PD_CKPS_HALL_WND_WIDTH_SPIN,"msctls_updown32",
                    UDS_ARROWKEYS | UDS_HOTTRACK,44,129,11,16
END

IDD_PD_KNOCK_PAGE DIALOGEX 0, 0, 174, 148
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    COMBOBOX        IDC_PD_KNOCK_ENABLE_KC_COMBO,98,3,45,40,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_TABSTOP
    LTEXT           "Enable knock control",IDC_PD_KNOCK_ENABLE_KC_CAPTION,3,4,94,10

    EDITTEXT        IDC_PD_KNOCK_BEGIN_KWND_EDIT,98,23,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_BEGIN_KWND_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,23,13,17
    LTEXT           "Phase window begin",IDC_PD_KNOCK_BEGIN_KWND_CAPTION,3,24,94,10
    LTEXT           "°CS",IDC_PD_KNOCK_BEGIN_KWND_UNIT,146,24,20,10

    EDITTEXT        IDC_PD_KNOCK_END_KWND_EDIT,98,43,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_END_KWND_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,43,13,17
    LTEXT           "Phase window end",IDC_PD_KNOCK_END_KWND_CAPTION,3,44,94,10
    LTEXT           "°CS",IDC_PD_KNOCK_END_KWND_UNIT,146,44,20,10

    COMBOBOX        IDC_PD_KNOCK_BPF_FREQ_COMBO,98,63,45,60,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    LTEXT           "BPF frequency",IDC_PD_KNOCK_BPF_FREQ_CAPTION,3,64,94,10
    LTEXT           "kHz",IDC_PD_KNOCK_BPF_FREQ_UNIT,146,64,20,10

    COMBOBOX        IDC_PD_KNOCK_INT_TIME_CONST_COMBO,98,83,45,60,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    LTEXT           "Integration time constant",IDC_PD_KNOCK_INT_TIME_CONST_CAPTION,3,84,94,10
    LTEXT           "us",IDC_PD_KNOCK_INT_TIME_CONST_UNIT,146,84,20,10

    EDITTEXT        IDC_PD_KNOCK_RETARD_STEP_EDIT,98,103,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_RETARD_STEP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,103,13,17
    LTEXT           "Angle displacement step",IDC_PD_KNOCK_RETARD_STEP_CAPTION,3,104,94,10
    LTEXT           "°CS",IDC_PD_KNOCK_RETARD_STEP_UNIT,146,104,20,10

    EDITTEXT        IDC_PD_KNOCK_ADVANCE_STEP_EDIT,98,123,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_ADVANCE_STEP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,123,13,17
    LTEXT           "Angle recovery step",IDC_PD_KNOCK_ADVANCE_STEP_CAPTION,3,124,94,10
    LTEXT           "°CS",IDC_PD_KNOCK_ADVANCE_STEP_UNIT,146,124,20,10

    EDITTEXT        IDC_PD_KNOCK_MAX_RETARD_EDIT,98,143,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_MAX_RETARD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,143,13,17
    LTEXT           "Max. angle displacement",IDC_PD_KNOCK_MAX_RETARD_CAPTION,3,144,94,10
    LTEXT           "°CS",IDC_PD_KNOCK_MAX_RETARD_UNIT,146,144,20,10

    EDITTEXT        IDC_PD_KNOCK_THRESHOLD_EDIT,98,163,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_THRESHOLD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,163,13,17
    LTEXT           "Knock threshold",IDC_PD_KNOCK_THRESHOLD_CAPTION,3,164,94,10
    LTEXT           "V",IDC_PD_KNOCK_THRESHOLD_UNIT,146,164,20,10

    EDITTEXT        IDC_PD_KNOCK_RECOVERY_DELAY_EDIT,98,183,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_KNOCK_RECOVERY_DELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,183,13,17
    LTEXT           "Angle recovery delay",IDC_PD_KNOCK_RECOVERY_DELAY_CAPTION,3,184,94,10
    LTEXT           "str",IDC_PD_KNOCK_RECOVERY_DELAY_UNIT,146,184,20,10
END

IDD_PD_MISC_PAGE DIALOGEX 0, 0, 192, 126
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    COMBOBOX        IDC_PD_MISC_UART_SPEED_COMBO,8,24,53,82,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_PD_MISC_PACKET_PERIOD_EDIT,84,22,46,16,ES_AUTOHSCROLL
    LTEXT           "Data transmition speed (baud)",IDC_PD_MISC_UART_SPEED_COMBO_CAPTION,8,6,53,18
    CONTROL         "",IDC_PD_MISC_PACKET_PERIOD_SPIN,"msctls_updown32", UDS_ARROWKEYS | UDS_HOTTRACK,134,22,11,17
    LTEXT           "Data packets transmition period",IDC_PD_MISC_PACKET_PERIOD_CAPTION,83,3,66,16
    LTEXT           "ms",IDC_PD_MISC_PACKET_PERIOD_UNIT,151,25,25,13
    CONTROL         "Enable cutoff of ignition",IDC_PD_MISC_IGNCUTOFF_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,44,115,9
    EDITTEXT        IDC_PD_MISC_IGNCUTOFF_RPM_EDIT,8,57,46,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_MISC_IGNCUTOFF_RPM_SPIN,"msctls_updown32", UDS_ARROWKEYS | UDS_HOTTRACK,58,57,11,17
    LTEXT           "min-1",IDC_PD_MISC_IGNCUTOFF_RPM_UNIT,75,60,25,13
    GROUPBOX        "Pulse parameters of Hall output in wheel teeth",IDC_PD_MISC_HALL_OUTPUT_GROUP,3,80,160,38
    EDITTEXT        IDC_PD_MISC_HALL_OUTPUT_START_EDIT,9,94,21,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_MISC_HALL_OUTPUT_START_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,32,94,11,17
    LTEXT           "Start rel. to TDC",IDC_PD_MISC_HALL_OUTPUT_START_UNIT,46,95,36,16
    EDITTEXT        IDC_PD_MISC_HALL_OUTPUT_DURAT_EDIT,86,94,21,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_MISC_HALL_OUTPUT_DURAT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,94,11,17
    LTEXT           "Duration",IDC_PD_MISC_HALL_OUTPUT_DURAT_UNIT,124,98,34,12
    CONTROL         "Turn off fuel pump after switching to gas",IDC_PD_MISC_FLPMP_OFFONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,125,145,9
    CONTROL         "Turn off injectors after switching to gas",IDC_PD_MISC_INJ_OFFONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,8,137,145,9
END

IDD_PD_CHOKE_PAGE DIALOGEX 0, 0, 155, 183
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "",IDC_PD_CHOKE_MANUAL_POS_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK | WS_TABSTOP | UDS_HORZ,10,15,35,20
    LTEXT           "Manual control",IDC_PD_CHOKE_MANUAL_POS_CAPTION,49,16,26,20

    EDITTEXT        IDC_PD_CHOKE_STRT_ADD_TM_EDIT,95,26,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_STRT_ADD_TM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,129,25,13,17
    LTEXT           "Add.startup time",IDC_PD_CHOKE_STRT_ADD_TM_CAPTION,91,15,105,10
    LTEXT           "sec",IDC_PD_CHOKE_STRT_ADD_TM_UNIT,143,29,20,10

    EDITTEXT        IDC_PD_CHOKE_SM_STEPS_NUM_EDIT,7,58,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_SM_STEPS_NUM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,40,57,13,17
    LTEXT           "Num of SM steps",IDC_PD_CHOKE_SM_STEPS_NUM_CAPTION,8,47,105,10

    CONTROL         "TEST",IDC_PD_CHOKE_SM_TEST_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP | BS_PUSHLIKE,55,58,28,15

    EDITTEXT        IDC_PD_CHOKE_STRT_ADD_EDIT,95,58,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_STRT_ADD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,129,57,13,17
    LTEXT           "Add.startup closing",IDC_PD_CHOKE_STRT_ADD_CAPTION,91,47,105,10
    LTEXT           "%",IDC_PD_CHOKE_STRT_ADD_UNIT,143,60,10,10

    EDITTEXT        IDC_PD_CHOKE_RPMREG_IF_EDIT,7,83,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_RPMREG_IF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,40,83,13,17
    LTEXT           "Regul. factor",IDC_PD_CHOKE_RPMREG_IF_CAPTION,55,83,40,20

    EDITTEXT        IDC_PD_CHOKE_STRT_ADD_TMP_EDIT,95,83,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_STRT_ADD_TMP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,129,83,13,17
    LTEXT           "°C",IDC_PD_CHOKE_STRT_ADD_TMP_UNIT,143,85,20,10

    LTEXT           "Warming-up RPM vs temperature",IDC_PD_CHOKE_RPMREG_TITLE,7,105,150,10

    EDITTEXT        IDC_PD_CHOKE_RPMREG_1STPT_EDIT,7,116,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_RPMREG_1STPT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,40,115,13,17
    LTEXT           "min-1",IDC_PD_CHOKE_RPMREG_1STPT_UNIT,53,118,25,10
    CTEXT           "-5°C",IDC_PD_CHOKE_RPMREG_1STPT_TEMP,8,132,25,10

    EDITTEXT        IDC_PD_CHOKE_RPMREG_2NDPT_EDIT,95,116,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_CHOKE_RPMREG_2NDPT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,129,115,13,17
    LTEXT           "min-1",IDC_PD_CHOKE_RPMREG_2NDPT_UNIT,142,118,25,10
    CTEXT           "70°C",IDC_PD_CHOKE_RPMREG_2NDPT_TEMP,98,132,25,10

    CONTROL         "Don't use add. closing on gas",IDC_PD_CHOKE_OFFSTRTADDONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,147,145,10
    CONTROL         "Don't use RPM regulator on gas",IDC_PD_CHOKE_OFFRPMREGONGAS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,162,145,10
    CONTROL         "Use throttle pos. in choke init",IDC_PD_CHOKE_USETHROTTLEPOS_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,7,177,145,10
END

IDD_PD_GASDOSE_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    CONTROL         "",IDC_PD_GASDOSE_MANUAL_POS_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK | WS_TABSTOP | UDS_HORZ,18,15,35,20
    LTEXT           "Manual control",IDC_PD_GASDOSE_MANUAL_POS_CAPTION,57,16,26,20

    EDITTEXT        IDC_PD_GASDOSE_SM_STEPS_NUM_EDIT,15,58,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_SM_STEPS_NUM_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,48,57,13,17
    LTEXT           "Num of SM steps",IDC_PD_GASDOSE_SM_STEPS_NUM_CAPTION,16,47,105,10

    CONTROL         "TEST",IDC_PD_GASDOSE_SM_TEST_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP | BS_PUSHLIKE,63,58,28,15

    EDITTEXT        IDC_PD_GASDOSE_FC_CLOSING_EDIT,98,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_FC_CLOSING_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,90,13,17
    LTEXT           "Closing on fuel cut",IDC_PD_GASDOSE_FC_CLOSING_CAPTION,3,91,94,10
    LTEXT           "%",IDC_PD_GASDOSE_FC_CLOSING_UNIT,146,91,30,10

    EDITTEXT        IDC_PD_GASDOSE_CORRLIMIT_P_EDIT,98,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_CORRLIMIT_P_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,110,13,17
    LTEXT           "Correction limit (+)",IDC_PD_GASDOSE_CORRLIMIT_P_CAPTION,3,111,94,10
    LTEXT           "%",IDC_PD_GASDOSE_CORRLIMIT_P_UNIT,146,111,20,10

    EDITTEXT        IDC_PD_GASDOSE_CORRLIMIT_M_EDIT,98,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_GASDOSE_CORRLIMIT_M_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,130,13,17
    LTEXT           "Correction limit (-)",IDC_PD_GASDOSE_CORRLIMIT_M_CAPTION,3,131,94,10
    LTEXT           "%",IDC_PD_GASDOSE_CORRLIMIT_M_UNIT,146,131,20,10
END

IDD_PD_SECUR_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_SECUR_BT_NAME_EDIT,10,30,46,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_SECUR_BT_PASS_EDIT,10,51,46,16,ES_AUTOHSCROLL
    CONTROL         "Use bluetooth",IDC_PD_SECUR_BT_USE_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,31,62,10
    PUSHBUTTON      "Apply",IDC_PD_SECUR_BT_APPLY_BUTTON,93,51,43,12
    GROUPBOX        "Bluetooth",IDC_PD_SECUR_BT_GROUP,5,18,161,54
    LTEXT           "Name",IDC_PD_SECUR_BT_NAME_CAPTION,58,34,35,8
    LTEXT           "Password",IDC_PD_SECUR_BT_PASS_CAPTION,58,54,35,8
    GROUPBOX        "Immobilizer",IDC_PD_SECUR_IMM_GROUP,5,77,161,54
    CONTROL         "Use immobilizer",IDC_PD_SECUR_IMM_USE_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,93,87,62,10
    CTEXT           "iButton keys:",IDC_PD_SECUR_IBTN_KEYS_CAPTION,30,98,80,10     
    EDITTEXT        IDC_PD_SECUR_IBTN_KEY1_EDIT,10,110,65,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_SECUR_IBTN_KEY2_EDIT,80,110,65,16,ES_AUTOHSCROLL
END

IDD_PD_UNIOUT_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    GROUPBOX        "Output 1",IDC_PD_UNIOUT_1_GROUP,2,3,155,91
    COMBOBOX        IDC_PD_UNIOUT_1_COND1_COMBO,5,12,98,120,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "inversion",IDC_PD_UNIOUT_1_COND1_INV_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,13,45,10
    EDITTEXT        IDC_PD_UNIOUT_1_COND1_ON_EDIT,5,27,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_1_COND1_OFF_EDIT,80,27,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_1_COND1_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,27,13,16
    CONTROL         "",IDC_PD_UNIOUT_1_COND1_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,27,13,16
    LTEXT           "ON",IDC_PD_UNIOUT_1_COND1_ON_CAPTION,51,29,26,8
    LTEXT           "OFF",IDC_PD_UNIOUT_1_COND1_OFF_CAPTION,125,29,26,8
    COMBOBOX        IDC_PD_UNIOUT_1_LOGFUN_COMBO,36,45,50,65,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_PD_UNIOUT_1_COND2_COMBO,5,59,98,120,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "inversion",IDC_PD_UNIOUT_1_COND2_INV_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,60,45,10
    EDITTEXT        IDC_PD_UNIOUT_1_COND2_ON_EDIT,5,74,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_1_COND2_OFF_EDIT,80,74,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_1_COND2_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,74,13,16
    CONTROL         "",IDC_PD_UNIOUT_1_COND2_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,74,13,16
    LTEXT           "ON",IDC_PD_UNIOUT_1_COND2_ON_CAPTION,51,76,26,8
    LTEXT           "OFF",IDC_PD_UNIOUT_1_COND2_OFF_CAPTION,125,76,26,8

    COMBOBOX        IDC_PD_UNIOUT_12_LOGFUN_COMBO,36,99,50,50,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP

    GROUPBOX        "Output 2",IDC_PD_UNIOUT_2_GROUP,2,116,155,91
    COMBOBOX        IDC_PD_UNIOUT_2_COND1_COMBO,5,125,98,120,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "inversion",IDC_PD_UNIOUT_2_COND1_INV_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,126,45,10
    EDITTEXT        IDC_PD_UNIOUT_2_COND1_ON_EDIT,5,140,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_2_COND1_OFF_EDIT,80,140,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_2_COND1_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,140,13,16
    CONTROL         "",IDC_PD_UNIOUT_2_COND1_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,140,13,16
    LTEXT           "ON",IDC_PD_UNIOUT_2_COND1_ON_CAPTION,51,142,26,8
    LTEXT           "OFF",IDC_PD_UNIOUT_2_COND1_OFF_CAPTION,125,142,26,8
    COMBOBOX        IDC_PD_UNIOUT_2_LOGFUN_COMBO,36,158,50,65,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_PD_UNIOUT_2_COND2_COMBO,5,172,98,120,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "inversion",IDC_PD_UNIOUT_2_COND2_INV_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,173,45,10
    EDITTEXT        IDC_PD_UNIOUT_2_COND2_ON_EDIT,5,187,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_2_COND2_OFF_EDIT,80,187,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_2_COND2_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,187,13,16
    CONTROL         "",IDC_PD_UNIOUT_2_COND2_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,187,13,16
    LTEXT           "ON",IDC_PD_UNIOUT_2_COND2_ON_CAPTION,51,189,26,8
    LTEXT           "OFF",IDC_PD_UNIOUT_2_COND2_OFF_CAPTION,125,189,26,8

    GROUPBOX        "Output 3",IDC_PD_UNIOUT_3_GROUP,2,209,155,91
    COMBOBOX        IDC_PD_UNIOUT_3_COND1_COMBO,5,218,98,120,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "inversion",IDC_PD_UNIOUT_3_COND1_INV_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,219,45,10
    EDITTEXT        IDC_PD_UNIOUT_3_COND1_ON_EDIT,5,233,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_3_COND1_OFF_EDIT,80,233,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_3_COND1_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,233,13,16
    CONTROL         "",IDC_PD_UNIOUT_3_COND1_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,233,13,16
    LTEXT           "ON",IDC_PD_UNIOUT_3_COND1_ON_CAPTION,51,235,26,8
    LTEXT           "OFF",IDC_PD_UNIOUT_3_COND1_OFF_CAPTION,125,235,26,8
    COMBOBOX        IDC_PD_UNIOUT_3_LOGFUN_COMBO,36,251,50,65,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_PD_UNIOUT_3_COND2_COMBO,5,265,98,120,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "inversion",IDC_PD_UNIOUT_3_COND2_INV_CHECK,
                    "Button",BS_AUTOCHECKBOX | WS_TABSTOP,111,266,45,10
    EDITTEXT        IDC_PD_UNIOUT_3_COND2_ON_EDIT,5,280,30,16,ES_AUTOHSCROLL
    EDITTEXT        IDC_PD_UNIOUT_3_COND2_OFF_EDIT,80,280,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_UNIOUT_3_COND2_ON_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,36,280,13,16
    CONTROL         "",IDC_PD_UNIOUT_3_COND2_OFF_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,110,280,13,16
    LTEXT           "ON",IDC_PD_UNIOUT_3_COND2_ON_CAPTION,51,282,26,8
    LTEXT           "OFF",IDC_PD_UNIOUT_3_COND2_OFF_CAPTION,125,282,26,8
END

IDD_PD_INJECTOR_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_INJECTOR_CYLDISP_EDIT,98,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_CYLDISP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,10,13,17
    LTEXT           "Engine displacement",IDC_PD_INJECTOR_CYLDISP_CAPTION,3,11,94,10
    LTEXT           "L",IDC_PD_INJECTOR_CYLDISP_UNIT,146,11,30,10

    EDITTEXT        IDC_PD_INJECTOR_FLOWRATE_EDIT,98,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_FLOWRATE_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,30,13,17
    LTEXT           "Injector flow rate",IDC_PD_INJECTOR_FLOWRATE_CAPTION,3,31,94,10
    LTEXT           "cc/min",IDC_PD_INJECTOR_FLOWRATE_UNIT,146,31,30,10

    COMBOBOX        IDC_PD_INJECTOR_INJCONFIG_COMBO,98,50,60,80,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_TABSTOP
    LTEXT           "Injection configuration",IDC_PD_INJECTOR_INJCONFIG_CAPTION,3,51,94,10
    COMBOBOX        IDC_PD_INJECTOR_SQUIRTNUM_COMBO,98,70,45,80,CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_TABSTOP
    LTEXT           "Num of squirts per cycle",IDC_PD_INJECTOR_SQUIRTNUM_CAPTION,3,71,94,10

    EDITTEXT        IDC_PD_INJECTOR_TIMING_EDIT,98,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_TIMING_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,90,13,17
    LTEXT           "Injection timing",IDC_PD_INJECTOR_TIMING_CAPTION,3,91,94,10
    LTEXT           "°CS",IDC_PD_INJECTOR_TIMING_UNIT,146,91,30,10

    EDITTEXT        IDC_PD_INJECTOR_TIMING_CRK_EDIT,98,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_INJECTOR_TIMING_CRK_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,110,13,17
    LTEXT           "Cranking injection timing",IDC_PD_INJECTOR_TIMING_CRK_CAPTION,3,111,94,10
    LTEXT           "°CS",IDC_PD_INJECTOR_TIMING_CRK_UNIT,146,111,30,10

    CONTROL         "Use map for injection timing",IDC_PD_INJECTOR_USETIMINGMAP_CHECK,"Button",BS_AUTOCHECKBOX | WS_TABSTOP | BS_LEFTTEXT,3,132,138,10
END

IDD_PD_LAMBDA_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_LAMBDA_STRPERSTP_EDIT,96,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_STRPERSTP_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,10,13,17
    LTEXT           "Number of strokes per step",IDC_PD_LAMBDA_STRPERSTP_CAPTION,1,11,94,10
    LTEXT           "num",IDC_PD_LAMBDA_STRPERSTP_UNIT,144,11,30,10

    EDITTEXT        IDC_PD_LAMBDA_STEPSIZE_P_EDIT,96,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_STEPSIZE_P_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,30,13,17
    LTEXT           "Size of '+' correction step",IDC_PD_LAMBDA_STEPSIZE_P_CAPTION,1,31,94,10
    LTEXT           "%",IDC_PD_LAMBDA_STEPSIZE_P_UNIT,144,31,20,10

    EDITTEXT        IDC_PD_LAMBDA_STEPSIZE_M_EDIT,96,50,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_STEPSIZE_M_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,50,13,17
    LTEXT           "Size of '-' correction step",IDC_PD_LAMBDA_STEPSIZE_M_CAPTION,1,51,94,10
    LTEXT           "%",IDC_PD_LAMBDA_STEPSIZE_M_UNIT,144,51,20,10

    EDITTEXT        IDC_PD_LAMBDA_CORRLIMIT_P_EDIT,96,70,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_CORRLIMIT_P_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,70,13,17
    LTEXT           "Correction limit (+)",IDC_PD_LAMBDA_CORRLIMIT_P_CAPTION,1,71,94,10
    LTEXT           "%",IDC_PD_LAMBDA_CORRLIMIT_P_UNIT,144,71,20,10

    EDITTEXT        IDC_PD_LAMBDA_CORRLIMIT_M_EDIT,96,90,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_CORRLIMIT_M_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,90,13,17
    LTEXT           "Correction limit (-)",IDC_PD_LAMBDA_CORRLIMIT_M_CAPTION,1,91,94,10
    LTEXT           "%",IDC_PD_LAMBDA_CORRLIMIT_M_UNIT,144,91,20,10

    EDITTEXT        IDC_PD_LAMBDA_SWTPOINT_EDIT,96,110,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_SWTPOINT_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,110,13,17
    LTEXT           "Switch point",IDC_PD_LAMBDA_SWTPOINT_CAPTION,1,111,94,10
    LTEXT           "V",IDC_PD_LAMBDA_SWTPOINT_UNIT,144,111,20,10

    EDITTEXT        IDC_PD_LAMBDA_TEMPTHRD_EDIT,96,130,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_TEMPTHRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,130,13,17
    LTEXT           "CTS activation threshld",IDC_PD_LAMBDA_TEMPTHRD_CAPTION,1,131,94,10
    LTEXT           "°C",IDC_PD_LAMBDA_TEMPTHRD_UNIT,144,131,20,10

    EDITTEXT        IDC_PD_LAMBDA_RPMTHRD_EDIT,96,150,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_RPMTHRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,150,13,17
    LTEXT           "RPM activation threshold",IDC_PD_LAMBDA_RPMTHRD_CAPTION,1,151,94,10
    LTEXT           "min-1",IDC_PD_LAMBDA_RPMTHRD_UNIT,143,151,30,10

    EDITTEXT        IDC_PD_LAMBDA_ACTIVDELAY_EDIT,96,170,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_ACTIVDELAY_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,170,13,17
    LTEXT           "Activation after start in",IDC_PD_LAMBDA_ACTIVDELAY_CAPTION,1,171,94,10
    LTEXT           "sec",IDC_PD_LAMBDA_ACTIVDELAY_UNIT,144,171,30,10

    EDITTEXT        IDC_PD_LAMBDA_DEADBAND_EDIT,96,190,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_LAMBDA_DEADBAND_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,130,190,13,17
    LTEXT           "Switch point deadband +/-",IDC_PD_LAMBDA_DEADBAND_CAPTION,1,191,94,10
    LTEXT           "V",IDC_PD_LAMBDA_DEADBAND_UNIT,144,191,20,10
END

IDD_PD_ACCELENR_PAGE DIALOGEX 0, 0, 155, 158
STYLE DS_CONTROL | WS_CHILD
EXSTYLE WS_EX_CONTROLPARENT
FONT 8, "MS Sans Serif"
BEGIN
    EDITTEXT        IDC_PD_ACCELENR_TPSTHRD_EDIT,98,10,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ACCELENR_TPSTHRD_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,10,13,17
    LTEXT           "Accel. TPSdot threshold",IDC_PD_ACCELENR_TPSTHRD_CAPTION,3,11,94,10
    LTEXT           "%/sec",IDC_PD_ACCELENR_TPSTHRD_UNIT,146,11,30,10

    EDITTEXT        IDC_PD_ACCELENR_MULTCOLDENR_EDIT,98,30,30,16,ES_AUTOHSCROLL
    CONTROL         "",IDC_PD_ACCELENR_MULTCOLDENR_SPIN,"msctls_updown32",UDS_ARROWKEYS | UDS_HOTTRACK,132,30,13,17
    LTEXT           "Cold accel. multiplier",IDC_PD_ACCELENR_MULTCOLDENR_CAPTION,3,31,94,10
    LTEXT           "%",IDC_PD_ACCELENR_MULTCOLDENR_UNIT,146,31,30,10
END

IDD_IO_REMAPPING DIALOGEX 0, 0, 184, 196
STYLE DS_CONTROL | WS_CHILD | WS_VISIBLE | WS_CLIPSIBLINGS | WS_VSCROLL
EXSTYLE WS_EX_CONTROLPARENT | WS_EX_STATICEDGE
FONT 8, "MS Sans Serif"
BEGIN
    CTEXT           "I/O remapping:",IDC_IO_REMAPPING_CAPTION,50,0,90,8
    RTEXT           "IGN_OUT1",IDC_IO_REMAPPING_IGN_OUT1_CAPTION,0,11,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT1_COMBOBOX,53,10,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_IGN_OUT1_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,10,48,12
    RTEXT           "IGN_OUT2",IDC_IO_REMAPPING_IGN_OUT2_CAPTION,0,24,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT2_COMBOBOX,53,23,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_IGN_OUT2_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,23,48,12
    RTEXT           "IGN_OUT3",IDC_IO_REMAPPING_IGN_OUT3_CAPTION,0,37,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT3_COMBOBOX,53,36,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_IGN_OUT3_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,36,48,12
    RTEXT           "IGN_OUT4",IDC_IO_REMAPPING_IGN_OUT4_CAPTION,0,50,50,13
    COMBOBOX        IDC_IO_REMAPPING_IGN_OUT4_COMBOBOX,53,49,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_IGN_OUT4_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,49,48,12
    RTEXT           "ADD_O1",IDC_IO_REMAPPING_ADD_IO1_CAPTION,0,63,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_IO1_COMBOBOX,53,62,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_ADD_IO1_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,62,48,12
    RTEXT           "ADD_O2",IDC_IO_REMAPPING_ADD_IO2_CAPTION,0,76,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_IO2_COMBOBOX,53,75,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_ADD_IO2_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,75,48,12
    RTEXT           "ECF",IDC_IO_REMAPPING_ECF_CAPTION,0,89,50,13
    COMBOBOX        IDC_IO_REMAPPING_ECF_COMBOBOX,53,88,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_ECF_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,88,48,12
    RTEXT           "IE",IDC_IO_REMAPPING_IE_CAPTION,0,102,50,13
    COMBOBOX        IDC_IO_REMAPPING_IE_COMBOBOX,53,101,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_IE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,101,48,12
    RTEXT           "FE",IDC_IO_REMAPPING_FE_CAPTION,0,115,50,13
    COMBOBOX        IDC_IO_REMAPPING_FE_COMBOBOX,53,114,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_FE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,114,48,12
    RTEXT           "ST_BLOCK",IDC_IO_REMAPPING_ST_BLOCK_CAPTION,0,128,50,13
    COMBOBOX        IDC_IO_REMAPPING_ST_BLOCK_COMBOBOX,53,127,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_ST_BLOCK_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,127,48,12
    RTEXT           "PS",IDC_IO_REMAPPING_PS_CAPTION,0,141,50,13
    COMBOBOX        IDC_IO_REMAPPING_PS_COMBOBOX,53,140,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_PS_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,140,48,12
    RTEXT           "CE",IDC_IO_REMAPPING_CE_CAPTION,0,154,50,13
    COMBOBOX        IDC_IO_REMAPPING_CE_COMBOBOX,53,153,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_CE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,153,48,12
    RTEXT           "(J)       BL",IDC_IO_REMAPPING_BL_CAPTION,0,167,50,13
    COMBOBOX        IDC_IO_REMAPPING_BL_COMBOBOX,53,166,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_BL_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,166,48,12
    RTEXT           "(J)       DE",IDC_IO_REMAPPING_DE_CAPTION,0,180,50,13
    COMBOBOX        IDC_IO_REMAPPING_DE_COMBOBOX,53,179,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_DE_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,179,48,12
    RTEXT           "ADD_I1",IDC_IO_REMAPPING_ADD_I1_CAPTION,0,193,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_I1_COMBOBOX,53,192,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_ADD_I1_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,192,48,12
    RTEXT           "ADD_I2",IDC_IO_REMAPPING_ADD_I2_CAPTION,0,206,50,13
    COMBOBOX        IDC_IO_REMAPPING_ADD_I2_COMBOBOX,53,205,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_ADD_I2_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,205,48,12
    RTEXT           "REF_S",IDC_IO_REMAPPING_REF_S_CAPTION,0,219,50,13
    COMBOBOX        IDC_IO_REMAPPING_REF_S_COMBOBOX,53,218,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_REF_S_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,218,48,12
    RTEXT           "GAS_V",IDC_IO_REMAPPING_GAS_V_CAPTION,0,232,50,13
    COMBOBOX        IDC_IO_REMAPPING_GAS_V_COMBOBOX,53,231,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_GAS_V_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,231,48,12
    RTEXT           "CKPS",IDC_IO_REMAPPING_CKPS_CAPTION,0,245,50,13
    COMBOBOX        IDC_IO_REMAPPING_CKPS_COMBOBOX,53,244,55,100,
                    CBS_DROPDOWNLIST | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Invert",
                    IDC_IO_REMAPPING_CKPS_CHECKBOX,"Button",BS_AUTOCHECKBOX |
                    BS_RIGHTBUTTON | BS_RIGHT | WS_TABSTOP,123,244,48,12
END

IDD_MAP_CALC DIALOGEX 0, 0, 211, 140
STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | 
    WS_SYSMENU
CAPTION "Calculate MAP sensor parameters"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "OK",IDOK,43,115,50,14
    PUSHBUTTON      "Cancel",IDCANCEL,108,115,50,14
    EDITTEXT        IDC_MAP_CALC_1STPT_PRESS_EDIT,10,15,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_1STPT_PRESS_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,40,15,12,14
    COMBOBOX        IDC_MAP_CALC_1STPT_PRESS_COMBO,53,15,48,80,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_MAP_CALC_1STPT_VOLT_EDIT,110,15,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_1STPT_VOLT_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,140,15,12,14
    COMBOBOX        IDC_MAP_CALC_1STPT_VOLT_COMBO,153,15,48,50,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_MAP_CALC_GRADIENT_EDIT,10,50,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_GRADIENT_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,40,50,12,14
    COMBOBOX        IDC_MAP_CALC_GRADIENT_N_COMBO,53,50,48,100,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    COMBOBOX        IDC_MAP_CALC_GRADIENT_D_COMBO,110,50,48,100,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CONTROL         "Gradient known",IDC_MAP_CALC_KNOW_GRAD_CHECK,
                    "Button",BS_AUTOCHECKBOX | BS_MULTILINE | WS_TABSTOP,165,47,60,20
    EDITTEXT        IDC_MAP_CALC_2NDPT_PRESS_EDIT,10,85,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_2NDPT_PRESS_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,40,85,12,14
    COMBOBOX        IDC_MAP_CALC_2NDPT_PRESS_COMBO,53,85,48,80,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    EDITTEXT        IDC_MAP_CALC_2NDPT_VOLT_EDIT,110,85,30,14,ES_AUTOHSCROLL
    CONTROL         "",IDC_MAP_CALC_2NDPT_VOLT_SPIN,
                    "msctls_updown32",UDS_ARROWKEYS,140,85,12,14
    COMBOBOX        IDC_MAP_CALC_2NDPT_VOLT_COMBO,153,85,48,50,
                    CBS_DROPDOWNLIST | CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
    CTEXT           "/",IDC_MAP_CALC_GRADIENT_SLASH,102,52,8,10
    CTEXT           "1-st point at diagram",IDC_STATIC,50,4,100,10
    CTEXT           "2-nd point at diagram",IDC_MAP_CALC_2NDPT_CAPTION,50,74,100,10
    CTEXT           "Curve gradient (slope)",IDC_MAP_CALC_GRADIENT_CAPTION,50,40,100,10
END

/////////////////////////////////////////////////////////////////////////////
//
// Bitmap
//

IDB_TAB_CTRL_BITMAPS    BITMAP     "res\\tab_ctrl_bitmaps.bmp"
IDB_CALC_UP             BITMAP     "res\\calc_up.bmp"
IDB_CALC_DOWN           BITMAP     "res\\calc_down.bmp"
IDB_CALC_FOCUSED        BITMAP     "res\\calc_focused.bmp"
IDB_CALC_DISABLED       BITMAP     "res\\calc_disabled.bmp"

/////////////////////////////////////////////////////////////////////////////
//
// String Table
//

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_PD_KNOCK_RECOVERY_DELAY_UNIT "strokes"
    IDS_PD_TABNAME_STARTR_PAR "1:Start"
    IDS_PD_TABNAME_ANGLES_PAR "2:Angle"
    IDS_PD_TABNAME_IDLREG_PAR "3:Idling"
    IDS_PD_TABNAME_FUNSET_PAR "4:Functions"
    IDS_PD_TABNAME_TEMPER_PAR "5:Temperature"
    IDS_PD_TABNAME_CARBUR_PAR "6:Fuel cutoff"
    IDS_PD_TABNAME_ADCCOR_PAR "7:ADC errors corr."
    IDS_PD_TABNAME_CKPS_PAR   "8:CKPS"
    IDS_PD_TABNAME_KNOCK_PAR  "9:Knock"
    IDS_PD_TABNAME_MISCEL_PAR "10:Misc"
    IDS_PD_TABNAME_CHOKE_PAR  "11:Choke ctrl"
    IDS_PD_TABNAME_SECUR_PAR  "Security"
    IDS_PD_TABNAME_UNIOUT_PAR "Univ.Outputs"
    IDS_PD_TABNAME_INJCTR_PAR "Fuel injection"
    IDS_PD_TABNAME_LAMBDA_PAR "Lambda control"
    IDS_PD_TABNAME_ACCEL_PAR  "Acceleration"
    IDS_PD_TABNAME_GASDOSE_PAR "Gas dose"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_TD_LOAD_TABLES_POPUP_MENU "Load from"
    IDS_TD_SAVE_TABLES_POPUP_MENU "Save to"
    IDS_PD_CARBUR_EPM_ON_THRESHOLD_EDIT_TT "Power Valve Solenoid (Part-load enrichment) turn on threshold (by vacuum)"
    IDS_PD_CARBUR_TPS_THRESHOLD_EDIT_TT "Threshold for switching between work and idle modes by TPS. Throttle position is defined in %. Set to zero if limit switch is used."
    IDS_PD_CARBUR_SHUTOFF_DELAY_EDIT_TT "Turn off delay of the Idle cut-off valve solenoid (carb.) or over-run fuel cut off delay (injection)"
    IDS_PD_FUNSET_CURVE_OFFSET_EDIT_TT "Specifies how to move the curve that it crosses zero"
    IDS_PD_FUNSET_TPS_CURVE_OFFSET_EDIT_TT "Specifies how to move the curve that it crosses zero"
    IDS_PD_CHOKE_SM_TEST_CHECK_TT "Allows to check working of choke. Choke is being set to initial position and after it is being opened and closed (while button is pressed)."
    IDS_PD_CHOKE_SM_STEPS_NUM_EDIT_TT "Number of SM steps between fully closed and fully opend positions of choke"
    IDS_PD_CHOKE_MANUAL_POS_SPIN_TT "Manual choke control. System will enter manual control mode after first click, this mode will be active while ignition is ON"
    IDS_PD_FUNSET_CURVE_GRADIENT_EDIT_TT "Sets how output should change when input voltage changes by 1V."
    IDS_PD_FUNSET_TPS_CURVE_GRADIENT_EDIT_TT "Sets how output should change when input voltage changes by 1V. Set to zero if limit switch is used."
    IDS_PD_CHOKE_STRT_ADD_EDIT_TT "Set how much in % choke will be additionally closed at startup."
    IDS_PD_CHOKE_RPMREG_1STPT_EDIT_TT "First point which set warm up RPM vs temperature dependance. Set to 0 if you want to turn off RPM regulator."
    IDS_PD_CHOKE_RPMREG_2NDPT_EDIT_TT "Second point which set warm up RPM vs temperature dependance."
    IDS_PD_CHOKE_STRT_ADD_TM_EDIT_TT "During this time choke will be additionally closed at startup. After this time RPM regulator will be turned on."
    IDS_PD_CHOKE_STRT_ADD_TMP_EDIT_TT "After this temperature choke will not be additionally closed at startup. Choke will be fully closed when temperature < 0°C"
    IDS_PD_CHOKE_RPMREG_IF_EDIT_TT "I-regulator factor (integral gain) used for RPM regulation during warm up."
    IDS_PD_GASDOSE_CORRLIMIT_P_EDIT_TT "Maximum positive value of the EGO correction at warmup, which used by gas doser"
    IDS_PD_GASDOSE_CORRLIMIT_M_EDIT_TT "Maximum negative value of the EGO correction at warmup, which used by gas doser"
END

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_IO_REMAPPING_IGN_OUT1_TT "Ignition output 1"
    IDS_IO_REMAPPING_IGN_OUT2_TT "Ignition output 2"
    IDS_IO_REMAPPING_IGN_OUT3_TT "Ignition output 3"
    IDS_IO_REMAPPING_IGN_OUT4_TT "Ignition output 4"
    IDS_IO_REMAPPING_ADD_IO1_TT  "Ignition output 5"
    IDS_IO_REMAPPING_ADD_IO2_TT  "Ignition output 6"
    IDS_IO_REMAPPING_ECF_TT      "Cooling fan control output"
    IDS_IO_REMAPPING_ST_BLOCK_TT "Starter blocking control output"
    IDS_IO_REMAPPING_IE_TT       "Idle cutoff valve control output. If remapped to control fuel injector, please set inverse check"
    IDS_IO_REMAPPING_FE_TT       "Power valve control output. If remapped to control fuel injector, please set inverse check"
    IDS_IO_REMAPPING_PS_TT       "Cam sensor input"
    IDS_IO_REMAPPING_CE_TT       "Check Engine output"
    IDS_IO_REMAPPING_BL_TT       "'Bootloader' input (jumper)"
    IDS_IO_REMAPPING_DE_TT       "'Default EEPROM' input (jumper)"
    IDS_IO_REMAPPING_ADD_I1_TT   "Analog input 1"
    IDS_IO_REMAPPING_ADD_I2_TT   "Analog input 2"
    IDS_IO_REMAPPING_REF_S_TT    "Referense sensor input (VR)"
    IDS_IO_REMAPPING_GAS_V_TT    "Gas valve input"
    IDS_IO_REMAPPING_CKPS_TT     "CKP sensor input"
END

STRINGTABLE
BEGIN
    IDS_PA_UNIT     "Pa"
    IDS_KPA_UNIT    "kPa"
    IDS_MMHG_UNIT   "mm Hg"
    IDS_BAR_UNIT    "bar"
    IDS_AT_UNIT     "at"
    IDS_PSI_UNIT    "psi"
    IDS_MV_UNIT     "mV"
    IDS_V_UNIT      "V"
    IDS_PD_MAP_CALC_BUTTON_TT "Calculator allows to calculate MAP sensor parameters easily"
    IDS_MAP_CALC_1V_ABOVE_2V  "Voltage of the 1st point can not be equal to or greater than 2nd point voltage!"
    IDS_MAP_CALC_KNOW_GRAD_CHECK_TT "Set this check if you know pressure to voltage (or voltage to pressure) ratio"
END

STRINGTABLE
BEGIN
    IDS_PD_SECUR_BT_APPLY_BUTTON_TT "Write new name and password into bluetooth. Changing of name and password will not work if bluetooth is online"
    IDS_PD_YES "Yes"
    IDS_PD_NO  "No"
END

STRINGTABLE
BEGIN
    IDS_PD_CKPS_MISS_NUM_EDIT_TT                    "Missing teeth. Set to 0 if you use non-missing tooth wheel"
    IDS_PD_CKPS_COGS_NUM_EDIT_TT                    "Total number of crank wheel teeth, including missing teeth (if present)"
    IDS_PD_CKPS_IGNITION_COGS_UNIT_TT               "This value is used only for regular ignition modules. For BIP373, SECU-Igniters and coils with embedded drivers use firmware with dwell control! (_dwell)"
    IDS_PD_CKPS_COGS_BEFORE_TDC_COMBOBOX_TT         "Number of teeth moving past the CKP sensor from label on the wheel (missing teeth or rod ) and to the TDC mark."
    IDS_PD_CKPS_MERGE_IGN_OUTPUTS_TT                "With set check, ignition pulses will be merged on the IGN_OUT1 output"
    IDS_PD_CKPS_FRONT_GROUPBOX_TT                   "Equal to the swapping of CKPS wires (can help to attack synchronization errors)"
    IDS_PD_REF_S_FRONT_GROUPBOX_TT                  "Equal to the swapping of REF_S wires (can help to attack synchronization errors)"
    IDS_PD_ANGLES_MIN_ANGLE_EDIT_TT                 "Bottom limit (minimum allowed value) of advance angle"
    IDS_PD_ANGLES_MAX_ANGLE_EDIT_TT                 "Top limit (maximum allowed value) of advance angle"
    IDS_PD_ANGLES_ZEROAA_CHECK_TT                   "When this check is set, ignition timing will be zero at all conditions. Use for setting of null advance angle by means of marks and stroboscope"
    IDS_PD_IDLREG_FACTOR_EDIT_TT                    "The higher the value, the faster controller will change the ignition timing when RPM differs from target value (bigger value - stronger reaction of regulator)."
    IDS_PD_IDLREG_RESTRICTION_EDIT_TT               "Sets limits, in which idling regulator will alter ignition timing to maintain target RPM"
    IDS_PD_IDLREG_GOAL_RPM_EDIT_TT                  "Set the target RPM of the idling regulator. It should match the setting of the carburettor on warmed up engine and without load (lights, cooling fan, heater motor, etc.)."
    IDS_PD_IDLREG_DEAD_BAND_RPM_EDIT_TT             "Dead band of regulator"
    IDS_PD_IDLREG_TURN_ON_TEMP_EDIT_TT              "During warm up idling regulator will be turned on after CLT reach this value."
    IDS_PD_IDLREG_USE_REGULATOR_TT                  "When this check is set, controller will try to maintain target idling RPM by means of altering of ignition timing"
    IDS_PD_FUNSET_BENZIN_MAPS_COMBO_TT              "First four sets of maps are in the firmware, last one in the EEPROM - which you can edit in the real time. Select which set will be used after turning on of ignition"
    IDS_PD_FUNSET_GAS_MAPS_COMBO_TT                 "First four sets of maps are in the firmware, last one in the EEPROM - which you can edit in the real time. Select which set will be used after turning on of ignition"
    IDS_PD_FUNSET_PRESS_SWING_EDIT_TT               "Set the value of the pressure in the intake manifold at maximum load (trying to move on the 4th gear etc. - see the pressure value)"
    IDS_PD_FUNSET_MAP_GRAD_EDIT_TT                  "Set the value of the pressure in the intake manifold when PQQ (accelerate, throwing gas pedal - see pressure)"
    IDS_PD_TEMPER_USE_VENT_PWM_TT                   "Check the box when using a fan speed control unit. Minimum speed will be turned on before 7.5 degrees to the temperature set value."
    IDS_PD_TEMPER_USE_TEMP_SENSOR_TT                "With set check, CLT correction of ignition timing and other functions will be turned on"
    IDS_PD_TEMPER_USE_CURVE_MAP_TT                  "Use with non-standart or thermistor based CLT sensor"
    IDS_PD_TEMPER_VENT_ON_THRESHOLD_EDIT_TT         "When this temperature reached then cooling fan will be turned on"
    IDS_PD_TEMPER_VENT_OFF_THRESHOLD_EDIT_TT        "When this temperature reached then cooling fan will be turned off"
    IDS_PD_CARBUR_SHUTOFF_THRESHOLD_LO_TT           "The lower the value the greater fuel economy in forced idling mode, but the higher probability of stalling when you release the gas pedal. Set empirically minimal value at which the engine does not stall when you release the gas. The value of the lower threshold should be lower than the upper threshold."
    IDS_PD_CARBUR_SHUTOFF_THRESHOLD_HI_TT           "The lower the value the greater fuel economy in forced idling mode, but the higher probability of stalling when you release the gas pedal. Set empirically minimal value at which the engine does not stall when you release the gas. The value of the upper threshold should be greater than the lower threshold."
    IDS_PD_CARBUR_INVERSE_SWITCH_TT                 "Set so that when you press the gas pedal, yellow light in the TPS indicator light up"
    IDS_PD_ADCCOMPEN_FACTOR_TT                      "If necessary, alter factors for matching of raw values and real value at the inputs on unit"
    IDS_PD_ADCCOMPEN_CORRECTION_TT                  "Use in minor cases. Usually you don't need to touch this"
    IDS_PD_MISC_IGNCUTOFF_CHECK_TT                  "When RPM exceeds this threshold, system turns off all ignition channels and thus restricts engine speed"
END

STRINGTABLE
BEGIN
    IDS_UNIOUT_COND_CTS    "Coolant temperature (°C)"
    IDS_UNIOUT_COND_RPM    "RPM (min-1)"
    IDS_UNIOUT_COND_MAP    "MAP (kPa)"
    IDS_UNIOUT_COND_UBAT   "Board voltage (V)"
    IDS_UNIOUT_COND_CARB   "Carb.limit switch (logic)"
    IDS_UNIOUT_COND_VSPD   "Vehicle speed (Km/h)"
    IDS_UNIOUT_COND_AIRFL  "Air flow (0...16)"
    IDS_UNIOUT_COND_TMR    "Timer (seconds)"
    IDS_UNIOUT_COND_ITTMR  "Timer on ign.turn on(sec.)"
    IDS_UNIOUT_COND_ESTMR  "Timer on eng.turn on(sec.)"
    IDS_UNIOUT_COND_CPOS   "Choke/IAC position (%)"
    IDS_UNIOUT_COND_AANG   "УОЗ (°CS)"
    IDS_UNIOUT_COND_KLEV   "Knock signal (V)"
    IDS_UNIOUT_COND_TPS    "TPS (%)"
    IDS_UNIOUT_COND_ATS    "Intake ATS (°C)"
    IDS_UNIOUT_COND_AI1    "Analog input 1(V)"
    IDS_UNIOUT_COND_AI2    "Analog input 2(V)"
    IDS_UNIOUT_COND_GASV   "Gas valve input (logic)"
    IDS_UNIOUT_COND_IPW    "Injector PW (ms)"
    IDS_UNIOUT_COND_CE     "CE state"
    IDS_UNIOUT_COND_OFTMR  "Timer on/off 1 cond. (sec.)"

    IDS_UNIOUT_LF_OR       "OR"
    IDS_UNIOUT_LF_AND      "AND"
    IDS_UNIOUT_LF_XOR      "XOR"
    IDS_UNIOUT_LF_2ND      "2nd condition"
    IDS_UNIOUT_LF_NONE     "NONE"

    IDS_PD_UNIOUT_COND_ON_EDIT_DEF_TT "On threshold"
    IDS_PD_UNIOUT_COND_OFF_EDIT_DEF_TT "Off threshold"
    IDS_PD_UNIOUT_COND_TMR_OFF_EDIT_TT "Off time. Set maximum value if you want to disable turn off"
    IDS_PD_UNIOUT_LOGFUN_COMBO_TT "Logic function. Links two conditions together to produce corresponding output state"
    IDS_PD_UNIOUT_12_LOGFUN_COMBO_TT "Logic function. Allows to link two outputs together (thus we can obtain up to 4 conditions). Function value set on 1st output. If function is not selected, then outputs work in normal mode."
END

STRINGTABLE
BEGIN
    IDS_PD_KNOCK_BEGIN_KWND_EDIT_TT  "Position in degrees of ckankshaft (relatively to TDC) when system starts to listen detonation"
    IDS_PD_KNOCK_END_KWND_EDIT_TT    "Position in degrees of crankshaft (relatively to TDC) when system ends to listen detonation"
    IDS_PD_KNOCK_BPF_FREQ_COMBO_TT   "Frequency of the bypass filter (frequency to listen). Please select nearest one"
    IDS_PD_KNOCK_INT_TIME_CONST_COMBO_TT "Integrator stage constant, affercts level of output signal"
    IDS_PD_KNOCK_RETARD_STEP_EDIT_TT "Advance angle retard step. Each time system detect detonation, ignition advance decreased by this value"
    IDS_PD_KNOCK_ADVANCE_STEP_EDIT_TT "Advance angle recovery step. If detonation is absent, ignition timing is being increased with period = 'Recovery delay'"
    IDS_PD_KNOCK_MAX_RETARD_EDIT_TT "Maximum value of advance angle retard from detonation"
    IDS_PD_KNOCK_THRESHOLD_EDIT_TT   "Detonation voltage threshold. If signal from knock IC exceed this value, then it is considered presence of detonation"
    IDS_PD_KNOCK_RECOVERY_DELAY_EDIT_TT "Advance angle recovery delay in engine strokes"
END

STRINGTABLE
BEGIN
    IDS_PD_LAMBDA_STRPERSTP_EDIT_TT "Number of engine strokes per one correction step"
    IDS_PD_INJECTOR_SQUIRTNUM_COMBO_TT "How many times fuel injected into the intake manifold (number of injection events per cycle), not depending on injectors and channels number."
END

STRINGTABLE
BEGIN
    IDS_PD_INJECTOR_CYLDISP_EDIT_TT "Engine displacement (Liters)"
    IDS_INJ_CFG_THROTTLEBODY        "Throttle-body"
    IDS_INJ_CFG_SIMULTANEOUSLY      "Simultaneous"
    IDS_INJ_CFG_2BANK_ALTERN        "2 Banks Altern"
    IDS_INJ_CFG_SEMISEQUENTIAL      "Semi-sequential"
    IDS_INJ_CFG_FULLSEQUENTIAL      "Full sequential"
END

STRINGTABLE
BEGIN
    IDS_PD_ACCELENR_TPSTHRD_EDIT_TT "Accel.enrichment activation threshold (by TPS). The higher the value, the quickly you need to press the gas pedal to activate enrichment."
    IDS_PD_INJECTOR_TIMING_EDIT_TT "Specifies in degrees of crankshaft (BTDC) when system should start injection. This parameter will take effect only with synchronization from CKP sensor."
    IDS_PD_LOAD_OPT_TPS            "TPS"
    IDS_PD_LOAD_OPT_MAP            "MAP"
END

/////////////////////////////////////////////////////////////////////////////
// Neutral resources

LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#pragma code_page(1252)

/////////////////////////////////////////////////////////////////////////////
//Version information
VS_VERSION_INFO     VERSIONINFO
  PRODUCTVERSION    4,5,0,0
BEGIN
  BLOCK "StringFileInfo"
  BEGIN
    BLOCK "040904e4"
    BEGIN
      VALUE "CompanyName", "SECU-3.ORG"
      VALUE "LegalCopyright", "(c) Alexey A. Shabelnikov, SECU-3.ORG.  All rights reserved."
      VALUE "ProductName", "SECU-3 Manager"
    END
  END
END
