void addTransportToSite() { var matTrans = new MaterialTransport(); _material.TransportsToSite.Add(matTrans); TransportToSiteDefinitions.Add(new TransportVM(matTrans, this)); }
void addTransportToDisposal() { var matTrans = new MaterialTransport(); _material.TransportsToDispoal.Add(matTrans); TransportToDisposalDefinitions.Add(new TransportVM(matTrans, this)); }
public TransportVM(MaterialTransport transport, IViewModelParent parent) { _transport = transport; _parent = parent; _label1 = transport.Definition.Level1; _label2 = transport.Definition.Level2; _label3 = transport.Definition.Level3; _label4 = transport.Definition.Level4; }
public TransportVM(MaterialTransport transport, ICEMaterialVM parent) { _transport = transport; _parent = parent; }