示例#1
0
 public secondRule(EventWaitHandle ewh, object receptGrid, DataTable table, object weight, object taraButon, object ned_weightBox, DateTime StartTime, object name)
 {
     grid       = receptGrid;
     stoper     = ewh;
     table_w    = table;
     dataRead   = new redWeight(weight);
     tara       = (Button)taraButon;
     ned_weight = ned_weightBox;
     start      = StartTime;
     text       = name;
 }
示例#2
0
 public firstRule(EventWaitHandle ewh, object taraButon, object weight)
 {
     tara     = (Button)taraButon;
     dataRead = new redWeight(weight);
     stoper   = ewh;
 }