<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             x:Class="AsReader251GMAUIiOSDemo.MainPage">


    <StackLayout Orientation="Vertical">

        <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="App Version" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0"/>
            <Label x:Name="APPVersionLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0"/>
        </StackLayout>

         <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="DLL Version" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0"/>
            <Label x:Name="DLLVersionLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0"/>
        </StackLayout>

        <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="SDK Version" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0"/>
            <Label x:Name="SDKVersionLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0"/>
        </StackLayout>

        <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="Firmware Version" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0" />
            <Label x:Name="FirmwareVersionLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0" />
        </StackLayout>

        <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="UHF/HF Version" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0" />
            <Label x:Name="UHFLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0" />
        </StackLayout>

        <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="S/N" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0" />
            <Label x:Name="SNLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0" />
        </StackLayout>

        <StackLayout Orientation="Horizontal" Margin="0, 0, 0, 0">
            <Label Text="Region/Country" TextColor="#0C69E9" FontSize="16" HorizontalOptions="Start" Margin="10, 0" />
            <Label x:Name="RegionLabel" TextColor="#0000B4" FontSize="16" HorizontalOptions="EndAndExpand" Margin="10, 0, 10, 0" />
        </StackLayout>
         
        <Button
                x:Name="BarocdeScanLabel"
                Text="Barocde Scan"
                TextColor="LightGray"
                FontSize="25"
                FontAttributes="Bold"
                BackgroundColor="White"
                Clicked="BarocdeScanClicked"
                VerticalOptions="Center"
                HorizontalOptions="Start"
                Margin="0, 0, 0, 0" />
        <Label Text="" TextColor="White" BackgroundColor="LightGray" HorizontalOptions="FillAndExpand" HeightRequest="1" Margin="0, 0, 0, 0" />

        <Button
                x:Name="RFIDInventoryLabel"
                Text="RFID Inventory"
                TextColor="LightGray"
                FontSize="25"
                FontAttributes="Bold"
                BackgroundColor="White"
                Clicked="RFIDInventoryClicked"
                VerticalOptions="Center"
                HorizontalOptions="Start"
                Margin="0, 0, 0, 0" />
        <Label Text="" TextColor="White" BackgroundColor="LightGray" HorizontalOptions="FillAndExpand" HeightRequest="1" Margin="0, 0, 0, 0" />

        <AbsoluteLayout VerticalOptions="FillAndExpand">
            <Image x:Name="BatteryImage" Source="battery0.png" AbsoluteLayout.LayoutBounds="0.04,0.98,42,23" AbsoluteLayout.LayoutFlags="PositionProportional" Aspect="AspectFit" />
            <Image x:Name="LogoImage" Source="asreader_log_off.png" AbsoluteLayout.LayoutBounds="0.94,0.98,100,33" AbsoluteLayout.LayoutFlags="PositionProportional" Aspect="AspectFit" />
        </AbsoluteLayout>
    </StackLayout>

</ContentPage>

