Example #1
0
 public MainWindow()
 {
     InitializeComponent();
     Title       = LicenceHelper.SoftName + " - IN";
     Stop        = new StopHelper();
     DataContext = this;
     Closing    += MainWindow_Closing;
     Loaded     += MainWindow_Loaded;
     IOInit();
     InitTrigger();
 }
Example #2
0
 public Line(int lineNo, CountHelper count, LineOut lineOut, IOCard ioCard, StopHelper stopHelper)
 {
     Name = Config.Trigger[lineNo - 1].Name;
     OnPropertyChanged(nameof(Name));
     LineNo          = lineNo;
     Count           = count;
     LineOut         = lineOut;
     iOCard          = ioCard;
     Stop            = stopHelper;
     traceDataHelper = new TraceDataHelper();
     traceDataHelper.Init();
 }