예제 #1
0
 public ServerWithDetail(Server sp, Server_type st, Server_model sm, Server_cpu sc, Proc_ch pc, Server_hdd_type ht, Hdd_ob hb, Ram_ob r, Otdel otd, Worker wk, Worker otv, Worker mat, Worker rukov, Server_dvd sd, Server_dvd_sp sdp, Server_dvd_type sdt, Server_ethernet se, Server_sound ss, Server_strimer str, Server_video sv, Server_video_type svt, Monitor_name m, Monitor_size ms, Printer_name pn, Ibp i, Input_type it, Input_type itm, Server_room srm)
 {
     //TO DO: Complete Member Initialization
     this.Server            = sp;
     this.Server_type       = st;
     this.Server_model      = sm;
     this.Server_cpu        = sc;
     this.Proc_ch           = pc;
     this.Server_hdd_type   = ht;
     this.Hdd_ob            = hb;
     this.Ram_ob            = r;
     this.Otdel             = otd;
     this.Worker            = wk;
     this.Worker2           = otv;
     this.Worker3           = mat;
     this.Worker4           = rukov;
     this.Server_dvd        = sd;
     this.Server_dvd_sp     = sdp;
     this.Server_dvd_type   = sdt;
     this.Server_ethernet   = se;
     this.Server_sound      = ss;
     this.Server_strimer    = str;
     this.Server_video      = sv;
     this.Server_video_type = svt;
     this.Monitor_name      = m;
     this.Monitor_size      = ms;
     this.Printer_name      = pn;
     this.Ibp         = i;
     this.Input_type  = it;
     this.Input_type2 = itm;
     this.Server_room = srm;
 }
예제 #2
0
 public CompWithelement(Computer c, Worker work, Position pos, Cabinet cab, Otdel o, Typec t, Proc p, Proc_ch pc, Ram_ob r, Hdd_ob h, Monitor_size ms, Ups u, Ethernet setkarta, Workstation workgr, Change inet, Change ecedo, Worker rukov_p, Worker rukov_x, Worker passport)
 {
     //TO DO: Complete Member Initialization
     this.Computer     = c;
     this.Worker       = work;
     this.Position     = pos;
     this.Cabinet      = cab;
     this.Otdel        = o;
     this.Typec        = t;
     this.Proc         = p;
     this.Proc_ch      = pc;
     this.Ram_ob       = r;
     this.Hdd_ob       = h;
     this.Monitor_size = ms;
     this.Ups          = u;
     this.Ethernet     = setkarta;
     this.Workstation  = workgr;
     this.Internet     = inet;
     this.Ecedo        = ecedo;
     this.Worker       = rukov_p;
     this.Worker       = rukov_x;
     this.Worker       = passport;
 }