aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.BootScreen/MainWindow.xaml
blob: a199d69c530bdddfdf4e4258503a28b417d4e366 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<Window x:Class="Tango.PPC.BootScreen.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:Tango.PPC.BootScreen"
        mc:Ignorable="d"
        Title="MainWindow" Height="1280" Width="800" Foreground="Gainsboro" ShowInTaskbar="False" WindowStyle="None" ResizeMode="CanResize" WindowStartupLocation="CenterScreen" WindowState="Maximized" Background="Black">
    <Grid>
        <StackPanel Margin="40" VerticalAlignment="Center">
            <Image Source="/machine-trans.png" Height="300" RenderOptions.BitmapScalingMode="Fant" />
            <TextBlock HorizontalAlignment="Center" FontSize="25" Margin="0 40 0 0">Configuring operation system settings, please wait...</TextBlock>
        </StackPanel>

        <ProgressBar VerticalAlignment="Bottom" IsIndeterminate="True" Height="15" Foreground="Gainsboro" Background="#383838" BorderThickness="0" />
    </Grid>
</Window>
class="k">using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using Tango.DataStore.Web; using Tango.Web; namespace Tango.DataStore.CLI { public class OptionsBase { [Option(longName: "email", HelpText = "Email address.")] public String Email { get; set; } [Option(longName: "password", HelpText = "Password.")] public String Password { get; set; } [Option(longName: "env", HelpText = "The target environment.", Required = true)] public DeploymentSlot Environment { get; set; } } [Verb("get", HelpText = "Get a data store item.")] public class GetOptions : OptionsBase { [Option(longName: "sn", HelpText = "Machine serial number. if not specified will return only global values.")] public String MachineSerialNumber { get; set; } [Option(longName: "collection", HelpText = "Collection name.\nIf not specified will return all collections.\nIf 'key' if specified the 'collection' must be specified.")] public String Collection { get; set; } [Option(longName: "key", HelpText = "Item key. If not specified will return the entire collection.")] public String Key { get; set; } } [Verb("put", HelpText = "Put a new, or update an existing data store item.")] public class PutOptions : OptionsBase { [Option(longName: "sn", HelpText = "Machine serial number. If not specified will put a value on the global data store.")] public String MachineSerialNumber { get; set; } [Option(longName: "collection", HelpText = "New or existing collection name.", Required = true)] public String Collection { get; set; } [Option(longName: "key", HelpText = "New or existing item key", Required = true)] public String Key { get; set; } [Option(longName: "data-type", HelpText = "Item data type", Required = true)] public Web.DataType DataType { get; set; } [Option(longName: "proto-type", HelpText = "Protobuf message type when data-type is 'Proto'.")] public MessageType ProtoMessageType { get; set; } [Option(longName: "value", HelpText = "Item value", Required = true)] public String Value { get; set; } } [Verb("login-config", HelpText = "Stores the specified credentials for use with the --auto-login flag.")] public class LoginConfig { [Option(longName: "email", HelpText = "Email address.")] public String Email { get; set; } [Option(longName: "password", HelpText = "Password.")] public String Password { get; set; } } }