Subversion Repositories DevTools

Rev

Rev 7240 | Rev 7246 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7240 Rev 7242
Line 39... Line 39...
39
        OraDatabase.Parameters.Add "PV_ID",   Request("pv_id"),     ORAPARM_INPUT, ORATYPE_NUMBER
39
        OraDatabase.Parameters.Add "PV_ID",   Request("pv_id"),     ORAPARM_INPUT, ORATYPE_NUMBER
40
        Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("CalcRippleTime.sql"), cint(0))
40
        Set rsTemp = OraDatabase.DbCreateDynaset( GetQuery("CalcRippleTime.sql"), cint(0))
41
        OraDatabase.Parameters.Remove "PV_ID"
41
        OraDatabase.Parameters.Remove "PV_ID"
42
        OraDatabase.Parameters.Remove "RTAG_ID"
42
        OraDatabase.Parameters.Remove "RTAG_ID"
43
        If rsTemp.RecordCount > 0 Then 
43
        If rsTemp.RecordCount > 0 Then 
44
            TotalBuildTime = CLng (rsTemp("Total_BuildTime"))
44
            TotalBuildTime = NiceCLng (rsTemp("Total_BuildTime"), 0)
45
            BuildTime = CLng (rsTemp("BuildTime"))
45
            BuildTime = NiceCLng (rsTemp("BuildTime"), 0)
46
			If TotalBuildTime > 2 * 60 * 60 Then
46
			If TotalBuildTime > 2 * 60 * 60 Then
47
                bLongBuild = TRUE
47
                bLongBuild = TRUE
48
            End If
48
            End If
49
        End If
49
        End If
50
        rsTemp.Close()
50
        rsTemp.Close()
Line 196... Line 196...
196
       <!--#include file="messages/_msg_inline.asp"-->
196
       <!--#include file="messages/_msg_inline.asp"-->
197
   </div>
197
   </div>
198
   <div class='textPanel PanelPad'>
198
   <div class='textPanel PanelPad'>
199
       <img class=PanelCell src="images/i_warning.gif" style="margin:0 7px 20px 0;">
199
       <img class=PanelCell src="images/i_warning.gif" style="margin:0 7px 20px 0;">
200
       <span class=PanelCell>Approve this package for autobuild
200
       <span class=PanelCell>Approve this package for autobuild
201
	        <p>Estimated build duration: <%=NiceDuration(BuildTime)%>
201
	        <p>Estimated build duration: <%=IIF(BuildTime > 0, NiceDuration(BuildTime), "Unknown")%>
202
			<br>Estimated duration of complete ripple: <%=NiceDuration(TotalBuildTime)%>
202
			<br>Estimated duration of complete ripple: <%=IIF(TotalBuildTime, NiceDuration(TotalBuildTime), "Unknown")%>
203
	   </span>
203
	   </span>
204
   </div>
204
   </div>
205
<%If bLongBuild Then%>
205
<%If bLongBuild Then%>
206
   <div class='textPanel PanelPad informPanel'>
206
   <div class='textPanel PanelPad informPanel'>
207
       <img class=PanelCell src="images/s_warning.gif">
207
       <img class=PanelCell src="images/s_warning.gif">