Save last
This commit is contained in:
		
							
								
								
									
										67
									
								
								ApiServer/ApiStruct/Date.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										67
									
								
								ApiServer/ApiStruct/Date.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,67 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using ApiServer.Structures;
 | 
			
		||||
using ApiServer.Parametrs;
 | 
			
		||||
 | 
			
		||||
namespace ApiServer.ApiStruct
 | 
			
		||||
{
 | 
			
		||||
	public class DateGetAnalogApi
 | 
			
		||||
	{
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
		public int Index { get; set; }
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DateGetAnalogClient
 | 
			
		||||
	{
 | 
			
		||||
		public Analog[] Analog { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class DateGetAnalogsApi
 | 
			
		||||
	{
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
		public int[] Index { get; set; }
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DateGetAnalogsClient
 | 
			
		||||
	{
 | 
			
		||||
		public AnalogArr[] Analogs { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class DateGetTechCycleApi
 | 
			
		||||
	{
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DateGetTechCycleClient
 | 
			
		||||
	{
 | 
			
		||||
		public TechCycle[] TechCycle { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class DateGetProtectApi
 | 
			
		||||
	{
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DateGetProtectClient
 | 
			
		||||
	{
 | 
			
		||||
		public Protect[] Protect { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class DateGetDiscretApi
 | 
			
		||||
	{
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DateGetDiscretClient
 | 
			
		||||
	{
 | 
			
		||||
		public Discret[] Discret { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										35
									
								
								ApiServer/ApiStruct/Discret.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										35
									
								
								ApiServer/ApiStruct/Discret.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,35 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using ApiServer.Structures;
 | 
			
		||||
using ApiServer.Parametrs;
 | 
			
		||||
 | 
			
		||||
namespace ApiServer.ApiStruct
 | 
			
		||||
{
 | 
			
		||||
	public class DiscretGetiscretsMatrixApi
 | 
			
		||||
	{
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DiscretGetDscretsMatrixClient
 | 
			
		||||
	{
 | 
			
		||||
		public StateStruct[] StateParams { get; set; }
 | 
			
		||||
		public DiscretParams[] DiscretParams { get; set; }
 | 
			
		||||
		public DiscretMatrix[] Discrets { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class DiscretGetiscretsApi
 | 
			
		||||
	{
 | 
			
		||||
		public DateTime Start { get; set; }
 | 
			
		||||
		public DateTime End { get; set; }
 | 
			
		||||
		public int Vdp { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class DiscretGetDscretsClient
 | 
			
		||||
	{
 | 
			
		||||
		public StateStruct[] StateParams { get; set; }
 | 
			
		||||
		public DiscretParams[] DiscretParams { get; set; }
 | 
			
		||||
		public Discret[] Discrets { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										55
									
								
								ApiServer/ApiStruct/Params.cs
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								ApiServer/ApiStruct/Params.cs
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,55 @@
 | 
			
		||||
using System;
 | 
			
		||||
using System.Collections.Generic;
 | 
			
		||||
using System.Linq;
 | 
			
		||||
using System.Threading.Tasks;
 | 
			
		||||
using ApiServer.Structures;
 | 
			
		||||
using ApiServer.Parametrs;
 | 
			
		||||
 | 
			
		||||
namespace ApiServer.ApiStruct
 | 
			
		||||
{
 | 
			
		||||
	public class ParamsGetAnalogApi
 | 
			
		||||
	{
 | 
			
		||||
		public string Name { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class ParamsGetAnalogClient
 | 
			
		||||
	{
 | 
			
		||||
		public AnalogParams[] Analog_params { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class ParamsGetMetricClient
 | 
			
		||||
	{
 | 
			
		||||
		public Metric[] Metrics { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class ParamsGetTechCycleNameClient
 | 
			
		||||
  {
 | 
			
		||||
		public TechCycleName[] Name { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class ParamsGetTechCycleColorClient
 | 
			
		||||
	{
 | 
			
		||||
		public TechCycleColor[] Color { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class ParamsGetStateStructClient
 | 
			
		||||
	{
 | 
			
		||||
		public StateStruct[] StateStruct { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class ParamsGetProtectStateApi
 | 
			
		||||
	{
 | 
			
		||||
		public string Name { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class ParamsGetProtectStateClient
 | 
			
		||||
	{
 | 
			
		||||
		public ProtectState[] ProtectState { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	public class ParamsGetDiscretApi
 | 
			
		||||
	{
 | 
			
		||||
		public string Name { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class ParamsGetDiscretClient
 | 
			
		||||
	{
 | 
			
		||||
		public DiscretParams[] Discret_params { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
@@ -34,5 +34,48 @@ namespace ApiServer.ApiStruct
 | 
			
		||||
	public class PasportGetListClient
 | 
			
		||||
	{
 | 
			
		||||
		public string[] Name { get; set; }
 | 
			
		||||
		public string[] Time { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class PasportGetPasportApi
 | 
			
		||||
	{
 | 
			
		||||
		public DateTime Date { get; set; }
 | 
			
		||||
		public string Name { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
	public class PasportGetPasportClient
 | 
			
		||||
	{
 | 
			
		||||
		public bool HasData { get; set; }
 | 
			
		||||
		public byte? NumVDP { get; set; }
 | 
			
		||||
		public string DStart { get; set; }
 | 
			
		||||
		public string DEnd { get; set; }
 | 
			
		||||
 | 
			
		||||
		public bool HasPasport { get; set; }
 | 
			
		||||
		public int Kod_npl { get; set; }
 | 
			
		||||
		public string Nplav { get; set; }
 | 
			
		||||
		public string Rm { get; set; }
 | 
			
		||||
		public string Splav { get; set; }
 | 
			
		||||
		public string IS { get; set; }
 | 
			
		||||
		public ushort Notd { get; set; }
 | 
			
		||||
		public ushort Vessl { get; set; }
 | 
			
		||||
		public ushort Diam { get; set; }
 | 
			
		||||
		public ushort Prpl { get; set; }
 | 
			
		||||
		public string Tin { get; set; }
 | 
			
		||||
		public string Dzap { get; set; }
 | 
			
		||||
		public short Dlog { get; set; }
 | 
			
		||||
		public short Last { get; set; }
 | 
			
		||||
		public short Dlper { get; set; }
 | 
			
		||||
		public string Nazn { get; set; }
 | 
			
		||||
		public ushort Kompl { get; set; }
 | 
			
		||||
		public ushort Izl { get; set; }
 | 
			
		||||
		public float Robm { get; set; }
 | 
			
		||||
		public float Rizol { get; set; }
 | 
			
		||||
		public ushort Dkr { get; set; }
 | 
			
		||||
		public string Nkon { get; set; }
 | 
			
		||||
		public string Pos { get; set; }
 | 
			
		||||
		public string Ukaz { get; set; }
 | 
			
		||||
		public string Zakaz { get; set; }
 | 
			
		||||
		public string Kat { get; set; }
 | 
			
		||||
		public string Pril { get; set; }
 | 
			
		||||
		public string Rezerved { get; set; }
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user