//# __________ PROTOCOL :: PRIVATE __________ #//
 public void AssignNest()
 {
     VmVirtualNest nest = Engine.VirtualNest;
     if( nest == null )
     {
         nest = new VmVirtualNest();
         Engine.VirtualNest = nest;
     }
     nest.Name = _nameTB.Text;
     nest.Note = _noteTB.Text;
 }
Beispiel #2
0
        public VmVirtualNest _AddVirtual(
            String identifier,
            String note,
            String breakdownLocationCode)
        {
            int nestId = _CreateNest(VmNestType.VIRTUAL);

            VmVirtualNest nest = new VmVirtualNest();
            nest.Id                     = nestId;
            nest.Name                   = identifier;
            nest.Note                   = note;
            nest.BreakDownLocationCode  = breakdownLocationCode;
            VmAirportData.Default.AirportOutputData.VirtualNestFile.Append(nest);
            _AddNest(nest);
            return nest;
        }
Beispiel #3
0
 public VmVirtualNest ReplaceVirtual( VmVirtualNest nest)
 {
     VmAirportData.Default.AirportOutputData.VirtualNestFile.Replace(nest);
     return nest;
 }