public EnumParameterController(EnumParameter m) { if (m == null) { throw new ArgumentNullException("m"); } _m = m; }
private IParameter GetFluxPlaceParameter() { IParameter p = this.GeneralGroup.Parameters[PN_FLUXPLACE]; if (p == null) { p = new EnumParameter(PN_FLUXPLACE, typeof(FluxPlace), FluxPlace.Unknown, PO_FLUXPLACE); p.Text = "位置"; this.GeneralGroup.Parameters.Add(p); } return(p); }
/// <summary> /// /// </summary> /// <returns></returns> private IParameter GetHeatTransferModeParameter() { IParameter p = this.GeneralGroup.Parameters[PN_HEATTRANSFERMODE]; if (p == null) { p = new EnumParameter( PN_HEATTRANSFERMODE, typeof(ModeValue), ModeValue.Mixed, PO_HEATTRANSFERMODE); p.Text = "���ȷ�ʽ"; this.GeneralGroup.Parameters.Add(p); } return p; }
private IParameter GetFluxPlaceParameter() { IParameter p = this.GeneralGroup.Parameters[PN_FLUXPLACE]; if (p == null) { p = new EnumParameter(PN_FLUXPLACE, typeof(FluxPlace), FluxPlace.Unknown, PO_FLUXPLACE); p.Text = "�"; this.GeneralGroup.Parameters.Add(p); } return p; }