Basf_TCC11/HJGL/FineUIPro.Web/PublicInfo/BaseInfo/PressureView.aspx.cs

34 lines
1.1 KiB
C#
Raw Normal View History

2024-05-08 16:27:28 +08:00
using System;
using System.Linq;
namespace FineUIPro.Web.PublicInfo.BaseInfo
{
public partial class PressureView : PageBase
{
#region
/// <summary>
/// 加载页面
/// </summary>
/// <param name="sender"></param>
/// <param name="e"></param>
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
this.btnClose.OnClientClick = ActiveWindow.GetHideReference();
string PressureId = Request.Params["PressureId"];
if (!string.IsNullOrEmpty(PressureId))
{
Model.Base_Pressure getPressure = BLL.Base_PressureService.GetPressureByPressureId(PressureId);
if (getPressure != null)
{
this.txtPressureCode.Text = getPressure.PressureCode;
this.txtPressureName.Text = getPressure.PressureName;
this.txtRemark.Text = getPressure.Remark;
}
}
}
}
#endregion
}
}