// y is a parameter public IConstraints5MConstraintElement Create( IrIndexElement rIndexElement, IsIndexElement sIndexElement, IB B, Interfaces.Parameters.SurgeonOperatingRoomAssignments.Iy y, Interfaces.Variables.Ib b) { IConstraints5MConstraintElement constraintElement = null; try { constraintElement = new Constraints5MConstraintElement( rIndexElement, sIndexElement, B, y, b); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(constraintElement); }
// y is a variable public IConstraints5MConstraintElement Create( IrIndexElement rIndexElement, IsIndexElement sIndexElement, IB B, Ib b, Iy y) { IConstraints5MConstraintElement constraintElement = null; try { constraintElement = new Constraints5MConstraintElement( rIndexElement, sIndexElement, B, b, y); } catch (Exception exception) { this.Log.Error( exception.Message, exception); } return(constraintElement); }