Echelon i.LON 100 e2 Internet Server Instrukcja Użytkownika Strona 214

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 223
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 213
i.LON 100 Internet Server Programmer’s Reference 14-7
s = s & units.Current.Value() & "', '"
Dim statuses As System.Xml.XPath.XpathNodeIterator
dataValues = xmlNav.Select("/iLONDataLogger/Log/Element/UCPTvalue")
timestamps = xmlNav.Select("/iLONDataLogger/Log/Element/UCPTlogTime")
pointNames = xmlNav.Select("/iLONDataLogger/Log/Element/UCPTpointName")
locations = xmlNav.Select("/iLONDataLogger/Log/Element/UCPTlocation")
address=xmlNav.Select("/iLONDataLogger/Log/Element/UCPTlogSourceAddress")
units = xmlNav.Select("/iLONDataLogger/Log/Element/UCPTunit")
statuses = xmlNav.Select("/iLONDataLogger/Log/Element/UCPTpointStatus")
'Process through the XML string returned by the function, and add each
'property to the SQL data table.
While (dataValues.MoveNext())
timestamps.MoveNext()
pointNames.MoveNext()
locations.MoveNext()
address.MoveNext()
units.MoveNext()
statuses.MoveNext()
s = "insert VACOMLOG (timestamp, unit, pointname, value, _
location, address, status) "
s = s & " values('" & timestamps.Current.Value() & "', '"
s = s & pointNames.Current.Value() & "', '"
s = s & dataValues.Current.Value() & "', '"
s = s & locations.Current.Value() & "', '"
s = s & address.Current.Value() & "', '"
s = s & statuses.Current.Value() & "')"
sqlCmd.CommandText = s
sqlCmd.ExecuteNonQuery()
printf(dataValues.Current.Value() & " " & _
timestamps.Current.Value())
End While
14.2.3 Using DataSets
The following subroutine uses DataSets to construct the input to be supplied to the
DataServerRead function. Using DataSets to construct your XML strings provides several
advantages.
It allows you to assign each property defined in the input string a variable type. This may be
useful if you want to restrict the values a user can assign for a certain property. For example,
by storing the value to be assigned a property like <UCPTminDeltaTime> in an Integer
variable, you could limit the values that could be assigned to that property to numbers. In
Visual Basic .NET, types such as UINT16 can further help restrict the user by enforcing user
defined minimum and maximums.
Similarly, by storing the string to be assigned to the <UCPTdescription> on a String
variable, you could limit the length of that description. Generally, using types reduces the
chance of errors occurring in your SOAP message. For example, a user could not attempt to
pass in a string containing letters as the value for an index number, or any other property
that requires an integer as its value type. In addition, performing error checking in your
application will provide responsive error handling.
Przeglądanie stron 213
1 2 ... 209 210 211 212 213 214 215 216 217 218 219 ... 222 223

Komentarze do niniejszej Instrukcji

Brak uwag

Whirlpool GOW 9523/NB manuály

Uživatelské manuály a uživatelské příručky pro Sporáky Whirlpool GOW 9523/NB.
Poskytujeme 1 manuály pdf Whirlpool GOW 9523/NB ke stažení zdarma podle typů dokumentů: Návod k použití






Další produkty a příručky pro Sporáky Whirlpool

Modely Typ Dokumentu
ETPI 8640/NE Návod k použití   Whirlpool ETPI 8640/IN Instruction for Use [it] , 13 stránky
TGW 5675/PT Návod k použití   Whirlpool TGW 5675/PT Instruction for Use, 4 stránky
GOA 9523/NB Návod k použití   Whirlpool GOA 9523/NB Instruction for Use [en] , 6 stránky
AKT 476/NB Návod k použití   Whirlpool AKT 476/NB Instruction for Use [da] , 4 stránky
AKR 318/IX Návod k použití   Whirlpool AKR 317/IX Instruction for Use [en] , 4 stránky
AKT 798/IXL Návod k použití   Whirlpool AKT 799/IXL Instruction for Use [da] [it] [nl] [pt] [ro] [sk] , 11 stránky
AR GA 001/1 IX Návod k použití   Whirlpool AR GA 001/1 IX Instruction for Use, 20 stránky
DNHI 5660 Návod k použití   Whirlpool DNHI 5660 Instruction for Use [en] , 7 stránky
AKR 607 GY Návod k použití   Whirlpool AKR 607 GY Instruction for Use, 12 stránky
HBN G700 W Návod k použití   Whirlpool HBN G700 W Instruction for Use, 4 stránky
TI 6401 (NR) IT Návod k použití       Whirlpool TI 6401 (NR) IT Instruction for Use, 48 stránky
MCP 349 WH Návod k použití Whirlpool MCP 349 BL Instruction for Use, 28 stránky
CI 36G W Návod k použití     Whirlpool CI 36G W Instruction for Use [en] , 62 stránky
SIM571B Návod k použití   Whirlpool SIM571B Instruction for Use [nl] , 17 stránky
AKR 368/IXL Návod k použití   Whirlpool AKR 368/IXL Instruction for Use [es] [it] , 4 stránky
TIA 320 C Návod k použití   Whirlpool TIA 320 C Instruction for Use, 6 stránky
AKM 296/IX Návod k použití   Whirlpool AKM 296/IX Instruction for Use [en] [tr] , 13 stránky
HB 530 S Návod k použití   Whirlpool HB 530 S Instruction for Use, 4 stránky
DNAG 65 AS X Návod k použití   Whirlpool DNAG 66 AS X Instruction for Use, 12 stránky
AKZM 693/MR/L/01 Návod k použití   Whirlpool AKZM 693/MR/L/01 Instruction for Use [fr] , 25 stránky