aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/TCC/Tango.TCC.BL/Web
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/TCC/Tango.TCC.BL/Web')
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionRequest.cs2
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionResponse.cs2
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionRequest.cs13
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs32
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginRequest.cs20
-rw-r--r--Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginResponse.cs15
6 files changed, 81 insertions, 3 deletions
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionRequest.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionRequest.cs
index 2ee202acc..ba411dda6 100644
--- a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionRequest.cs
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionRequest.cs
@@ -9,7 +9,7 @@ namespace Tango.TCC.BL.Web
{
public class ColorDetectionRequest : WebRequestMessage
{
- public int Number { get; set; }
public String BitmapString { get; set; }
+ public String Barcode { get; set; }
}
}
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionResponse.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionResponse.cs
index a58d1a414..afc53b26c 100644
--- a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionResponse.cs
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/ColorDetectionResponse.cs
@@ -10,8 +10,6 @@ namespace Tango.TCC.BL.Web
{
public class ColorDetectionResponse : WebResponseMessage
{
- public int Number { get; set; }
-
public DetectionColor RawColor { get; set; }
public DetectionColor ProcessedColor { get; set; }
}
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionRequest.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionRequest.cs
new file mode 100644
index 000000000..6082fedaf
--- /dev/null
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionRequest.cs
@@ -0,0 +1,13 @@
+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 DefinitionRequest : WebRequestMessage
+ {
+ }
+}
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
new file mode 100644
index 000000000..d6161e738
--- /dev/null
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/DefinitionResponse.cs
@@ -0,0 +1,32 @@
+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 DefinitionResponse()
+ {
+ SampleWidth = 300;
+ SampleHeight = 330;
+ CameraWidth = 1280;
+ CameraHeight = 720;
+ SimilarityTolerance = 50;
+ HistogramMethod = CardDetectionHistogramMethods.Chi_Square;
+ EnableDoubleChecking = true;
+ }
+ }
+}
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginRequest.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginRequest.cs
new file mode 100644
index 000000000..5f3a66daa
--- /dev/null
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginRequest.cs
@@ -0,0 +1,20 @@
+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 LoginRequest : WebRequestMessage
+ {
+ public String Email { get; set; }
+ public String Password { get; set; }
+ public String AppID { get; set; }
+
+ public String Device { get; set; }
+ public String DeviceID { get; set; }
+ public String OSVersion { get; set; }
+ }
+}
diff --git a/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginResponse.cs b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginResponse.cs
new file mode 100644
index 000000000..054e18ce1
--- /dev/null
+++ b/Software/Visual_Studio/TCC/Tango.TCC.BL/Web/LoginResponse.cs
@@ -0,0 +1,15 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+using Tango.Transport.Web;
+using Tango.Web.Security;
+
+namespace Tango.TCC.BL.Web
+{
+ public class LoginResponse : WebTokenResponse
+ {
+
+ }
+}