aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/PPC/Tango.PPC.Common/MachineUpdate/MachineUpdateResult.cs
blob: 17ae394ee671f3255f7fee804a1f7c6d5c5c5d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Tango.PPC.Common.MachineUpdate
{
    public class MachineUpdateResult
    {
        /// <summary>
        /// Gets or sets the temporary update package path from which to get the last downloaded software version.
        /// </summary>
        public String UpdatePackagePath { get; set; }
    }
}
Tango.MachineStudio.DB.ViewModels { public class ProcessParametersTablesGroupsViewVM : DbTableViewModel<ProcessParametersTablesGroup> { public ProcessParametersTablesGroupsViewVM(INotificationProvider notification) : base(notification) { } protected override void OnBeforeEntitySave(DialogOpenMode mode, ProcessParametersTablesGroup entity) { entity.SaveDate = DateTime.UtcNow; if (entity.Rml != null && entity.Active) { foreach (var group in entity.Rml.ProcessParametersTablesGroups.Where(x => x != entity)) { group.Active = false; } } base.OnBeforeEntitySave(mode, entity); } } }