getlog 获取当前设备日志信息

授权类型

根据商家终端号决定商家读取隶属机构及相关信息。

可用参数

名称 类型 是否必须 示例值 默认值 描述
Fields string[] 必须 abc,a1,a2,a3 需返回的字段列表。可选值:根据对应设备结构体中的所有字段;以半角逗号(,)分隔,星号(*)表示全部字段。
DevID Int32 必须 1 设备ID

返回示例

XML数据格式:

 <root>
 <Items>
 <item>
  <id Type="Int64">99</id> 
  <devid Type="String">2</devid> 
  <datetime Type="DateTime">2012-7-6 11:06:17</datetime> 
  <millisecond Type="Int16">751</millisecond> 
  <D1_SWITCH_CODE_COL Type="String">0</D1_SWITCH_CODE_COL> 
  <D2_SWITCH_SPECIFICATION_COL Type="String">0</D2_SWITCH_SPECIFICATION_COL> 
  <D3_RATED_CURRENT_COL Type="String">0</D3_RATED_CURRENT_COL> 
  <D4_COMMON_VOTAGE_A_COL Type="String">0</D4_COMMON_VOTAGE_A_COL> 
  <D5_COMMON_VOTAGE_B_COL Type="String">0</D5_COMMON_VOTAGE_B_COL> 
  <D6_COMMON_VOTAGE_C_COL Type="String">0</D6_COMMON_VOTAGE_C_COL> 
  <D7_STANDBY_VOTAGE_A_COL Type="String">0</D7_STANDBY_VOTAGE_A_COL> 
  <D8_STANDBY_VOTAGE_B_COL Type="String">0</D8_STANDBY_VOTAGE_B_COL> 
  <D9_STANDBY_VOTAGE_C_COL Type="String">0</D9_STANDBY_VOTAGE_C_COL> 
  <D10_NULL_COL Type="String">0</D10_NULL_COL> 
  <D11_Status_COL Type="String">0</D11_Status_COL> 
  <D12_Rem_COL Type="String">0</D12_Rem_COL> 
  <D13_TRAN_COL Type="String">0</D13_TRAN_COL> 
  <D14_SWITCH_TIME_COL Type="String">0</D14_SWITCH_TIME_COL> 
  <D15_RETURN_TIME_COL Type="String">0</D15_RETURN_TIME_COL> 
  <D16_LOW_PROTECT_VOTAGE_COL Type="String">0</D16_LOW_PROTECT_VOTAGE_COL> 
  <D17_HIGH_PROTECT_VOTAGE_COL Type="String">0</D17_HIGH_PROTECT_VOTAGE_COL> 
  <D18_CONTROL_COL Type="String">0</D18_CONTROL_COL> 
  <D19_COMMON_VOTAGE_A_COL Type="String">229</D19_COMMON_VOTAGE_A_COL> 
  <D20_COMMON_VOTAGE_B_COL Type="String">0</D20_COMMON_VOTAGE_B_COL> 
  <D21_COMMON_VOTAGE_C_COL Type="String">0</D21_COMMON_VOTAGE_C_COL> 
  <D22_STANDBY_VOTAGE_A_COL Type="String">229</D22_STANDBY_VOTAGE_A_COL> 
  <D23_STANDBY_VOTAGE_B_COL Type="String">65535</D23_STANDBY_VOTAGE_B_COL> 
  <D24_STANDBY_VOTAGE_C_COL Type="String">65535</D24_STANDBY_VOTAGE_C_COL> 
  <D25_NULL_COL Type="String">65535</D25_NULL_COL> 
  <D26_Status_COL Type="String">备用合;</D26_Status_COL> 
  <D27_Rem_COL Type="String">65535</D27_Rem_COL> 
  <D28_TRAN_COL Type="String">三相自投自复</D28_TRAN_COL> 
  <D29_SWITCH_TIME_COL Type="String">8</D29_SWITCH_TIME_COL> 
  <D30_RETURN_TIME_COL Type="String">7</D30_RETURN_TIME_COL> 
  <D31_LOW_PROTECT_VOTAGE_COL Type="String">165</D31_LOW_PROTECT_VOTAGE_COL> 
  <D32_HIGH_PROTECT_VOTAGE_COL Type="String">264</D32_HIGH_PROTECT_VOTAGE_COL> 
  <D32_1_ON_OFF_COL Type="String">备用合闸</D32_1_ON_OFF_COL> 
  <D33_TRAN_SET_COL Type="String">0</D33_TRAN_SET_COL> 
  <D34_SWITCH_TIME_SET_COL Type="String">0</D34_SWITCH_TIME_SET_COL> 
  <D35_RETURN_TIME_SET_COL Type="String">0</D35_RETURN_TIME_SET_COL> 
  <D36_LOW_PROTECT_VOTAGE_SET_COL Type="String">0</D36_LOW_PROTECT_VOTAGE_SET_COL> 
  <D37_HIGH_PROTECT_VOTAGE_COL Type="String">0</D37_HIGH_PROTECT_VOTAGE_COL> 
  <D38_CONTROL_SET_COL Type="String">0</D38_CONTROL_SET_COL> 
  <D39_Heart_SET_COL Type="String">0</D39_Heart_SET_COL> 
  <D40_TEST_INT Type="String">0</D40_TEST_INT> 
  </item>
  </Items>
  <total>1</total> 
  </root>

