Пример #1
0
 public void BuildRouted(SimuViewChartModel svcmodel)
 {
     svcmodel.SDModelSetup  += OnSDModelSetup;
     svcmodel.SDModelClose  += OnSDModelClose;
     svcmodel.SDModelLock   += OnSDModelLock;
     svcmodel.SDModelView   += OnSDModelView;
     svcmodel.SDModelUnlock += OnSDModelUnlock;
     svcmodel.SDModelUnview += OnSDModelUnview;
     truler = svcmodel.TRuler;
     truler.StartLineChanged += OnStartLineChanged;
     truler.EndLineChanged   += OnEndLineChanged;
 }
Пример #2
0
 public SimulateDataChartModel(SimulateDataModel _sdmodel, TimeRuler _truler)
 {
     InitializeComponent();
     truler = _truler;
     Setup(_sdmodel);
 }