aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Logging/ViewModels/EventDetailsViewVM.cs
blob: 0e3d197488d4e025ac765126ce7048a18147f5c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.Core.Commands;
using Tango.MachineStudio.Common.Notifications;
using Tango.SharedUI;

namespace Tango.MachineStudio.Logging.ViewModels
{
    public class EventDetailsViewVM : DialogViewVM
    {
        public MachinesEvent Event { get; set; }

        public EventDetailsViewVM()
        {

        }

        public EventDetailsViewVM(MachinesEvent ev) : this()
        {
            Event = ev;
        }
    }
}
reate a complete update package (.tup) in order to update this machine offline using a removable storage device.</Run> <LineBreak/> <Run>The latest PPC version is </Run> <Run Foreground="{StaticResource AccentColorBrush}" FontWeight="SemiBold" Text="{Binding LatestVersion,FallbackValue='loading...',TargetNullValue='loading...'}"></Run> </TextBlock> <Grid Margin="0 20 0 0"> <Border Background="{StaticResource Transparent200}" CornerRadius="5" Padding="60" BorderThickness="1" BorderBrush="Silver"> <DockPanel> <DockPanel DockPanel.Dock="Top" Height="40"> <Button Command="{Binding SelectFileCommand}" DockPanel.Dock="Right" BorderBrush="Silver" BorderThickness="1" Padding="0" Height="Auto" Width="40" Margin="5 0 0 0" Style="{StaticResource MaterialDesignFlatButton}"> <material:PackIcon Kind="Folder" /> </Button> <TextBox materialDesign:HintAssist.Hint="Select package location" BorderBrush="Silver" BorderThickness="1" Text="{Binding FilePath}" IsReadOnly="True" VerticalContentAlignment="Center" Padding="10 0 0 0"></TextBox> </DockPanel> <StackPanel DockPanel.Dock="Bottom"> <TextBlock HorizontalAlignment="Center" Text="{Binding Progress.Message,FallbackValue='Ready',TargetNullValue='Ready'}"></TextBlock> <ProgressBar Margin="0 10 0 0" Height="15" IsIndeterminate="{Binding Progress.IsIntermediate}" Value="{Binding Progress.Progress}" Maximum="{Binding Progress.Total}"></ProgressBar> </StackPanel> <Grid> <Button Command="{Binding CreateTupFileCommand}" HorizontalAlignment="Center" VerticalAlignment="Center" Padding="20 10" Height="60" Width="300">GENERATE UPDATE PACKAGE</Button> </Grid> </DockPanel> </Border> </Grid> </DockPanel> </Grid> </DockPanel> </Grid> </UserControl>