internal void SetStateNone(Int32 ResourceID, TransferStateEnum State) { foreach (ARPTransfer t in this.Where(x => x.ResourceID == ResourceID && x.transferState == State)) { t.transferState = TransferStateEnum.None; } }
internal ARPTransfer(Part p, PartResourceDefinition RD, TransferStateEnum State) { this.part = p; this.resource = RD; this.transferState = State; this.Active = false; }
internal void AddItem(Part p, PartResourceDefinition RD, TransferStateEnum State) { this.Add(new ARPTransfer(p, RD, State)); }