<!--
/*
** Job Arranger Manager
** Copyright (C) 2012 FitechForce, Inc. All Rights Reserved.
** Copyright (C) 2013 Daiwa Institute of Research Business Innovation Ltd. All Rights Reserved.
** Copyright (C) 2021 Daiwa Institute of Research Ltd. All Rights Reserved.
**
** Licensed to the Apache Software Foundation (ASF) under one or more
** contributor license agreements. See the NOTICE file distributed with
** this work for additional information regarding copyright ownership.
** The ASF licenses this file to you under the Apache License, Version 2.0
** (the "License"); you may not use this file except in compliance with
** the License. You may obtain a copy of the License at
**
** http://www.apache.org/licenses/LICENSE-2.0
**
** Unless required by applicable law or agreed to in writing, software
** distributed under the License is distributed on an "AS IS" BASIS,
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
** See the License for the specific language governing permissions and
** limitations under the License.
**
**/
-->
<src:BaseUserControl x:Class="jp.co.ftf.jobcontroller.JobController.Form.SetParameter.SetParameterPage"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:src="clr-namespace:jp.co.ftf.jobcontroller.JobController"
             xmlns:System="clr-namespace:System;assembly=mscorlib"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="300" d:DesignWidth="300">
    <Grid Name="grid1" Background="White" >
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto" />
            <RowDefinition Height="Auto" />
        </Grid.RowDefinitions>
        <GroupBox Header="{x:Static src:Properties.Resources.settings_system_setting_label_text}" Name="groupBox1" Margin="0,0,0,35">
            <Grid Name="grid2" Background="White">
                <Label Content="{x:Static src:Properties.Resources.settings_jobnet_view_span_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,10,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_jobnet_load_span_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,40,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_jobnet_keep_span_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,70,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_joblog_keep_span_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,100,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxJobnetViewSpan" Width="80" MaxLength="10" HorizontalAlignment="Left" Margin="270,10,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxJobnetLoadSpan" Width="80" MaxLength="10" HorizontalAlignment="Left" Margin="270,40,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxJobnetKeepSpan" Width="80" MaxLength="10" HorizontalAlignment="Left" Margin="270,70,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxJoblogKeepSpan" Width="80" MaxLength="10" HorizontalAlignment="Left" Margin="270,100,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_JobArranger_std_time_label_text}" Height="24" Width="170" HorizontalAlignment="Left" Margin="800,10,0,0" VerticalAlignment="Top"/>
                <ComboBox Height="24" Name="combStandardTime" Width="160" HorizontalAlignment="Left" Margin="970,10,0,0" VerticalAlignment="Top"/>
            </Grid>
        </GroupBox>
        <GroupBox Header="{x:Static src:Properties.Resources.settings_zbxsnd_zabbix_notice_setting_label_text}" Name="groupBox2" Grid.Row="1" Margin="0,8,0,175">
            <Grid Name="grid3" Background="White">

                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_zabbix_notice_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,10,0,0" VerticalAlignment="Top"/>

                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_zabbix_ip_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,40,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_zabbix_port_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,70,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_sender_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,100,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_zabbix_host_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,130,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_zabbix_item_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,160,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_retry_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,180,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_retry_count_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,210,0,0" VerticalAlignment="Top"/>
                <Label Content="{x:Static src:Properties.Resources.settings_zbxsnd_retry_interval_label_text}" Height="24" HorizontalAlignment="Left" Margin="5,240,0,0" VerticalAlignment="Top"/>

                <ComboBox Height="24" Name="combNotice" Width="60" HorizontalAlignment="Left" Margin="270,10,0,0" VerticalAlignment="Top"/>

                <TextBox Height="24" Name="tbxZabbixServerIPaddress" Width="120" MaxLength="2048" HorizontalAlignment="Left" Margin="270,40,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxZabbixServerPortNumber" Width="120" MaxLength="5" HorizontalAlignment="Left" Margin="270,70,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxZabbixSenderCommand" Width="860" MaxLength="2048" HorizontalAlignment="Left" Margin="270,100,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxMessageDestinationServer" Width="860" MaxLength="64" HorizontalAlignment="Left" Margin="270,130,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxMessageDestinationItemKey" Width="860" HorizontalAlignment="Left" Margin="270,160,0,0" VerticalAlignment="Top"/>
                <ComboBox Height="24" Name="combRetry" Width="80" HorizontalAlignment="Left" Margin="270,190,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxRetryCount" Width="80" MaxLength="10" HorizontalAlignment="Left" Margin="270,220,0,0" VerticalAlignment="Top"/>
                <TextBox Height="24" Name="tbxRetryInterval" Width="80" MaxLength="10" HorizontalAlignment="Left" Margin="270,250,0,0" VerticalAlignment="Top"/>
            </Grid>
        </GroupBox>
        <Label Content="{x:Static src:Properties.Resources.settings_Annotation1}" Height="24" HorizontalAlignment="Left" Margin="20,328,0,0" VerticalAlignment="Top" Width="550" Grid.Row="1" FontWeight="ExtraBlack"/>
        <Label Content="{x:Static src:Properties.Resources.settings_Annotation2}" Height="24" HorizontalAlignment="Left" Margin="20,351,0,0" VerticalAlignment="Top" Width="636" Grid.Row="1" FontWeight="ExtraBlack"/>
        <Button Content="{x:Static src:Properties.Resources.redisplay_button_text}" Grid.Row="1" Height="24" Margin="0,400,96,0" Name="btnReread" VerticalAlignment="Top" HorizontalAlignment="Right" Width="75" Click="btnReread_Click" />
        <Button Content="{x:Static src:Properties.Resources.update_button_text}" Grid.Row="1" Height="24"  Margin="0,400,10,0" Name="btnUpdate" VerticalAlignment="Top" HorizontalAlignment="Right" Width="75" Click="btnUpdate_Click" />
    </Grid>
</src:BaseUserControl>
