client/src/Iri.Modernisation.Controls/ViewModel/ProductionView/ProductionViewVM.cs
author Matthieu Totet
Mon, 07 Dec 2009 10:36:55 +0100
changeset 18 66911d0f0eb6
parent 16 dde0338cb539
child 19 7d044e7562ea
permissions -rw-r--r--
Update ProductionView
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     1
using System;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     2
using System.Net;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     3
using System.Windows;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     4
using System.Windows.Controls;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     5
using System.Windows.Documents;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     6
using System.Windows.Ink;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     7
using System.Windows.Input;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     8
using System.Windows.Media;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
     9
using System.Windows.Media.Animation;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    10
using System.Windows.Shapes;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    11
using Iri.Modernisation.BaseMVVM.Commands;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    12
using Iri.Modernisation.BaseMVVM.ViewModel;
18
66911d0f0eb6 Update ProductionView
Matthieu Totet
parents: 16
diff changeset
    13
using Iri.Modernisation.Controls.View;
16
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    14
namespace Iri.Modernisation.Controls.ViewModel
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    15
{
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    16
    public class ProductionViewVM : BaseMVVM.ViewModel.ViewModel
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    17
    {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    18
        private HeaderProductionVM _headerProductionVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    19
        public HeaderProductionVM ViewModelHeaderProduction
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    20
        {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    21
            get
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    22
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    23
                return _headerProductionVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    24
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    25
            set
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    26
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    27
                _headerProductionVM = value;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    28
                OnPropertyChanged("ViewModelHeaderProduction");
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    29
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    30
        }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    31
        private ProductionTimeLineVM _productionTimeLineVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    32
        public ProductionTimeLineVM ViewModelProductionTimeLine
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    33
        {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    34
            get
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    35
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    36
                return _productionTimeLineVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    37
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    38
            set
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    39
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    40
                _productionTimeLineVM = value;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    41
                OnPropertyChanged("ViewModelProductionTimeLine");
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    42
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    43
        }
18
66911d0f0eb6 Update ProductionView
Matthieu Totet
parents: 16
diff changeset
    44
        //SelectedChapter
16
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    45
        public ProductionViewVM()
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    46
        {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    47
            ViewModelHeaderProduction = new HeaderProductionVM();
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    48
            ViewModelProductionTimeLine = new ProductionTimeLineVM();
18
66911d0f0eb6 Update ProductionView
Matthieu Totet
parents: 16
diff changeset
    49
           
16
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    50
        }
18
66911d0f0eb6 Update ProductionView
Matthieu Totet
parents: 16
diff changeset
    51
66911d0f0eb6 Update ProductionView
Matthieu Totet
parents: 16
diff changeset
    52
       
16
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    53
    }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    54
}