Beispiel #1
0
 public ManageMaterialVm(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitializeVm();
 }
Beispiel #2
0
 public UndercartMaintainVm(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitializeVm();
 }
Beispiel #3
0
 public AirframeMaintainVm(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitializeVm();
 }
Beispiel #4
0
 public SupplierRoleManagerVM(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitialSupplierCompany(); //初始化合作公司。
 }
Beispiel #5
0
 public ForwarderManagerVM(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitialForward();
 }
 public EngineLeaseReceptionManagerVM(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitializeVM();
     InitializerCommand();
 }
 public MatchingPlanAircraftManagerVM(IRegionManager regionManager, IPurchaseService service)
     : base(service)
 {
     _regionManager = regionManager;
     _service = service;
     _context = _service.Context;
     InitializeVM();
     InitializerCommand();
 }
Beispiel #8
0
 public LinkManManagerVM(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitialSupplierCompany(); //初始化合作公司。
     InitialLinkMan(); //初始化联系人。
     InitialLinkManCommand(); //初始化联系人相关命令。
 }
Beispiel #9
0
 public QuerySupplierVM(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitialSupplierCompany(); //初始化合作公司。
     InitialSupplier(); //初始化联系人。
     InitialLinkMan(); //初始化联系人。
     InitialSupplierCompanyAcMaterial(); //初始化合作公司飞机物料
     InitialSupplierCompanyBfeMaterial(); //初始化合作公司BFE物料
     InitialSupplierCompanyEngineMaterial(); //初始化合作公司发动机物料
 }
 public SupplierMaterialManagerVM(IPurchaseService service)
     : base(service)
 {
     _service = service;
     _context = _service.Context;
     InitialSupplierCompany(); //初始化合作公司
     InitialSupplierCompanyAcMaterial(); //初始化合作公司飞机物料
     InitialSupplierCompanyBfeMaterial(); //初始化合作公司BFE物料
     InitialSupplierCompanyEngineMaterial(); //初始化合作公司发动机物料
     InitialOperatorCommad(); //初始化操作按钮
     InitialAircraftMaterial(); //飞机物料信息初始化
     InitialEngineMaterial(); //发动机物料按钮初始化
     InitialBfeMaterial(); //初始化BFE
     InitialMaterialChild(); //初始化维护物料按钮
 }
Beispiel #11
0
        public BFEPurchaseVM(IPurchaseService service)
            : base(service)
        {
            _service = service;
            _context = _service.Context;

            AddTradeCommand = new DelegateCommand<object>(OnAddTrade, CanAddTrade);
            RemoveTradeCommand = new DelegateCommand<object>(OnRemoveTrade, CanRemoveTrade);
            AddOrderCommand = new DelegateCommand<object>(OnAddOrder, CanAddOrder);
            RemoveOrderCommand = new DelegateCommand<object>(OnRemoveOrder, CanRemoveOrder);
            RemoveDocCommand = new DelegateCommand<object>(OnRemoveDoc, CanRemoveDoc);
            AddOrderLineCommand = new DelegateCommand<object>(OnAddOrderLine, CanAddOrderLine);
            RemoveOrderLineCommand = new DelegateCommand<object>(OnRemoveOrderLine, CanRemoveOrderLine);
            AddContentCommand = new DelegateCommand<object>(OnAddContent, CanAddContent);
            RemoveContentCommand = new DelegateCommand<object>(OnRemoveContent, CanRemoveContent);
            CommitCommand = new DelegateCommand<object>(OnCommit, CanCommit);
            CheckCommand = new DelegateCommand<object>(OnCheck, CanCheck);

            InitializeVM();
        }
Beispiel #12
0
        public ReceptionVm(IPurchaseService service)
            : base(service)
        {
            _service = service;
            _context = _service.Context;

            ScheduleExtension = new SchdeuleExtension.ControlExtension();

            NewCommand = new DelegateCommand<object>(OnNew, CanNew);
            RemoveCommand = new DelegateCommand<object>(OnRemove, CanRemove);
            AddEntityCommand = new DelegateCommand<object>(OnAddEntity, CanAddEntity);
            RemoveEntityCommand = new DelegateCommand<object>(OnRemoveEntity, CanRemoveEntity);
            //GridView单元格值变更
            CellEditEndCommand = new DelegateCommand<object>(OnCellEditEnd);
            //文档
            RemoveAttachCommand = new DelegateCommand<object>(OnRemoveAttach);
            //ScheduleView
            CreateCommand = new DelegateCommand<object>(OnCreated);
            EditCommand = new DelegateCommand<object>(OnEdited);
            DelCommand = new DelegateCommand<object>(OnDeleted);
        }
Beispiel #13
0
 public ManageContractVm(IRegionManager regionManager, IPurchaseService service)
     : base(service)
 {
     _regionManager = regionManager;
     _service = service;
     _context = _service.Context;
     InitialDocumentPath(); //初始化文档路径
     InitialCommad(); //初始化命令
     InitialDocument();
 }
Beispiel #14
0
 public PurchaseService()
 {
     context = new PurchaseData(AgentHelper.PurchaseUri);
 }
Beispiel #15
0
 public QueryContractVm(IPurchaseService service)
     : base(service)
 {
     _context = service.Context;
 }