aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core/CustomAttributes
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2020-01-23 14:34:55 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2020-01-23 14:34:55 +0200
commit60a2692fd4acadfdf8724bb198e38a2689a866fd (patch)
treee0924aa7d75c61875419dca7c31b338addd8661e /Software/Visual_Studio/Tango.Core/CustomAttributes
parent73433f297a3361511ba8ff99e2ff852e376987c5 (diff)
downloadTango-60a2692fd4acadfdf8724bb198e38a2689a866fd.tar.gz
Tango-60a2692fd4acadfdf8724bb198e38a2689a866fd.zip
Added new staple spun process parameters to database, BL and PMR.
Implemented process params index via db. Added new process params in MS. Added JOB_RUN => Upload time, Heating Time, IsGradient...
Diffstat (limited to 'Software/Visual_Studio/Tango.Core/CustomAttributes')
-rw-r--r--Software/Visual_Studio/Tango.Core/CustomAttributes/PropertyIndexAttribute.cs24
1 files changed, 24 insertions, 0 deletions
diff --git a/Software/Visual_Studio/Tango.Core/CustomAttributes/PropertyIndexAttribute.cs b/Software/Visual_Studio/Tango.Core/CustomAttributes/PropertyIndexAttribute.cs
new file mode 100644
index 000000000..c9a4fbc9d
--- /dev/null
+++ b/Software/Visual_Studio/Tango.Core/CustomAttributes/PropertyIndexAttribute.cs
@@ -0,0 +1,24 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using System.Text;
+using System.Threading.Tasks;
+
+namespace Tango.Core.CustomAttributes
+{
+ [AttributeUsage(AttributeTargets.Property)]
+ public class PropertyIndexAttribute : Attribute
+ {
+ public int Index { get; set; }
+
+ public PropertyIndexAttribute()
+ {
+ Index = 0;
+ }
+
+ public PropertyIndexAttribute(int index) : this()
+ {
+ Index = index;
+ }
+ }
+}