returnrawQueryGetDto("SELECT * FROM t_spp_device WHERE spp_device_id = ?",newString[]{""+sppDeviceId},SppDeviceDto.class);
}
/**
* SPP通信端末IDを全て取得
* @return
*/
publicList<Integer>getSppDeviceIdList(){
returnrawQueryGetIntegerList("SELECT spp_device_id FROM t_spp_device ORDER BY spp_device_id DESC",null);
}
/**
* SPP通信端末でペアリング済みデータ取得
* @return
*/
publicList<SppDeviceDto>getPairingDeviceList(){
returnrawQueryGetDtoList("SELECT * FROM t_spp_device WHERE pairing_device_name is NOT NULL AND pairing_device_address is NOT NULL order by spp_device_id DESC",null,SppDeviceDto.class);
}
/**
* SPP通信端末の更新処理
* @param dto
* @return
*/
publicbooleanupdateSppDevice(SppDeviceDtodto){
longcount=update("UPDATE t_spp_device SET spp_device_name=?, data_start_index=?, data_end_index=?, pairing_device_name=?, pairing_device_address=? WHERE spp_device_id=?",dto.getUpdateValues());
<stringname="msg_no_device_info">There is no registered central thermometer information. \n You can register in the center thermometer of the pairing of setting screen.</string>
<stringname="msg_ble_connect_error">You can not connect to the registered center thermometer. Check the power supply of the central thermometer and try again.(%s)</string>
<stringname="msg_ble_connect_success">Connected with %1$s. Please control %1$s.</string>
<stringname="msg_ble_connect_success">Connected with the center thermometer. Please control the central thermometer.</string>
<stringname="msg_scan_bluetooth_no_allow">If Bluetooth is not allow, %1$s scan is disabled.</string>
<stringname="msg_scan_bluetooth_no_allow">If Bluetooth is not allow, the center thermometer scan is disabled.</string>
<stringname="msg_connect_bluetooth_no_allow">If Bluetooth is not allow, %1$s connect is disabled.</string>
<stringname="msg_thermometer_connect_bluetooth_no_allow">If Bluetooth is not allow, the center thermometer connect is disabled.</string>
<stringname="msg_okudake_connect_bluetooth_no_allow">If Bluetooth is not allow, the center okudake sensor connect is disabled.</string>
<stringname="msg_location_device_no_allow">Please set the location information to ON in the device setting.</string>
<stringname="msg_location_device_no_allow">Please set the location information to ON in the device setting.</string>
<stringname="bluetooth_is_not_supported">Bluetooth is not supported.</string>
<stringname="bluetooth_is_not_supported">Bluetooth is not supported.</string>
<stringname="barcode">Code Reader</string>
<stringname="barcode">Code Reader</string>
<stringname="msg_okudake_fraud_parameter">The okudake sensor parameter contains a non-numeric string.</string>