Advertisement
Guest User

Untitled

a guest
Nov 21st, 2013
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 3.15 KB | None | 0 0
  1. public class Plavka
  2.     {
  3.         //подготовка
  4.         public Guid id { get; set; }
  5.         public int plavka { get; set; }
  6.         public DateTime? dataPrig { get; set; }
  7.         public int? smena { get; set; }
  8.         public string masterFIO { get; set; }
  9.         public int? catMetal { get; set; }
  10.         //ОТК
  11.         public int? nKonveera { get; set; }
  12.         public string otkFIO { get; set; }
  13.         public bool status { get; set; }
  14.         public double? mBrak { get; set; }
  15.         public bool? brak { get; set; }
  16.         public string comments { get; set; }
  17.         //разрыв
  18.         public DateTime? dataPered { get; set; }
  19.         public string masterFIOPered { get; set; }
  20.         public int? smenaPered { get; set; }
  21.         public int? nSteluga { get; set; }
  22.         public double? mSteluga { get; set; }
  23.         public double? mBrutto { get; set; }
  24.         public double? mNetto { get; set; }
  25.         //справочники
  26.         public ArrayList metalCategory { get; set; }
  27.        
  28.  
  29.         public Plavka() { }
  30.  
  31.         public Plavka(Guid ID, int _Plavka, DateTime DataPrig, int Smena, string MasterFIO, int NKonveera,
  32.             string OtkFIO, bool Status, double MBrak, string Comments, DateTime DataPered,
  33.             string MasterFIOPered, int CatMetal, int NSteluga, double MSteluga, double MBrutto, double MNetto,
  34.             bool Brak, int SmenaPered, ArrayList MetalCategory)
  35.         {
  36.             this.id = ID;
  37.             this.plavka = _Plavka;
  38.             this.dataPrig = DataPrig;
  39.             this.smena = Smena;
  40.             this.masterFIO = MasterFIO;
  41.             this.nKonveera = NKonveera;
  42.             this.otkFIO = OtkFIO;
  43.             this.status = Status;
  44.             this.mBrak = MBrak;
  45.             this.comments = Comments;
  46.             this.dataPered = DataPered;
  47.             this.masterFIOPered = MasterFIOPered;
  48.             this.catMetal = CatMetal;
  49.             this.nSteluga = NSteluga;
  50.             this.mSteluga = MSteluga;
  51.             this.mBrutto = MBrutto;
  52.             this.mNetto = MNetto;
  53.             this.brak = Brak;
  54.             this.smenaPered = SmenaPered;
  55.  
  56.             this.metalCategory = MetalCategory;
  57.         }
  58. }
  59.  
  60. //класс Пакет
  61. public class Paket
  62.     {
  63.         public Guid id { get; set; }
  64.         public int paket { get; set; }
  65.         public DateTime? dataUpak { get; set; }
  66.         public double? mBrutto { get; set; }
  67.         public double? mNetto { get; set; }
  68.         public double? mBrak { get; set; }
  69.         public double? mOst { get; set; }
  70.         public Guid? part { get; set; }
  71.         public int? numPaket { get; set; }
  72.  
  73.         public Paket() { }
  74.  
  75.         public Paket(Guid Id, int Paket, DateTime? DataUpak, double? Mbrutto, double? Mnetto, double? Mbrak,
  76.             double? MOst, Guid? Part, int? NumPaket)
  77.         {
  78.             this.id = Id;
  79.             this.paket = Paket;
  80.             this.dataUpak = DataUpak;
  81.             this.mBrutto = Mbrutto;
  82.             this.mNetto = Mnetto;
  83.             this.mBrak = Mbrak;
  84.             this.mOst = MOst;
  85.             this.part = Part;
  86.             this.numPaket = NumPaket;
  87.         }
  88.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement