object fconfiguracion: Tfconfiguracion
  Left = 0
  Top = 0
  BorderIcons = [biSystemMenu]
  BorderStyle = bsDialog
  Caption = 'Configuracion del Sistema y Bascula'
  ClientHeight = 585
  ClientWidth = 620
  Color = clBtnFace
  Font.Charset = DEFAULT_CHARSET
  Font.Color = clWindowText
  Font.Height = -12
  Font.Name = 'Tahoma'
  Font.Style = []
  OldCreateOrder = False
  Position = poScreenCenter
  OnClose = FormClose
  OnCreate = FormCreate
  OnDestroy = FormDestroy
  OnShow = FormShow
  PixelsPerInch = 96
  TextHeight = 14
  object pnlHeader: TPanel
    Left = 0
    Top = 0
    Width = 620
    Height = 45
    Align = alTop
    BevelOuter = bvNone
    Color = 15395562
    ParentBackground = False
    TabOrder = 0
    object lblTitulo: TLabel
      Left = 16
      Top = 13
      Width = 353
      Height = 19
      Caption = 'CONFIGURACION DE BASCULA Y BASE DE DATOS'
      Font.Charset = DEFAULT_CHARSET
      Font.Color = 4210752
      Font.Height = -16
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
    end
  end
  object pnlFooter: TPanel
    Left = 0
    Top = 535
    Width = 620
    Height = 50
    Align = alBottom
    BevelOuter = bvNone
    Color = 15724527
    ParentBackground = False
    TabOrder = 1
    object btnGuardar: TButton
      Left = 330
      Top = 8
      Width = 160
      Height = 34
      Caption = 'Guardar y Aplicar'
      Default = True
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ModalResult = 1
      ParentFont = False
      TabOrder = 0
      OnClick = btnGuardarClick
    end
    object btnCancelar: TButton
      Left = 498
      Top = 8
      Width = 105
      Height = 34
      Cancel = True
      Caption = 'Cancelar'
      ModalResult = 2
      TabOrder = 1
      OnClick = btnCancelarClick
    end
  end
  object pnlContent: TPanel
    Left = 0
    Top = 45
    Width = 620
    Height = 490
    Align = alClient
    BevelOuter = bvNone
    TabOrder = 2
    object gbBaseDatos: TGroupBox
      Left = 14
      Top = 6
      Width = 590
      Height = 135
      Caption = ' Conexion a Base de Datos (MariaDB / MySQL) '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 0
      object lblHost: TLabel
        Left = 16
        Top = 27
        Width = 54
        Height = 14
        Caption = 'Servidor:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblBD: TLabel
        Left = 300
        Top = 27
        Width = 83
        Height = 14
        Caption = 'Base de Datos:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblUsuario: TLabel
        Left = 16
        Top = 63
        Width = 47
        Height = 14
        Caption = 'Usuario:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblPassword: TLabel
        Left = 300
        Top = 63
        Width = 68
        Height = 14
        Caption = 'Contrasena:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object edHost: TEdit
        Left = 80
        Top = 24
        Width = 195
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 0
      end
      object edBD: TEdit
        Left = 390
        Top = 24
        Width = 185
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 1
      end
      object edUsuario: TEdit
        Left = 80
        Top = 60
        Width = 195
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 2
      end
      object edPassword: TEdit
        Left = 390
        Top = 60
        Width = 185
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        PasswordChar = '*'
        TabOrder = 3
      end
      object btnProbarBD: TButton
        Tag = 999
        Left = 80
        Top = 95
        Width = 160
        Height = 28
        Caption = 'Probar Conexion BD'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 4
        OnClick = btnProbarBDClick
      end
    end
    object gbPuesto: TGroupBox
      Left = 14
      Top = 145
      Width = 285
      Height = 55
      Caption = ' Identificacion de Puesto '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 1
      object lblIdPuesto: TLabel
        Left = 14
        Top = 24
        Width = 108
        Height = 14
        Caption = 'ID Puesto / Bascula:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object edIdPuesto: TEdit
        Left = 135
        Top = 21
        Width = 135
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 0
        Text = '1'
      end
    end
    object gbSeguridad: TGroupBox
      Tag = 999
      Left = 309
      Top = 145
      Width = 295
      Height = 55
      Caption = ' Seguridad / Clave de Acceso '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 2
      object lblPasswordConfig: TLabel
        Left = 14
        Top = 24
        Width = 71
        Height = 14
        Caption = 'Clave Admin:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object edPasswordConfig: TEdit
        Left = 95
        Top = 21
        Width = 185
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        PasswordChar = '*'
        TabOrder = 0
      end
    end
    object gbComunicaciones: TGroupBox
      Left = 14
      Top = 205
      Width = 590
      Height = 140
      Caption = ' Parametros de Comunicacion con Bascula (Puerto Serie COM) '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 3
      object lblPuerto: TLabel
        Left = 16
        Top = 28
        Width = 72
        Height = 14
        Caption = 'Puerto COM:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblBaudRate: TLabel
        Left = 300
        Top = 28
        Width = 60
        Height = 14
        Caption = 'Velocidad:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblDataBits: TLabel
        Left = 16
        Top = 64
        Width = 79
        Height = 14
        Caption = 'Bits de Datos:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblParidad: TLabel
        Left = 300
        Top = 64
        Width = 47
        Height = 14
        Caption = 'Paridad:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblStopBits: TLabel
        Left = 16
        Top = 100
        Width = 87
        Height = 14
        Caption = 'Bits de Parada:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblFlowControl: TLabel
        Left = 300
        Top = 100
        Width = 76
        Height = 14
        Caption = 'Control Flujo:'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object cbPuerto: TComboBox
        Left = 110
        Top = 25
        Width = 120
        Height = 22
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
        TabOrder = 0
      end
      object btnRefrescarPuertos: TButton
        Tag = 999
        Left = 236
        Top = 23
        Width = 32
        Height = 25
        Caption = '...'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 1
        OnClick = btnRefrescarPuertosClick
      end
      object cbBaudRate: TComboBox
        Left = 390
        Top = 25
        Width = 140
        Height = 22
        Style = csDropDownList
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ItemIndex = 3
        ParentFont = False
        TabOrder = 2
        Text = '9600'
        Items.Strings = (
          '1200'
          '2400'
          '4800'
          '9600'
          '19200'
          '38400'
          '57600'
          '115200')
      end
      object cbDataBits: TComboBox
        Left = 110
        Top = 61
        Width = 120
        Height = 22
        Style = csDropDownList
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ItemIndex = 3
        ParentFont = False
        TabOrder = 3
        Text = '8'
        Items.Strings = (
          '5'
          '6'
          '7'
          '8')
      end
      object cbParidad: TComboBox
        Left = 390
        Top = 61
        Width = 140
        Height = 22
        Style = csDropDownList
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ItemIndex = 0
        ParentFont = False
        TabOrder = 4
        Text = 'Ninguna'
        Items.Strings = (
          'Ninguna'
          'Par'
          'Impar'
          'Marca'
          'Espacio')
      end
      object cbStopBits: TComboBox
        Left = 110
        Top = 97
        Width = 120
        Height = 22
        Style = csDropDownList
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ItemIndex = 0
        ParentFont = False
        TabOrder = 5
        Text = '1'
        Items.Strings = (
          '1'
          '1.5'
          '2')
      end
      object cbFlowControl: TComboBox
        Left = 390
        Top = 97
        Width = 140
        Height = 22
        Style = csDropDownList
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ItemIndex = 0
        ParentFont = False
        TabOrder = 6
        Text = 'Ninguno'
        Items.Strings = (
          'Ninguno'
          'Hardware (RTS/CTS)'
          'Software (XON/XOFF)')
      end
    end
    object gbTestBascula: TGroupBox
      Tag = 999
      Left = 14
      Top = 350
      Width = 590
      Height = 130
      Caption = ' Prueba de Comunicacion en Vivo con la Bascula '
      Font.Charset = DEFAULT_CHARSET
      Font.Color = clWindowText
      Font.Height = -12
      Font.Name = 'Tahoma'
      Font.Style = [fsBold]
      ParentFont = False
      TabOrder = 4
      object lblTestPeso: TLabel
        Tag = 999
        Left = 340
        Top = 25
        Width = 230
        Height = 45
        Alignment = taCenter
        AutoSize = False
        Caption = '--- kg'
        Color = 16119285
        Font.Charset = DEFAULT_CHARSET
        Font.Color = 32768
        Font.Height = -32
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentColor = False
        ParentFont = False
        Transparent = False
      end
      object lblTestEstado: TLabel
        Tag = 999
        Left = 16
        Top = 73
        Width = 142
        Height = 14
        Caption = 'Estado: En espera de test'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = 4210752
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object lblTestTrama: TLabel
        Tag = 999
        Left = 16
        Top = 97
        Width = 217
        Height = 14
        Caption = 'Ultima trama recibida: (ninguna aun)'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clGray
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = []
        ParentFont = False
      end
      object btnTestBascula: TButton
        Tag = 999
        Left = 16
        Top = 27
        Width = 190
        Height = 35
        Caption = 'Iniciar Test Bascula'
        Font.Charset = DEFAULT_CHARSET
        Font.Color = clWindowText
        Font.Height = -12
        Font.Name = 'Tahoma'
        Font.Style = [fsBold]
        ParentFont = False
        TabOrder = 0
        OnClick = btnTestBasculaClick
      end
    end
  end
  object tmrTestTimeout: TTimer
    Tag = 999
    Enabled = False
    Interval = 15000
    OnTimer = tmrTestTimeoutTimer
    Left = 472
    Top = 384
  end
end
