suppressed printdebug output

This commit is contained in:
Karl-Wilfried Zimmer 2024-02-08 23:56:56 +01:00
parent 71eeccdd5a
commit 84e409c096

View File

@ -110,13 +110,13 @@ function buildIntervals {
)
$array = @()
foreach ($key in $hash.Keys){
Write-Host $key
#Write-Host $key
$list = $hash.$key
Write-Host $list
#Write-Host $list
$lastState = $null
$lastTS = $null
foreach ($elem in $list){
Write-Host $elem
#Write-Host $elem
if (($elem.state -eq 'Started') -and ($null -eq $lastState)) {
$lastState=$elem.state
$lastTS=$elem.ts
@ -131,7 +131,7 @@ function buildIntervals {
$lastState=$null
$lastTS=$null
}
Write-Host "$array"
#Write-Host "$array"
}
}
return $array