mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 17:14:28 +01:00
Update weather-alert.ps1
This commit is contained in:
parent
3e1964cf8c
commit
3bfe5a219d
@ -11,10 +11,10 @@ $GeoLocation="" # empty means determine automatically
|
||||
function Check {
|
||||
param ([int]$Value, [int]$NormalMin, [int]$NormalMax, [string]$Unit)
|
||||
if ($Value -lt $NormalMin) {
|
||||
return "$Value $Unit !"
|
||||
return "$Value $Unit ! "
|
||||
}
|
||||
if ($Value -gt $NormalMax) {
|
||||
return "$Value $Unit !"
|
||||
return "$Value $Unit ! "
|
||||
}
|
||||
return ""
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user