blob: 26c4144d41b6ac0c73baa2dc8764830ea94fc033 (
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
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Entities;
using Tango.BL.Enumerations;
namespace Tango.BL.Dispensing
{
/// <summary>
/// Represents a dispensing calculator attribute used to decorate an <see cref="IDispensingCalc"/> derived types
/// and define the associated IDS Pack calculation formula code.
/// </summary>
/// <seealso cref="System.Attribute" />
public class DispensingCalcAttribute : Attribute
{
/// <summary>
/// Gets or sets the IDS pack formula.
/// </summary>
public IdsPackFormulas Formula { get; set; }
/// <summary>
/// Initializes a new instance of the <see cref="DispensingCalcAttribute"/> class.
/// </summary>
/// <param name="formula">The IDS pack formula.</param>
public DispensingCalcAttribute(IdsPackFormulas formula)
{
Formula = formula;
}
}
}
|