object AddEditCounterForm: TAddEditCounterForm
  Left = 0
  Top = 0
  BorderStyle = bsDialog
  Caption = #1044#1086#1073#1072#1074#1083#1077#1085#1080#1077' / '#1088#1077#1076#1072#1082#1090#1080#1088#1086#1074#1072#1085#1080#1077' '#1089#1095#1077#1090#1095#1080#1082#1072
  ClientHeight = 434
  ClientWidth = 374
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -11
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poDesktopCenter
  PixelsPerInch = 96
  TextHeight = 13
  object lSerialNumber: TLabel
    Left = 32
    Top = 8
    Width = 84
    Height = 13
    Caption = #1057#1077#1088#1080#1081#1085#1099#1081' '#1085#1086#1084#1077#1088
  end
  object Label1: TLabel
    Left = 32
    Top = 64
    Width = 128
    Height = 13
    Caption = #1055#1086#1089#1083#1077#1076#1085#1103#1103' '#1076#1072#1090#1072' '#1087#1086#1074#1077#1088#1082#1080
  end
  object Label2: TLabel
    Left = 32
    Top = 120
    Width = 135
    Height = 13
    Caption = #1057#1083#1077#1076#1091#1102#1097#1072#1103' '#1076#1072#1090#1072' '#1087#1086#1074#1077#1088#1082#1080
  end
  object Label3: TLabel
    Left = 32
    Top = 319
    Width = 313
    Height = 26
    Caption = 
      #1042' '#1076#1072#1085#1085#1086#1081' '#1082#1074#1072#1088#1090#1080#1088#1077' '#1091#1078#1077' '#1091#1089#1090#1072#1085#1086#1074#1083#1077#1085' '#1089#1095#1077#1090#1095#1080#1082', '#1090#1077#1082#1091#1097#1080#1081' '#1089#1095#1077#1090#1095#1080#1082' '#1085#1077' '#1084#1086#1078 +
      #1077#1090' '#1073#1099#1090#1100' '#1074' 2 '#1082#1074#1072#1088#1090#1080#1088#1072#1093', '#1074#1099#1073#1077#1088#1080#1090#1077' '#1076#1077#1081#1089#1090#1074#1080#1077':'
    WordWrap = True
  end
  object bOk: TBitBtn
    Left = 216
    Top = 288
    Width = 75
    Height = 25
    Caption = 'Ok'
    TabOrder = 0
    OnClick = bOkClick
  end
  object bCancel: TBitBtn
    Left = 48
    Top = 288
    Width = 75
    Height = 25
    Caption = #1054#1090#1084#1077#1085#1072
    TabOrder = 1
    OnClick = bCancelClick
  end
  object dtpLast: TDateTimePicker
    Left = 32
    Top = 83
    Width = 313
    Height = 21
    Date = 43387.465771516200000000
    Time = 43387.465771516200000000
    TabOrder = 2
  end
  object dtpNext: TDateTimePicker
    Left = 32
    Top = 139
    Width = 313
    Height = 21
    Date = 43387.465771516200000000
    Time = 43387.465771516200000000
    TabOrder = 3
  end
  object eSerialNumber: TEdit
    Left = 32
    Top = 27
    Width = 313
    Height = 21
    TabOrder = 4
    Text = 'eSerialNumber'
  end
  object cbIsAssociateToFlat: TCheckBox
    Left = 32
    Top = 176
    Width = 169
    Height = 17
    Caption = #1040#1089#1089#1086#1094#1080#1080#1088#1086#1074#1072#1090#1100' '#1089' '#1082#1074#1072#1088#1090#1080#1088#1086#1081
    TabOrder = 5
  end
  object cbStreets: TDBLookupComboBox
    AlignWithMargins = True
    Left = 32
    Top = 199
    Width = 313
    Height = 21
    KeyField = 'id'
    ListField = 'name'
    ListSource = DSStreets
    TabOrder = 6
    OnCloseUp = cbStreetsCloseUp
  end
  object cbHouseNumbers: TDBLookupComboBox
    AlignWithMargins = True
    Left = 32
    Top = 226
    Width = 313
    Height = 21
    KeyField = 'id'
    ListField = 'name'
    ListSource = DSHouseNumbers
    TabOrder = 7
    OnCloseUp = cbHouseNumbersCloseUp
  end
  object cbFlatNumbers: TDBLookupComboBox
    AlignWithMargins = True
    Left = 32
    Top = 253
    Width = 313
    Height = 21
    KeyField = 'id'
    ListField = 'flatNumber'
    ListSource = DSFlatNumbers
    TabOrder = 8
  end
  object RadioButton1: TRadioButton
    Left = 32
    Top = 351
    Width = 313
    Height = 26
    Caption = #1047#1072#1084#1077#1085#1080#1090#1100' '#1089#1095#1077#1090#1095#1080#1082' '#1074' '#1074#1099#1073#1088#1072#1085#1085#1086#1081' '#1082#1074#1072#1088#1090#1080#1088#1077', '#1072' '#1080#1079' '#1090#1077#1082#1091#1097#1077#1081' '#1091#1076#1072#1083#1080#1090#1100
    TabOrder = 9
    WordWrap = True
  end
  object RadioButton2: TRadioButton
    Left = 32
    Top = 383
    Width = 313
    Height = 26
    Caption = 
      #1059#1076#1072#1083#1080#1090#1100' '#1089#1095#1077#1090#1095#1080#1082' '#1080#1079' '#1090#1077#1082#1091#1097#1077#1081' '#1082#1074#1072#1088#1090#1080#1088#1099' '#1080' '#1076#1086#1073#1072#1074#1080#1090#1100' '#1077#1075#1086' '#1074' '#1074#1099#1073#1088#1072#1085#1085#1091#1102' '#1082 +
      #1074#1072#1088#1090#1080#1088#1091
    TabOrder = 10
    WordWrap = True
  end
  object FDConnectionTemp: TFDConnection
    Params.Strings = (
      'Database=flat_db'
      'User_Name=root'
      'Password=masterkey'
      'DriverID=MySQL')
    Connected = True
    Left = 16
    Top = 120
  end
  object qStreets: TFDQuery
    Active = True
    Connection = FDConnectionTemp
    SQL.Strings = (
      'select*from streets')
    Left = 136
    Top = 152
  end
  object DSStreets: TDataSource
    DataSet = qStreets
    Left = 152
    Top = 224
  end
  object qHouseNumbers: TFDQuery
    Connection = FDConnectionTemp
    SQL.Strings = (
      'SELECT * FROM flat_db.housenumbers where streets_id=:streets_id;')
    Left = 224
    Top = 184
    ParamData = <
      item
        Name = 'STREETS_ID'
        DataType = ftWideString
        ParamType = ptInput
        Value = '%%'
      end>
  end
  object DSHouseNumbers: TDataSource
    DataSet = qHouseNumbers
    Left = 240
    Top = 256
  end
  object qFlatNumbers: TFDQuery
    Connection = FDConnectionTemp
    SQL.Strings = (
      
        'SELECT * FROM flat_db.flats where houseNumbers_id=:houseNumbers_' +
        'id;')
    Left = 314
    Top = 200
    ParamData = <
      item
        Name = 'HOUSENUMBERS_ID'
        DataType = ftWideString
        ParamType = ptInput
        Value = '%%'
      end>
  end
  object DSFlatNumbers: TDataSource
    DataSet = qFlatNumbers
    Left = 314
    Top = 272
  end
end
