blob: 4d3b0015dd9366b1b2ddcf7647a451e38cf78e6a (
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
35
36
37
38
|
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.BL.Enumerations;
namespace Tango.BL.Entities
{
public class RubbingResult: RubbingResultBase
{
public RubbingResult(): base()
{
DeltaeCie100 = 0.0;
Gs100 = 0.0;
DeltaeCie200 = 0.0;
Gs200 = 0.0;
}
#region value to enum conversion
[NotMapped]
[JsonIgnore]
public TestResultColors TestResultColor
{
get { return (TestResultColors)Color; }
set
{
Color = (int)value;
RaisePropertyChangedAuto();
}
}
#endregion
}
}
|