Merged PR 13708: Found small bug in HgCV data upload where the variable used in LoadRunDataToD...
Found small bug in HgCV data upload where the variable used in LoadRunDataToDatabase was being nulled out in calling service function.
This commit is contained in:
parent
f930fd3efe
commit
2ac49b85ec
@ -1531,6 +1531,7 @@ Service ImportHgCVData(RunData, FileName)
|
|||||||
// the data has already been written to the database in the above logic. In all other cases, the
|
// the data has already been written to the database in the above logic. In all other cases, the
|
||||||
// data needs to be written to the database using the following logic that works off of the test
|
// data needs to be written to the database using the following logic that works off of the test
|
||||||
// point map.
|
// point map.
|
||||||
|
DataPoints = HgCVDataPoints
|
||||||
GoSub LoadRunDataToDatabase
|
GoSub LoadRunDataToDatabase
|
||||||
end
|
end
|
||||||
end else
|
end else
|
||||||
@ -2373,18 +2374,18 @@ Service GetIQSViolations()
|
|||||||
|
|
||||||
hSysLists = Database_Services('GetTableHandle', 'SYSLISTS')
|
hSysLists = Database_Services('GetTableHandle', 'SYSLISTS')
|
||||||
Lock hSysLists, ServiceKeyID then
|
Lock hSysLists, ServiceKeyID then
|
||||||
Response = 0
|
Response = 0
|
||||||
ParsedIQSData = ''
|
ParsedIQSData = ''
|
||||||
Pass = 1
|
Pass = 1
|
||||||
//URL = "https://oi-metrology-viewer-prod.mes.infineon.com:4432/product-thick-and-res-health-reduced-web.html"
|
//URL = "https://oi-metrology-viewer-prod.mes.infineon.com:4432/product-thick-and-res-health-reduced-web.html"
|
||||||
URL = "https://messa020ec.infineon.com:4438/product-thick-and-res-health-reduced-web.html"
|
URL = "https://messa020ec.infineon.com:4438/product-thick-and-res-health-reduced-web.html"
|
||||||
TimeoutDuration = HTTPClient_Services('GetTimeoutDuration')
|
TimeoutDuration = HTTPClient_Services('GetTimeoutDuration')
|
||||||
If TimeoutDuration NE 30 then Httpclient_Services('SetTimeoutDuration', 30)
|
If TimeoutDuration NE 30 then Httpclient_Services('SetTimeoutDuration', 30)
|
||||||
IQSResponse = Httpclient_Services('SendHTTPRequest', 'GET', URL, '', '', '', '', '', '', '')
|
IQSResponse = Httpclient_Services('SendHTTPRequest', 'GET', URL, '', '', '', '', '', '', '')
|
||||||
swap CRLF$ with '' in IQSResponse
|
swap CRLF$ with '' in IQSResponse
|
||||||
PublishDateStart = Indexc(IQSResponse, 'Published: ', 1) + 11
|
PublishDateStart = Indexc(IQSResponse, 'Published: ', 1) + 11
|
||||||
PublishDateCnt = Indexc(IQSResponse, '</p>', 1) - PublishDateStart
|
PublishDateCnt = Indexc(IQSResponse, '</p>', 1) - PublishDateStart
|
||||||
PublishDate = IQSResponse[PublishDateStart, PublishDateCnt]
|
PublishDate = IQSResponse[PublishDateStart, PublishDateCnt]
|
||||||
|
|
||||||
swap ' AM' with 'AM' in PublishDate
|
swap ' AM' with 'AM' in PublishDate
|
||||||
swap ' PM' with 'PM' in PublishDate
|
swap ' PM' with 'PM' in PublishDate
|
||||||
|
Loading…
x
Reference in New Issue
Block a user