aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
blob: ea09dfdef5d56d71d760d5610e952dd602dbe0de (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
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Transport.Web;

namespace Tango.TCC.BL.Web
{
    public class DefinitionResponse : WebResponseMessage
    {
        public String TemplateString { get; set; }
        public int SampleWidth { get; set; }
        public int SampleHeight { get; set; }
        public int CameraWidth { get; set; }
        public int CameraHeight { get; set; }
        public double SimilarityTolerance { get; set; }
        public CardDetectionHistogramMethods HistogramMethod { get; set; }
        public bool EnableDoubleChecking { get; set; }
        public bool EnforceBarcodeDetection { get; set; }
        public List<String> OrganizationMachines { get; set; }
        public bool IsRegistered { get; set; }

        public DefinitionResponse()
        {
            SampleWidth = 300;
            SampleHeight = 330;
            CameraWidth = 1280;
            CameraHeight = 720;
            SimilarityTolerance = 50;
            HistogramMethod = CardDetectionHistogramMethods.Chi_Square;
            EnableDoubleChecking = true;
            EnforceBarcodeDetection = true;
            OrganizationMachines = new List<string>();
        }
    }
}