client/src/Iri.Modernisation.Controls/ViewModel/ProductionView/ProductionViewVM.cs
author Matthieu Totet
Thu, 03 Dec 2009 16:05:43 +0100
changeset 16 dde0338cb539
child 18 66911d0f0eb6
permissions -rw-r--r--
Update ProductionView and Components
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;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    13
namespace Iri.Modernisation.Controls.ViewModel
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    14
{
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    15
    public class ProductionViewVM : BaseMVVM.ViewModel.ViewModel
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    16
    {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    17
        private HeaderProductionVM _headerProductionVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    18
        public HeaderProductionVM ViewModelHeaderProduction
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    19
        {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    20
            get
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    21
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    22
                return _headerProductionVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    23
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    24
            set
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    25
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    26
                _headerProductionVM = value;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    27
                OnPropertyChanged("ViewModelHeaderProduction");
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    28
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    29
        }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    30
        private ProductionTimeLineVM _productionTimeLineVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    31
        public ProductionTimeLineVM ViewModelProductionTimeLine
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    32
        {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    33
            get
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    34
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    35
                return _productionTimeLineVM;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    36
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    37
            set
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    38
            {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    39
                _productionTimeLineVM = value;
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    40
                OnPropertyChanged("ViewModelProductionTimeLine");
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    41
            }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    42
        }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    43
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    44
        public ProductionViewVM()
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    45
        {
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    46
            ViewModelHeaderProduction = new HeaderProductionVM();
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    47
            ViewModelProductionTimeLine = new ProductionTimeLineVM();
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    48
        }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    49
    }
dde0338cb539 Update ProductionView and Components
Matthieu Totet
parents:
diff changeset
    50
}