blob: 49a0c03ebd4446204a91081f73e37ae421b32f23 (
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
28
29
30
31
32
33
34
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.BL.Enumerations;
using Tango.PPC.Common.Notifications;
namespace Tango.PPC.UI.Notifications.NotificationItems
{
public class EmptyCartridgesNotification : NotificationItem
{
public List<LiquidType> LiquidTypes { get; set; }
public EmptyCartridgesNotification()
{
Message = "Cartridges are empty, please replace cartridges";
}
public EmptyCartridgesNotification(IEnumerable<LiquidType> liquidTypes) : this()
{
LiquidTypes = liquidTypes.ToList();
}
public override Type ViewType
{
get
{
return typeof(EmptyCartridgesNotificationView);
}
}
}
}
|