Save last
This commit is contained in:
		@@ -8,34 +8,7 @@ namespace DataClient.Struct
 | 
			
		||||
{
 | 
			
		||||
  public class TechCycle
 | 
			
		||||
  {
 | 
			
		||||
 | 
			
		||||
    public enum Oper : sbyte
 | 
			
		||||
    {
 | 
			
		||||
      errno = sbyte.MinValue,
 | 
			
		||||
      end_cycle_manual = -1,
 | 
			
		||||
      end_cycle = 0,
 | 
			
		||||
      unload_load = 1,
 | 
			
		||||
      vac_priv = 2,
 | 
			
		||||
      priv = 5,
 | 
			
		||||
      cool_priv = 6,
 | 
			
		||||
      look_priv = 7,
 | 
			
		||||
      vac_plav = 8,
 | 
			
		||||
      melt_bath = 9,
 | 
			
		||||
      plav = 10,
 | 
			
		||||
      VUR = 11,
 | 
			
		||||
      cool_plav = 12,
 | 
			
		||||
      unload_kit = 13,
 | 
			
		||||
      vac_oplav = 14,
 | 
			
		||||
      oplav = 15,
 | 
			
		||||
      cool_oplav = 16,
 | 
			
		||||
      flow_metal = 17,
 | 
			
		||||
      check_protect = 25
 | 
			
		||||
    }
 | 
			
		||||
    public DateTime start;
 | 
			
		||||
    public sbyte? index;
 | 
			
		||||
    public Oper Operation {
 | 
			
		||||
      get { return (index.HasValue && Enum.IsDefined(typeof(Oper), index.Value)) ? (Oper)index : Oper.errno; }
 | 
			
		||||
			set { index = (sbyte)value; }
 | 
			
		||||
    }
 | 
			
		||||
    public DateTime StartDateTime { get; set; }
 | 
			
		||||
    public sbyte? Index { get; set; }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										20
									
								
								DataClient/Struct/TechCycleParams.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								DataClient/Struct/TechCycleParams.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,20 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
namespace DataClient.Struct
 | 
			
		||||
{
 | 
			
		||||
  public class TechCyclesParams
 | 
			
		||||
  {
 | 
			
		||||
    public sbyte[] Index { get; set; }
 | 
			
		||||
    public string[] Colors { get; set; }
 | 
			
		||||
    public string[] Names { get; set; }
 | 
			
		||||
    public TechCyclesParams()
 | 
			
		||||
    {
 | 
			
		||||
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										14
									
								
								DataClient/Struct/TechCycles.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										14
									
								
								DataClient/Struct/TechCycles.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,14 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Text;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
 | 
			
		||||
namespace DataClient.Struct
 | 
			
		||||
{
 | 
			
		||||
  public class TechCycles
 | 
			
		||||
  {
 | 
			
		||||
    public DateTime StartDateTime { get; set; }
 | 
			
		||||
    public sbyte? Index { get; set; }
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user