public MainWindow()
 {
     InitializeComponent();
     //
     // The DataContext serves as the starting point of Binding Paths
     DataContext = new c_MainViewModel();
 }
Example #2
0
        public c_Fabric(c_MainViewModel cMainView)
        {
            m_cMainView = cMainView;

            ADSReadJSon = new ADSReadInterface("MAIN.m_sJsonTrigger");


            ADSReadJSon.Registrate((c_Base_ADSReadInterface)this);



            m_cMHS             = new c_MHS(this);
            m_cAktionHandler   = new c_ActionHandler(this);
            m_cCellArea        = new c_CellArea(this);
            m_cWorkingSchedule = new c_WorkingSchedule();

            m_cWorkingScheduleHandler = new c_WorkingScheduleHandler(this);
            m_bFirstActionInAutoMode  = false; // Wichtig, weil im ersten der Vergleich zur vorherigen Aktion Fehlt
        }