Commit 156e9b64 by onuma

文字列リソース追加。不要なクラスRT41DeviceDto削除。

parent e931b805
package jp.agentec.abook.abv.bl.dto;
/**
* RT41 bluetooth 温度計デバイスの名前とアドレスを持つクラス
* @author onuma
*/
public class RT41DeviceDto {
public long serial ;
public String name ;
public String address;
//private BluetoothDevice bltDevice ;
public int ch1Data ;
public long dataTime ;
public long rssi;
// private DeviceInfo(long serial, String name, String address, BluetoothDevice bltDevice,
// int ch1Data, long dataTime, long rssi)
public RT41DeviceDto(long serial, String name, String address,
int ch1Data, long dataTime, long rssi)
{
this.serial = serial ;
this.name = name ;
this.address = address ;
//this.bltDevice = bltDevice ;
this.ch1Data = ch1Data ;
this.dataTime = dataTime ;
this.rssi = rssi;
}
/**
public long getSerial() {
return serial ;
}
public String getName() {
return (name) + " " + rssi ;
}
public String getAddress() {
return address ;
}
private BluetoothDevice getBluetoothDevice() {
return bltDevice ;
}
public int getCh1Data() {
return ch1Data ;
}
public long getDataTime() {
return dataTime ;
}
*/
}
......@@ -1439,5 +1439,6 @@
<string name="select_spp_device_title">シリアル通信機器選択</string>
<string name="msg_bluetooth_connect_timeout_error">%1$s with the central thermometer has been lost. Check the power and distance of %1$s and try again.(%2$s)</string>
<string name="tr41_thermometer">TR41温度センサー</string>
<string name="msg_tr41_scan_error">TR41温度センサーから、温度情報を取得することができませんでした。</string>
</resources>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment