private PositionInfo GetNewPositionInfo() { PositionInfo positionInfo = null; if (this.TempCurrentPosition != null) { positionInfo = new PositionInfo() { PositionID = PositionInfo.GetNewInstID() }; positionInfo.SetPosition(this.TempCurrentPosition); } return(positionInfo); }