ready to test - D
This commit is contained in:
parent
ffc2fbf634
commit
1ab4316c22
@ -379,6 +379,42 @@ function GetMinMax(profilePoints, index) {
|
||||
return { decades, maxDepth, concentrationMin, concentrationMax, resistanceEditedMin, resistanceEditedMax, resistivityMin, resistivityMax };
|
||||
}
|
||||
|
||||
function appendDiv() {
|
||||
const div = document.createElement("div");
|
||||
div.innerHTML = `
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ReactorNo</th>
|
||||
<th>E10State</th>
|
||||
<th>loadedRDS</th>
|
||||
<th>Value</th>
|
||||
<th>TemperatureOffsetPercentage</th>
|
||||
<th>SubGroupIdFormated</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id ="EpiProTempVerification"></tbody>
|
||||
</table>
|
||||
`;
|
||||
const element = document.getElementById("DataAttachmentDiv");
|
||||
element.appendChild(div);
|
||||
const tbody = document.getElementById("EpiProTempVerification");
|
||||
$.ajax({
|
||||
type: "GET",
|
||||
url: _apiUrl + '/InfinityQSV3/epi-pro-temp-verification',
|
||||
success: function (r) {
|
||||
if ((r.Results == null) || (r.Results.ToolType == null) || (r.Results.Metadata == null))
|
||||
ShowErrorMessage("Invalid tool type: " + toolTypeID);
|
||||
else {
|
||||
tbody.innerHTML = r;
|
||||
}
|
||||
},
|
||||
error: function (e, _ajaxOptions, ex) {
|
||||
DisplayWSMessage("error", "There was an error getting data.", e, ex);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
function setChart(index, ctx, data) {
|
||||
var cd;
|
||||
var depth;
|
||||
@ -556,6 +592,9 @@ function detailSelectionChangedRunInfo(evt, ui) {
|
||||
$("#DataAttachmentFrame").prop("src", attachmentUrlBase + "/data/files/" + attachmentId + "/" + _toolType.DisplayDataAttachment);
|
||||
}
|
||||
}
|
||||
else {
|
||||
if (ui.row.index == 5)
|
||||
appendDiv();
|
||||
else {
|
||||
var ctx = document.getElementById('DataAttachmentCanvas');
|
||||
$.getJSON(attachmentUrlBase + "/header/files/" + headerAttachmentId + "/" + _toolType.DisplayHeaderAttachment, function (data) {
|
||||
@ -563,6 +602,7 @@ function detailSelectionChangedRunInfo(evt, ui) {
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
function loadHeaderAttachmentRunInfo() {
|
||||
if (_chart !== null)
|
||||
@ -1028,8 +1068,7 @@ function oiExportButtonRunInfo() {
|
||||
}
|
||||
|
||||
function setInitialDateTimesRunInfo(milliseconds) {
|
||||
if (!milliseconds)
|
||||
{
|
||||
if (!milliseconds) {
|
||||
var startDate = $("#StartDate").igDatePicker("value");
|
||||
var startTime = $("#StartTime").igTimePicker("value");
|
||||
var endDate = $("#EndDate").igDatePicker("value");
|
||||
|
Loading…
x
Reference in New Issue
Block a user