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 };
|
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) {
|
function setChart(index, ctx, data) {
|
||||||
var cd;
|
var cd;
|
||||||
var depth;
|
var depth;
|
||||||
@ -557,10 +593,14 @@ function detailSelectionChangedRunInfo(evt, ui) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
var ctx = document.getElementById('DataAttachmentCanvas');
|
if (ui.row.index == 5)
|
||||||
$.getJSON(attachmentUrlBase + "/header/files/" + headerAttachmentId + "/" + _toolType.DisplayHeaderAttachment, function (data) {
|
appendDiv();
|
||||||
setChart(ui.row.index, ctx, data);
|
else {
|
||||||
});
|
var ctx = document.getElementById('DataAttachmentCanvas');
|
||||||
|
$.getJSON(attachmentUrlBase + "/header/files/" + headerAttachmentId + "/" + _toolType.DisplayHeaderAttachment, function (data) {
|
||||||
|
setChart(ui.row.index, ctx, data);
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1028,8 +1068,7 @@ function oiExportButtonRunInfo() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setInitialDateTimesRunInfo(milliseconds) {
|
function setInitialDateTimesRunInfo(milliseconds) {
|
||||||
if (!milliseconds)
|
if (!milliseconds) {
|
||||||
{
|
|
||||||
var startDate = $("#StartDate").igDatePicker("value");
|
var startDate = $("#StartDate").igDatePicker("value");
|
||||||
var startTime = $("#StartTime").igTimePicker("value");
|
var startTime = $("#StartTime").igTimePicker("value");
|
||||||
var endDate = $("#EndDate").igDatePicker("value");
|
var endDate = $("#EndDate").igDatePicker("value");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user