blob: 2349941fe0184528a28dd278947bfc8e090812b3 (
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
|
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Core.Commands;
using Tango.DAL.Observables;
using Tango.MachineStudio.Common.Notifications;
using Tango.SharedUI;
namespace Tango.MachineStudio.DB.ViewModels
{
public class MachinesViewVM : DbTableViewModel<Machine>
{
public MachinesViewVM(INotificationProvider notification) : base(notification)
{
}
protected override void InitializeEntity(Machine entity)
{
base.InitializeEntity(entity);
entity.ProductionDate = DateTime.UtcNow;
}
}
}
|