JSON数据格式:

{
"Items":[{
"id":"596"
,"devid":"2"
,"datetime":"2012-7-6 11:57:13"
,"millisecond":"870"
,"D1_SWITCH_CODE_COL":"0"
,"D2_SWITCH_SPECIFICATION_COL":"0"
,"D3_RATED_CURRENT_COL":"0"
,"D4_COMMON_VOTAGE_A_COL":"0"
,"D5_COMMON_VOTAGE_B_COL":"0"
,"D6_COMMON_VOTAGE_C_COL":"0"
,"D7_STANDBY_VOTAGE_A_COL":"0"
,"D8_STANDBY_VOTAGE_B_COL":"0"
,"D9_STANDBY_VOTAGE_C_COL":"0"
,"D10_NULL_COL":"0"
,"D11_Status_COL":"0"
,"D12_Rem_COL":"0"
,"D13_TRAN_COL":"0"
,"D14_SWITCH_TIME_COL":"0"
,"D15_RETURN_TIME_COL":"0"
,"D16_LOW_PROTECT_VOTAGE_COL":"0"
,"D17_HIGH_PROTECT_VOTAGE_COL":"0"
,"D18_CONTROL_COL":"0"
,"D19_COMMON_VOTAGE_A_COL":"225"
,"D20_COMMON_VOTAGE_B_COL":"0"
,"D21_COMMON_VOTAGE_C_COL":"0"
,"D22_STANDBY_VOTAGE_A_COL":"226"
,"D23_STANDBY_VOTAGE_B_COL":"65535"
,"D24_STANDBY_VOTAGE_C_COL":"65535"
,"D25_NULL_COL":"65535"
,"D26_Status_COL":"备用合闸驱动有驱动电压;"
,"D27_Rem_COL":"65535"
,"D28_TRAN_COL":"三相自投自复"
,"D29_SWITCH_TIME_COL":"8"
,"D30_RETURN_TIME_COL":"7"
,"D31_LOW_PROTECT_VOTAGE_COL":"165"
,"D32_HIGH_PROTECT_VOTAGE_COL":"264"
,"D32_1_ON_OFF_COL":"备用合闸"
,"D33_TRAN_SET_COL":"0"
,"D34_SWITCH_TIME_SET_COL":"0"
,"D35_RETURN_TIME_SET_COL":"0"
,"D36_LOW_PROTECT_VOTAGE_SET_COL":"0"
,"D37_HIGH_PROTECT_VOTAGE_COL":"0"
,"D38_CONTROL_SET_COL":"0"
,"D39_Heart_SET_COL":"0"
,"D40_TEST_INT":"0"
}],
"total":"1"
}