aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel
diff options
context:
space:
mode:
authorVictoria Plitt <Victoria.Plitt@twine-s.com>2022-04-27 17:49:39 +0300
committerVictoria Plitt <Victoria.Plitt@twine-s.com>2022-04-27 17:49:39 +0300
commit252da88f11fae37ff27da293d1e919640ad54e68 (patch)
tree50b49a0c9adf513eeb47a6df9456c806974cef9a /Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel
parent4412c2ad69064eeb37a002eaa388b161efdc6410 (diff)
downloadTango-252da88f11fae37ff27da293d1e919640ad54e68.tar.gz
Tango-252da88f11fae37ff27da293d1e919640ad54e68.zip
Color calibration tab - Apply to RML , export data to excel file.
Related Work Items: #6482
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel')
-rw-r--r--Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel/ColorCalibrationDataExcel.cs73
1 files changed, 73 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel/ColorCalibrationDataExcel.cs b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel/ColorCalibrationDataExcel.cs
new file mode 100644
index 000000000..0a5caa0b7
--- /dev/null
+++ b/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.ThreadExtensions/Excel/ColorCalibrationDataExcel.cs
@@ -0,0 +1,73 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.MachineStudio.ThreadExtensions.Excel
+{
+ //Property Names should be the same as define names in excel file. Each define name should be unique by worksheet.
+ public class CyanColorCalibrationDataExcel
+ {
+ public double Ink_C { get; set; }
+ public double L_C { get; set; }
+ public double A_C { get; set; }
+ public double B_C { get; set; }
+ public double X_C { get; set; }
+ public double Y_C { get; set; }
+
+ public CyanColorCalibrationDataExcel()
+ {
+ Ink_C= 0;
+ L_C = A_C = B_C = X_C = Y_C = 0;
+ }
+ }
+
+ public class MagentaColorCalibrationDataExcel
+ {
+ public double Ink_M { get; set; }
+ public double L_M { get; set; }
+ public double A_M { get; set; }
+ public double B_M { get; set; }
+ public double X_M { get; set; }
+ public double Y_M { get; set; }
+
+ public MagentaColorCalibrationDataExcel()
+ {
+ Ink_M = 0;
+ L_M = A_M = B_M = X_M = Y_M = 0;
+ }
+ }
+
+ public class YellowColorCalibrationDataExcel
+ {
+ public double Ink_Y { get; set; }
+ public double L_Y { get; set; }
+ public double A_Y { get; set; }
+ public double B_Y { get; set; }
+ public double X_Y { get; set; }
+ public double Y_Y { get; set; }
+
+ public YellowColorCalibrationDataExcel()
+ {
+ Ink_Y = 0;
+ L_Y = A_Y = B_Y = X_Y = Y_Y = 0;
+ }
+ }
+
+ public class BlackColorCalibrationDataExcel
+ {
+ public double Ink_B { get; set; }
+ public double L_B { get; set; }
+ public double A_B { get; set; }
+ public double B_B { get; set; }
+ public double X_B { get; set; }
+ public double Y_B { get; set; }
+
+ public BlackColorCalibrationDataExcel()
+ {
+ Ink_B = 0;
+ L_B = A_B = B_B = X_B = Y_B = 0;
+ }
+ }
+}