using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DataClient.Struct { public struct server { public string name; public string ip; public int port; public string dir; public server(string Ip, int Port, string Dir) { name = "default"; ip = Ip; port = Port; dir = Dir; } public server(string Name, string Ip, int Port, string Dir) { name = Name; ip = Ip; port = Port; dir = Dir; } } public class NetStatus { public enum Status { wait = 0, in_progress = 1, complete = 2 } public uint fullSize = 0; public uint size = 0; public Status stat = Status.wait; } public class TechCycle { public enum Operation : short { 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 Operation index; } }