[Bus/Taxi driver v2.9.0]业务调试信息增加DPQP轨迹信息
This commit is contained in:
@@ -527,6 +527,8 @@ public abstract class BaseBusTabFragment<V extends IView, P extends Presenter<V>
|
||||
private TextView lineIdTV;
|
||||
private TextView trajMd5TV;
|
||||
private TextView stopMd5TV;
|
||||
private TextView trajMd5DPQPTV;
|
||||
private TextView stopMd5DPQPTV;
|
||||
|
||||
public void showHideTestBar() {
|
||||
if (busTestBar == null) {
|
||||
@@ -534,6 +536,8 @@ public abstract class BaseBusTabFragment<V extends IView, P extends Presenter<V>
|
||||
lineIdTV = findViewById(R.id.bus_test_bar_current_line_id);
|
||||
trajMd5TV = findViewById(R.id.bus_test_bar_current_traj_md5);
|
||||
stopMd5TV = findViewById(R.id.bus_test_bar_current_stop_md5);
|
||||
trajMd5DPQPTV = findViewById(R.id.bus_test_bar_current_traj_md5_dpqp);
|
||||
stopMd5DPQPTV = findViewById(R.id.bus_test_bar_current_stop_md5_dpqp);
|
||||
}
|
||||
|
||||
if (busTestBar.getVisibility() == View.VISIBLE) {
|
||||
@@ -543,6 +547,8 @@ public abstract class BaseBusTabFragment<V extends IView, P extends Presenter<V>
|
||||
lineIdTV.setText("lineId:" + (routesResult == null ? "" : String.valueOf(routesResult.getLineId())));
|
||||
trajMd5TV.setText("TMd5:" + (routesResult == null ? "" : routesResult.csvFileMd5));
|
||||
stopMd5TV.setText("SMd5:" + (routesResult == null ? "" : routesResult.txtFileMd5));
|
||||
trajMd5DPQPTV.setText("TMd5DPQP:" + (routesResult == null ? "" : routesResult.csvFileMd5DPQP));
|
||||
stopMd5DPQPTV.setText("SMd5DPQP:" + (routesResult == null ? "" : routesResult.txtFileMd5DPQP));
|
||||
busTestBar.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
@@ -553,6 +559,8 @@ public abstract class BaseBusTabFragment<V extends IView, P extends Presenter<V>
|
||||
lineIdTV.setText("lineId:" + (routesResult == null ? "" : String.valueOf(routesResult.getLineId())));
|
||||
trajMd5TV.setText("TMd5:" + (routesResult == null ? "" : routesResult.csvFileMd5));
|
||||
stopMd5TV.setText("SMd5:" + (routesResult == null ? "" : routesResult.txtFileMd5));
|
||||
trajMd5DPQPTV.setText("TMd5DPQP:" + (routesResult == null ? "" : routesResult.csvFileMd5DPQP));
|
||||
stopMd5DPQPTV.setText("SMd5DPQP:" + (routesResult == null ? "" : routesResult.txtFileMd5DPQP));
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -22,4 +22,16 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bus_test_bar_current_traj_md5_dpqp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/bus_test_bar_current_stop_md5_dpqp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -383,6 +383,8 @@ public class TaxiFragment extends BaseTaxiTabFragment<TaxiFragment, TaxiPresente
|
||||
private TextView testCurLineId;
|
||||
private TextView testCurTrajMd5;
|
||||
private TextView testCurStopMd5;
|
||||
private TextView testCurTrajMd5DPQP;
|
||||
private TextView testCurStopMd5DPQP;
|
||||
|
||||
public void clickTestBar() {
|
||||
if (testBar == null) {
|
||||
@@ -391,6 +393,8 @@ public class TaxiFragment extends BaseTaxiTabFragment<TaxiFragment, TaxiPresente
|
||||
testCurLineId = findViewById(R.id.test_bar_current_line_id);
|
||||
testCurTrajMd5 = findViewById(R.id.test_bar_current_traj_md5);
|
||||
testCurStopMd5 = findViewById(R.id.test_bar_current_stop_md5);
|
||||
testCurTrajMd5DPQP = findViewById(R.id.test_bar_current_traj_md5_dpqp);
|
||||
testCurStopMd5DPQP = findViewById(R.id.test_bar_current_stop_md5_dpqp);
|
||||
}
|
||||
|
||||
if (testBar.getVisibility() == View.VISIBLE) {
|
||||
@@ -401,6 +405,8 @@ public class TaxiFragment extends BaseTaxiTabFragment<TaxiFragment, TaxiPresente
|
||||
testCurLineId.setText("lineId:" + (order == null ? "" : String.valueOf(order.lineId)));
|
||||
testCurTrajMd5.setText("TMd5:" + (order == null ? "" : order.csvFileMd5));
|
||||
testCurStopMd5.setText("SMd5:" + (order == null ? "" : order.txtFileMd5));
|
||||
testCurTrajMd5DPQP.setText("TMd5DPQP:" + (order == null ? "" : order.csvFileMd5DPQP));
|
||||
testCurStopMd5DPQP.setText("SMd5DPQP:" + (order == null ? "" : order.txtFileMd5DPQP));
|
||||
testBar.setVisibility(View.VISIBLE);
|
||||
}
|
||||
}
|
||||
@@ -412,6 +418,8 @@ public class TaxiFragment extends BaseTaxiTabFragment<TaxiFragment, TaxiPresente
|
||||
testCurLineId.setText("lineId:" + (order == null ? "" : String.valueOf(order.lineId)));
|
||||
testCurTrajMd5.setText("TMd5:" + (order == null ? "" : order.csvFileMd5));
|
||||
testCurStopMd5.setText("SMd5:" + (order == null ? "" : order.txtFileMd5));
|
||||
testCurTrajMd5DPQP.setText("TMd5DPQP:" + (order == null ? "" : order.csvFileMd5DPQP));
|
||||
testCurStopMd5DPQP.setText("SMd5DPQP:" + (order == null ? "" : order.txtFileMd5DPQP));
|
||||
}
|
||||
}
|
||||
/**
|
||||
|
||||
@@ -46,6 +46,18 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/test_bar_current_traj_md5_dpqp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/test_bar_current_stop_md5_dpqp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="@android:color/white"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/test_bar_to_start"
|
||||
android:layout_width="wrap_content"
|
||||
|
||||
Reference in New Issue
Block a user