protected void Page_Load(object sender, EventArgs e) { ASSERTLOGREQ vrParameter = new ASSERTLOGREQ(); ASSERTLOG[] vrResult; ; GetPageCtrlValue(out vrParameter.szReqExtInfo); if (m_Request.Assert.AssertLogGet(vrParameter, out vrResult) == REQUESTCODE.EXECUTE_SUCCESS) { for (int i = 0; i < vrResult.Length; i++) { m_szOut += "<tr>"; m_szOut += "<td>" + vrResult[i].szDevName + "</td>"; m_szOut += "<td>" + vrResult[i].szOpDetail + "</td>"; m_szOut += "<td>" + Get1970Date(vrResult[i].dwOpTime) + "</td>"; m_szOut += "<td>" + 0 + "</td>"; m_szOut += "<td>" + "openrule" + "</td>"; m_szOut += "<td>" + 0 + "</td>"; m_szOut += "<td><div class='OPTD class2'></div></td>"; m_szOut += "</tr>"; } UpdatePageCtrl(m_Request.Device); } PutBackValue(); }
protected void Page_Load(object sender, EventArgs e) { ASSERTLOGREQ vrParameter = new ASSERTLOGREQ(); ASSERTLOG[] vrResult; GetHTTPObj(out vrParameter); GetPageCtrlValue(out vrParameter.szReqExtInfo); szKind = GetInputItemHtml(CONSTHTML.option, "", "全部", "0"); szKind += GetInputHtmlFromXml(0, CONSTHTML.option, "", "dwOpKind", true); if (vrParameter.dwOpKind == 0) { vrParameter.dwOpKind = null; } if (vrParameter.szReqExtInfo.szOrderKey == null) { vrParameter.szReqExtInfo.szOrderKey = "dwOpTime"; vrParameter.szReqExtInfo.szOrderMode = "desc"; } if (m_Request.Assert.AssertLogGet(vrParameter, out vrResult) == REQUESTCODE.EXECUTE_SUCCESS) { UpdatePageCtrl(m_Request.Assert); for (int i = 0; i < vrResult.Length; i++) { m_szOut += "<tr>"; m_szOut += "<td>" + vrResult[i].szAssertSN + "</td>"; m_szOut += "<td>" + vrResult[i].szDevName + "</td>"; m_szOut += "<td>" + GetJustNameEqual(vrResult[i].dwOpKind, "dwOpKind") + "</td>"; m_szOut += "<td>" + vrResult[i].szOpDetail + "</td>"; m_szOut += "<td>" + Get1970Date(vrResult[i].dwOpTime) + "</td>"; m_szOut += "<td>" + vrResult[i].szOperatorName + "</td>"; m_szOut += "</tr>"; } } PutBackValue(); }