+Переводы
This commit is contained in:
2
.idea/compiler.xml
generated
2
.idea/compiler.xml
generated
@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="CompilerConfiguration">
|
||||
<bytecodeTargetLevel target="21" />
|
||||
<bytecodeTargetLevel target="17" />
|
||||
</component>
|
||||
</project>
|
||||
2
.idea/gradle.xml
generated
2
.idea/gradle.xml
generated
@ -5,7 +5,7 @@
|
||||
<option name="linkedExternalProjectsSettings">
|
||||
<GradleProjectSettings>
|
||||
<option name="externalProjectPath" value="$PROJECT_DIR$" />
|
||||
<option name="gradleJvm" value="21" />
|
||||
<option name="gradleJvm" value="jbr-17" />
|
||||
<option name="modules">
|
||||
<set>
|
||||
<option value="$PROJECT_DIR$" />
|
||||
|
||||
2
.idea/misc.xml
generated
2
.idea/misc.xml
generated
@ -77,7 +77,7 @@
|
||||
</value>
|
||||
</option>
|
||||
</component>
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_21" default="true" project-jdk-name="21" project-jdk-type="JavaSDK">
|
||||
<component name="ProjectRootManager" version="2" languageLevel="JDK_17" default="true" project-jdk-name="jbr-17" project-jdk-type="JavaSDK">
|
||||
<output url="file://$PROJECT_DIR$/build/classes" />
|
||||
</component>
|
||||
<component name="ProjectType">
|
||||
|
||||
@ -695,7 +695,7 @@ public class DbOpenHelper extends SQLiteOpenHelper
|
||||
//Для формы уничтожения саранчи id может быть пустым (только если создали на КПК)
|
||||
sql = "create table if not exists frmlocusthealth(" +
|
||||
"id integer," + //Локальный идентификатор на сервере для убыстрения доступа
|
||||
"uid text NOT NULL, " + //Уникальный идентификатор
|
||||
"uid text NOT NULL, " + //Уникальный идентификатор записи
|
||||
"del boolean NOT NULL DEFAULT 0," +
|
||||
"seq integer NOT NULL DEFAULT 1," +
|
||||
"send boolean NOT NULL DEFAULT 0," +
|
||||
|
||||
678
app/src/main/java/kz/istt/locust/LocustHealthListActivity.java
Normal file
678
app/src/main/java/kz/istt/locust/LocustHealthListActivity.java
Normal file
@ -0,0 +1,678 @@
|
||||
package kz.istt.locust;
|
||||
|
||||
import android.annotation.SuppressLint;
|
||||
import android.app.AlertDialog;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.database.Cursor;
|
||||
import android.database.sqlite.SQLiteDatabase;
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.os.Handler;
|
||||
import android.os.Message;
|
||||
import android.provider.Settings;
|
||||
import android.view.Menu;
|
||||
import android.view.MenuItem;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.widget.AdapterView;
|
||||
import android.widget.AdapterView.OnItemSelectedListener;
|
||||
import android.widget.ArrayAdapter;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.LinearLayout.LayoutParams;
|
||||
import android.widget.Spinner;
|
||||
import android.widget.Toast;
|
||||
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
|
||||
import com.google.android.material.floatingactionbutton.FloatingActionButton;
|
||||
|
||||
import java.io.File;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.Timer;
|
||||
import java.util.TimerTask;
|
||||
|
||||
public class LocustHealthListActivity extends AppCompatActivity
|
||||
{
|
||||
|
||||
public LinearLayout llList;
|
||||
public MyButton btn;
|
||||
public FloatingActionButton btnAdd = null;
|
||||
public Spinner spiList = null;
|
||||
|
||||
private Timer timer = new Timer();
|
||||
public File file = null;
|
||||
|
||||
public void alert(String text)
|
||||
{
|
||||
AlertDialog.Builder adb = new AlertDialog.Builder(this,R.style.AlertDialogTheme);
|
||||
adb.setTitle(getString(R.string.Warning));
|
||||
adb.setMessage(text);
|
||||
adb.setPositiveButton("OK", new DialogInterface.OnClickListener() //Кнопка открыть
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface arg0, int arg1)
|
||||
{}
|
||||
});
|
||||
AlertDialog ad = adb.show();
|
||||
ad.getButton(AlertDialog.BUTTON_POSITIVE).setTextColor(Color.BLACK);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState)
|
||||
{
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.activity_locust_health_list);
|
||||
|
||||
//Загрузка сохранёного языка
|
||||
Tools.loadLocale(this);
|
||||
|
||||
|
||||
llList = (LinearLayout) findViewById(R.id.llList);
|
||||
|
||||
/*
|
||||
* btn = (Button) findViewById(R.id.button1); OnClickListener oclBtnRus = new OnClickListener() {
|
||||
*
|
||||
* @Override public void onClick(View v) { //Отобразим окно уничтожения саранчи Intent intent = new Intent(LocustHealthListActivity.this, LocustHealthActivity.class); //intent.putExtra("id", b.id); //intent.putExtra("date", b.date); startActivity(intent); } }; btn.setOnClickListener(oclBtnRus);
|
||||
*/
|
||||
|
||||
spiList = (Spinner) findViewById(R.id.spiList); // Оператор (пилот, водитель, др...)
|
||||
ArrayList<String> list = new ArrayList<String>();
|
||||
list.add(getString(R.string.Waiting_to_be_filled));
|
||||
list.add(getString(R.string.Not_submitted));
|
||||
list.add(getString(R.string.Submitted));
|
||||
list.add(getString(R.string.All));
|
||||
ArrayAdapter<String> dataAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_spinner_item, list);
|
||||
dataAdapter.setDropDownViewResource(android.R.layout.simple_spinner_dropdown_item);
|
||||
spiList.setAdapter(dataAdapter);
|
||||
|
||||
spiList.setOnItemSelectedListener(new OnItemSelectedListener()
|
||||
{
|
||||
@Override
|
||||
public void onItemSelected(AdapterView<?> parentView, View selectedItemView, int position, long id)
|
||||
{
|
||||
//onStart();
|
||||
updateList();
|
||||
}
|
||||
@Override
|
||||
public void onNothingSelected(AdapterView<?> parentView)
|
||||
{
|
||||
}
|
||||
});
|
||||
|
||||
btnAdd = (FloatingActionButton) findViewById(R.id.btnAdd);
|
||||
btnAdd.setOnClickListener(new OnClickListener() {
|
||||
public void onClick(View v) {
|
||||
Intent intent = new Intent(LocustHealthListActivity.this, LocustHealthActivity.class);
|
||||
startActivity(intent);
|
||||
}
|
||||
});
|
||||
|
||||
//Чтоб список обновлялся раз в минуту в соответствии с текущем фильтром (для наглядности отправки данных)
|
||||
timer.scheduleAtFixedRate(new TimerTask()
|
||||
{
|
||||
@SuppressLint("HandlerLeak")
|
||||
private Handler myHandle = new Handler() {
|
||||
@Override
|
||||
public void handleMessage(Message msg)
|
||||
{
|
||||
//onStart();
|
||||
updateList();
|
||||
}
|
||||
};
|
||||
|
||||
@Override
|
||||
public void run() {
|
||||
myHandle.sendMessage(myHandle.obtainMessage());
|
||||
}
|
||||
}, 0, 1000 ); //Раз в секунду
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onCreateOptionsMenu(Menu menu)
|
||||
{
|
||||
getMenuInflater().inflate(R.menu.locust_health_list, menu);
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item)
|
||||
{
|
||||
switch (item.getItemId())
|
||||
{
|
||||
case R.id.itemCreate: // Создание карточки
|
||||
|
||||
Intent intent = new Intent(this, LocustHealthActivity.class);
|
||||
startActivity(intent);
|
||||
|
||||
break;
|
||||
case R.id.itemDelete: //Удаление всех отправленных из базы
|
||||
|
||||
AlertDialog.Builder alertDialog = new AlertDialog.Builder(LocustHealthListActivity.this,R.style.AlertDialogTheme);//new AlertDialog.Builder(this).create();
|
||||
alertDialog.setCancelable(false);
|
||||
alertDialog.setTitle(getString(R.string.Warning));
|
||||
alertDialog.setMessage(getString(R.string.Cleaning));
|
||||
alertDialog.setPositiveButton(getString(R.string.action_delete), new DialogInterface.OnClickListener(){
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int arg1)
|
||||
{
|
||||
DbOpenHelper dboh = new DbOpenHelper(LocustHealthListActivity.this);
|
||||
dboh.getReadableDatabase().execSQL("delete from frmlocusthealth where send=1");
|
||||
dboh.close();
|
||||
LocustHealthListActivity.this.onStart();
|
||||
}
|
||||
});
|
||||
alertDialog.setNegativeButton(getString(R.string.Cancel), new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int arg1)
|
||||
{
|
||||
dialog.cancel();
|
||||
}
|
||||
});
|
||||
AlertDialog ad = alertDialog.show();
|
||||
ad.getButton(AlertDialog.BUTTON_NEGATIVE).setTextColor(Color.BLACK);
|
||||
ad.getButton(AlertDialog.BUTTON_POSITIVE).setTextColor(Color.BLACK);
|
||||
|
||||
break;
|
||||
/* case R.id.itemExport: // Экспорт в Excel всего что накопилось
|
||||
|
||||
SimpleDateFormat sdf = new SimpleDateFormat("HH:mm:ss dd.MM.yyyy");
|
||||
|
||||
DbOpenHelper dboh = new DbOpenHelper(this);
|
||||
SQLiteDatabase db = dboh.getReadableDatabase();
|
||||
|
||||
String user = "";
|
||||
Cursor cursor = db.rawQuery("select name,surname,patronymic from _user where del=0;", null);
|
||||
if (cursor.moveToFirst())
|
||||
{
|
||||
user = cursor.getString(cursor.getColumnIndex("surname")) + " " + cursor.getString(cursor.getColumnIndex("name")) + " "
|
||||
+ cursor.getString(cursor.getColumnIndex("patronymic"));
|
||||
}
|
||||
cursor.close();
|
||||
|
||||
String html = "";
|
||||
|
||||
html += "<html>\n";
|
||||
html += " <head>\n";
|
||||
html += " <title>Locust</title>\n";
|
||||
html += " <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n";
|
||||
html += " <style>td {mso-number-format: \"\\@\";}</style>";
|
||||
html += " </head>\n";
|
||||
html += " <body>\n";
|
||||
|
||||
html += "<b>" + getString(R.string.title_activity_locust_del) + ": </b><br>";
|
||||
html += "<b>" + getString(R.string.Date) + ": </b><i>" + sdf.format(new Date()) + "</i><br>";
|
||||
html += "<b>" + getString(R.string.User) + ": </b>" + user;
|
||||
|
||||
html += " <table border=\"1\" cellspacing=\"0\">\n";
|
||||
html += " <caption><b>" + getString(R.string.Attributes) + "</b></caption>\n";
|
||||
html += " <thead>\n";
|
||||
html += " <tr>";
|
||||
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\"> </td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"4\"> </td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"7\"><b>" + getString(R.string.CONTROL_LOCATION) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"6\"><b>" + getString(R.string.VEGETATION_DATA) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"10\"><b>" + getString(R.string.INSECTICIDE_DATA) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"12\"><b>" + getString(R.string.WEATHER_CONDITIONS) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"7\"><b>" + getString(R.string.LOCUST_INFORMATION_INCLUDING_EGG_PODS) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"17\"><b>" + getString(R.string.SPRAY_APPLICATION) + "</b></td>"; //СВЕДЕНИЯ ПО ОПРЫСКИВАНИЮ
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"3\"><b>" + getString(R.string.EFFECTIVENESS) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"5\"><b>" + getString(R.string.SAFETY_AND_ENVIRONMENT) + "</b></td>";
|
||||
//html += "<td bgcolor=\"#d1d1d1\" width=\"100px\" style=\"text-align: center\" colspan=\"1\"> </td>";
|
||||
|
||||
html += " </tr>";
|
||||
html += " <tr>";
|
||||
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>№</b></td>";
|
||||
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Country) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Region) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Area) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Rural_district) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Name_of_survey_team_leader) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Date) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Village) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Lat) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Lon) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Area_infested) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Area_treated) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Vegetation_type) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Height_cm) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Vegetation_crops) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Vegetation_cover) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Damage) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Veg_damage_area) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Trade_name) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.The_active_substance) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Concentration) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Formulation) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Dose_rate) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Rate_of_working_solution) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Expiry_date) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Is_insecticide_mixed_with_water_or_solvent) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.If_yes_what_solvent_and_mixing_name) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.If_yes_what_solvent_and_mixing_ratio) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Time_start) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Time_end) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Temperature_start) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Temperature_end) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Relative_humidity_start) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Relative_humidity_end) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Wind_speed_start) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Wind_speed_end) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Wind_direction_start) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Wind_direction_end) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_direction_start) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_direction_end) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Species) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Hoppers) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Density) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Kuliguli) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Swarm) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Del_Scattered) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Phase) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_platform) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_platform_a) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_platform_g) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_platform_h) + "</b></td>";
|
||||
//html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_operator) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Name_of_operator) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spray_manufacturer_model) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Date_of_last_calibration) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Atomizer_height_above_ground_m) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Coverage_width) + "</b></td>";
|
||||
//html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spacing_between_the_sprayer) + "</b></td>"; //Расстояние между проходами опрыскивателя (м)
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Barriers) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Barrier_width) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Spacing_of_barriers_m) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Speed) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Antenna_DGPS_used) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Ground_marking) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Biological_efficiency_of_treatment) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Time_after_treatment_hours) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Efficacy_mortality_method) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Protective_clothing) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Inform_abaut_spraying) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Safety_non_target) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Safety_non_target_effect) + "</b></td>";
|
||||
html += "<td bgcolor=\"#d1d1d1\" width=\"100px\"><b>" + getString(R.string.Comments) + "</b></td>";
|
||||
|
||||
html += " </tr>\n";
|
||||
html += " </thead>\n";
|
||||
html += " <tbody>\n";
|
||||
|
||||
int n = 0;
|
||||
String sql="";
|
||||
|
||||
sql+="SELECT\n";
|
||||
sql+=" fld.id,\n";
|
||||
sql+=" c.name country_name,\n";
|
||||
sql+=" cr.name region_name,\n";
|
||||
sql+=" fld.area,\n"; //Район
|
||||
sql+=" fld.district,\n"; //Сельский округ и/или хозяйство
|
||||
sql+=" fld.observer,\n"; //ФИО наблюдателя
|
||||
sql+=" date(fld.date, 'unixepoch') date,\n"; //Должна быть уникальной
|
||||
sql+=" fld.terrain,\n"; //Название местности либо урочища
|
||||
sql+=" fld.lat,\n"; //Широта
|
||||
sql+=" fld.lon,\n"; //Долгота
|
||||
sql+=" fld.infested_area,\n"; //заселенная площадь(га)
|
||||
sql+=" fld.treated_area,\n"; //обработанная площадь(га)
|
||||
sql+=" fld.vegetation_type,\n"; //Тип(дикая, культурная)
|
||||
sql+=" fld.vegetation_height,\n"; //Высота (м)
|
||||
sql+=" fld.vegetation_crop,\n"; //Текстовое поле для перечисления произрастающих культур
|
||||
sql+=" fld.vegetation_cover,\n"; //Растительный покров (%)
|
||||
sql+=" fld.vegetation_damage,\n"; //Повреждения растительного покрова(%)
|
||||
sql+=" fld.vegetation_damage_area,\n"; //Площадь повреждений (га)
|
||||
sql+=" fld.insecticide_name,\n"; //коммерческое название
|
||||
sql+=" fld.insecticide_active_substance,\n"; //Наименование активного вещества
|
||||
sql+=" fld.insecticide_concentration,\n"; //концентрация(г д.в./л или%)
|
||||
sql+=" fld.insecticide_formulation,\n"; //формуляция(УМО, КЭ, др.)
|
||||
sql+=" fld.insecticide_dose,\n"; //норма расхода(л/га)
|
||||
sql+=" fld.insecticide_rate,\n"; //расход рабочей жидкости(л/га)
|
||||
sql+=" date(fld.insecticide_expiry_date, 'unixepoch') insecticide_expiry_date,\n"; //окончание срока действия
|
||||
sql+=" CASE fld.insecticide_mixed WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END insecticide_mixed,\n"; //смешивается ли инсектицид с водой или растворителем?
|
||||
sql+=" fld.insecticide_mixed_name,\n"; //если да, то с чем
|
||||
sql+=" fld.insecticide_mixed_ratio,\n"; //если да, то в каком соотношении (%)
|
||||
sql+=" fld.weather_time_start,\n"; //время начала
|
||||
sql+=" fld.weather_time_end,\n"; //время окончания
|
||||
sql+=" fld.weather_temperature_start,\n"; //Температура нач.(°C)
|
||||
sql+=" fld.weather_temperature_end,\n"; //Температура кон.(°C)
|
||||
sql+=" fld.weather_wind_speed_start,\n"; //скорость ветра нач. (м/с)
|
||||
sql+=" fld.weather_wind_speed_end,\n"; //скорость ветра кон. (м/с)
|
||||
sql+=" ld1.name weather_direction_start,\n"; //направление ветра нач.
|
||||
sql+=" ld2.name weather_direction_end,\n"; //направление ветра кон.
|
||||
sql+=" ld3.name weather_spray_direction_start,\n"; //направление опрыскивания нач.
|
||||
sql+=" ld4.name weather_spray_direction_end,\n"; //направление опрыскивания кон.
|
||||
sql+=" fld.locust_speciese,\n"; //вид: CIT, DMA, LMI, др.
|
||||
sql+=" fld.locust_hoppers,\n"; //Стадии личинок
|
||||
sql+=" fld.locust_density,\n"; //плотность на м2
|
||||
sql+=" CASE fld.locust_kuliguli WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END locust_kuliguli,\n"; //Кулиги (да, нет)
|
||||
sql+=" CASE fld.locust_swarm WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END locust_swarm,\n"; ////Стаи (да, нет)
|
||||
sql+=" CASE fld.locust_sparse WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END locust_sparse,\n"; //Разреженные (да, нет)
|
||||
sql+=" p.name locust_phase_name,\n"; //Фаза саранчи (одиночная, переходная, стадная)
|
||||
sql+=" st.name spray_platform,\n"; //Вид опрыскивания
|
||||
sql+=" sp_a.name spray_platform_a,\n"; //1) «Авиа» - выпадающий список:«Самолет», «Вертолет», «Дельтаплан».
|
||||
sql+=" sp_g.name spray_platform_g,\n"; //2) «Наземное» - выпадающий список:«Трактор», «Машина», «Аэроз.генераторG».
|
||||
sql+=" sp_h.name spray_platform_h,\n"; //3) «Ручное» - выпадающий список:«Ранцевый», «Моторный», «Батарейный».
|
||||
//sql+=" lot.name spray_operatortype_name,\n"; //Оператор (пилот, водитель, др...)
|
||||
//sql+=" fld.spray_operator_name,\n"; //Имя оператора
|
||||
sql+=" fld.spray_manufacturer_name,\n"; //Марка опрыскивателя
|
||||
sql+=" fld.spray_model_name,\n"; //Модель опрыскивателя
|
||||
//sql+=" date(fld.spray_date_calibration, 'unixepoch') spray_date_calibration,\n"; //Дата последней калибровки
|
||||
sql+=" fld.spray_height,\n"; //Высота над поверхностью почвы (м)
|
||||
sql+=" fld.spray_width,\n"; //Ширина захвата (м)
|
||||
//sql+=" fld.spray_spacing,\n"; //Расстояние между проходами опрыскивателя (м)
|
||||
sql+=" CASE fld.spray_barrier WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END spray_barrier,\n"; //Барьеры (да, нет)
|
||||
sql+=" fld.spray_barrier_width,\n"; //Ширина (м)
|
||||
sql+=" fld.spray_barrier_space,\n"; //промежуток (м)
|
||||
sql+=" fld.spray_speed,\n"; //Скорость движения (км/ч)
|
||||
sql+=" CASE fld.spray_gps WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END spray_gps,\n"; //Антена: DGPS использовалась
|
||||
sql+=" fld.spray_marking,\n"; //Наземная маркировка(Сиг-нальщики, GPS, Машина, Нет)
|
||||
sql+=" fld.efficacy_mortality,\n"; //смертность саранчи(%)
|
||||
sql+=" fld.efficacy_passed_time,\n"; //Прошло времени после обработки
|
||||
sql+=" lm.name efficacy_mortality_method,\n"; //метод подсчета смертности
|
||||
sql+=" CASE fld.safety_clothing WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END safety_clothing,\n"; //Какой защитной одеждой пользовался оператор (да, нет)
|
||||
sql+=" fld.safety_inform,\n"; //Кто был оповещен об обработках?
|
||||
sql+=" CASE fld.safety_non_target WHEN 1 THEN 'Yes' WHEN 0 THEN 'No' ELSE '' END safety_non_target,\n"; //воздействие на нецелевые организмы (да, нет)
|
||||
sql+=" fld.safety_non_target_effect,\n"; //если да, то какое
|
||||
sql+=" fld.description\n"; //КОММЕНТАРИИ
|
||||
sql+="FROM\n";
|
||||
sql+=" frmlocustdel fld\n";
|
||||
sql+=" LEFT JOIN countries c ON fld.country_id = c.id\n";
|
||||
sql+=" LEFT JOIN countriesregions cr ON fld.region_id = cr.id\n";
|
||||
sql+=" LEFT JOIN list_phase p ON fld.locust_phase_id = p.id\n";
|
||||
//sql+=" LEFT JOIN list_operatorstypes lot ON lot.id = fld.spray_operatortype_id\n";
|
||||
sql+=" LEFT JOIN list_directions ld1 ON ld1.id = fld.weather_direction_start\n";
|
||||
sql+=" LEFT JOIN list_directions ld2 ON ld2.id = fld.weather_direction_end\n";
|
||||
sql+=" LEFT JOIN list_directions ld3 ON ld3.id = fld.weather_spray_direction_start\n";
|
||||
sql+=" LEFT JOIN list_directions ld4 ON ld4.id = fld.weather_spray_direction_end\n";
|
||||
sql+=" LEFT JOIN sprayers_types st ON st.id = fld.spray_platform\n";
|
||||
sql+=" LEFT JOIN Sprayers sp_a ON sp_a.id = fld.spray_platform_a\n";
|
||||
sql+=" LEFT JOIN Sprayers sp_g ON sp_g.id = fld.spray_platform_g\n";
|
||||
sql+=" LEFT JOIN Sprayers sp_h ON sp_h.id = fld.spray_platform_h\n";
|
||||
sql+=" LEFT JOIN list_mortality lm ON lm.id = fld.efficacy_mortality_method\n";
|
||||
sql+="where fld.del=0\n";
|
||||
|
||||
cursor = dboh.getReadableDatabase().rawQuery(sql, null);
|
||||
if (cursor.moveToFirst())
|
||||
{
|
||||
do
|
||||
{
|
||||
n++;
|
||||
|
||||
html += " <tr>";
|
||||
html += "<td>" + n + "</td>";
|
||||
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "country_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "region_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "area") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "district") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "observer") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "date") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "terrain") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "lat") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "lon") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "infested_area") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "treated_area") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "vegetation_type") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "vegetation_height") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "vegetation_crop") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "vegetation_cover") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "vegetation_damage") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "vegetation_damage_area") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_active_substance") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_concentration") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_formulation") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_dose") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_rate") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_expiry_date") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_mixed") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_mixed_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "insecticide_mixed_ratio") + " </td>";
|
||||
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_time_start") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_time_end") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_temperature_start") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_temperature_end") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_humidity_start") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_humidity_end") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_wind_speed_start") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_wind_speed_end") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_direction_start") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_direction_end") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_spray_direction_start") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "weather_spray_direction_end") + " </td>";
|
||||
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_speciese") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_hoppers") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_density") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_kuliguli") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_swarm") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_sparse") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "locust_phase_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_platform") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_platform_a") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_platform_g") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_platform_h") + " </td>";
|
||||
//html += "<td>" + Tools.getStringFromCursor(cursor, "spray_operatortype_name") + " </td>";
|
||||
//html += "<td>" + Tools.getStringFromCursor(cursor, "spray_operator_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_manufacturer_name") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_model_name") + " </td>";
|
||||
//html += "<td>" + Tools.getStringFromCursor(cursor, "spray_date_calibration") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_height") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_width") + " </td>";
|
||||
//html += "<td>" + Tools.getStringFromCursor(cursor, "spray_spacing") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_barrier") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_barrier_width") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_barrier_space") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_speed") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_gps") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "spray_marking") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "efficacy_mortality") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "efficacy_passed_time") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "efficacy_mortality_method") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "safety_clothing") + " </td>";
|
||||
//html += "<td>" + Tools.getStringFromCursor(cursor, "safety_inform") + " </td>";
|
||||
|
||||
html += "<td>";
|
||||
String dv="";
|
||||
if(Tools.getStringFromCursor(cursor, "safety_inform").indexOf("1") != -1)
|
||||
{
|
||||
html += dv + getString(R.string.Farmer);
|
||||
dv = ", ";
|
||||
}
|
||||
if(Tools.getStringFromCursor(cursor, "safety_inform").indexOf("2") != -1)
|
||||
{
|
||||
html += dv + getString(R.string.Villager);
|
||||
dv = ", ";
|
||||
}
|
||||
if(Tools.getStringFromCursor(cursor, "safety_inform").indexOf("3") != -1)
|
||||
{
|
||||
html += dv + getString(R.string.Official);
|
||||
dv = ", ";
|
||||
}
|
||||
if(Tools.getStringFromCursor(cursor, "safety_inform").indexOf("4") != -1)
|
||||
{
|
||||
html += dv + getString(R.string.Beekeeper);
|
||||
dv = ", ";
|
||||
}
|
||||
if(Tools.getStringFromCursor(cursor, "safety_inform").indexOf("5") != -1)
|
||||
{
|
||||
html += dv + getString(R.string.Other);
|
||||
dv = ", ";
|
||||
}
|
||||
html += " </td>";
|
||||
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "safety_non_target") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "safety_non_target_effect") + " </td>";
|
||||
html += "<td>" + Tools.getStringFromCursor(cursor, "description") + " </td>";
|
||||
|
||||
html += "</tr>\n";
|
||||
|
||||
} while (cursor.moveToNext());
|
||||
}
|
||||
cursor.close();
|
||||
dboh.close();
|
||||
|
||||
html += " </tbody>\n";
|
||||
html += " </table>\n";
|
||||
html += " </body>\n";
|
||||
html += "</html>\n";
|
||||
|
||||
// Сохраняем на карточку
|
||||
sdf = new SimpleDateFormat("yyyyMMdd_HHmmss");
|
||||
file = new File(Environment.getExternalStorageDirectory() + File.separator + "Data" + File.separator + "Locust" + File.separator
|
||||
+ "locust_" + sdf.format(new Date()) + ".html");
|
||||
file.getParentFile().mkdirs();
|
||||
// создади переменную для записи создания и наполнения файла
|
||||
FileWriter writer = null;
|
||||
try
|
||||
{
|
||||
writer = new FileWriter(file);
|
||||
} catch (IOException e)
|
||||
{
|
||||
Log.e("Error", "Не создался writer", e);
|
||||
}
|
||||
|
||||
// запишем в файл пару строк
|
||||
try
|
||||
{
|
||||
writer.write(html);
|
||||
writer.flush();
|
||||
writer.close();
|
||||
} catch (IOException e)
|
||||
{
|
||||
Log.e("Error", "Не записываются строки", e);
|
||||
}
|
||||
|
||||
//Предлагаем открыть созданый файл
|
||||
AlertDialog.Builder adb;
|
||||
adb = new AlertDialog.Builder(this);
|
||||
adb.setTitle(getString(R.string.Warning)); // заголовок
|
||||
adb.setMessage(getString(R.string.File_saved_in)+" "+file.getAbsolutePath()); // сообщение
|
||||
adb.setPositiveButton(getString(R.string.Open), new DialogInterface.OnClickListener() //Кнопка открыть
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface arg0, int arg1)
|
||||
{
|
||||
//Предлагаем открыть созданый файл
|
||||
if(LocustDelListActivity.this.file.exists())
|
||||
{
|
||||
Intent i = new Intent();
|
||||
i.setAction(android.content.Intent.ACTION_VIEW);
|
||||
i.setDataAndType(Uri.fromFile(LocustDelListActivity.this.file), "text/html");
|
||||
startActivity(i);
|
||||
}
|
||||
}
|
||||
});
|
||||
adb.setNegativeButton(getString(R.string.Cancel), new DialogInterface.OnClickListener() //Кнопка отмена
|
||||
{
|
||||
@Override
|
||||
public void onClick(DialogInterface arg0, int arg1)
|
||||
{
|
||||
|
||||
}
|
||||
});
|
||||
AlertDialog ad = adb.show();
|
||||
ad.getButton(AlertDialog.BUTTON_NEGATIVE).setTextColor(Color.BLACK);
|
||||
ad.getButton(AlertDialog.BUTTON_POSITIVE).setTextColor(Color.BLACK);
|
||||
|
||||
break;
|
||||
*/
|
||||
default:
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
public void updateList()
|
||||
{
|
||||
llList.removeAllViews();
|
||||
|
||||
DbOpenHelper dboh = new DbOpenHelper(LocustHealthListActivity.this);
|
||||
Cursor cursor = null;
|
||||
switch (spiList.getSelectedItemPosition())
|
||||
{
|
||||
case 0:
|
||||
cursor = dboh.getReadableDatabase().rawQuery("select lh.uid, coalesce(ld.district,'') || ' ' || coalesce(ld.terrain,'') terrain, lh.date from frmlocusthealth lh left join frmlocustdel ld on lh.frmlocustdel_uid=ld.uid where lh.del=0 and lh.filled!=1", null); //Не отправленные
|
||||
break;
|
||||
case 1:
|
||||
cursor = dboh.getReadableDatabase().rawQuery("select lh.uid, coalesce(ld.district,'') || ' ' || coalesce(ld.terrain,'') terrain, lh.date from frmlocusthealth lh left join frmlocustdel ld on lh.frmlocustdel_uid=ld.uid where lh.del=0 and lh.send=0 and lh.filled=1", null); //Не отправленные
|
||||
break;
|
||||
case 2:
|
||||
cursor = dboh.getReadableDatabase().rawQuery("select lh.uid, coalesce(ld.district,'') || ' ' || coalesce(ld.terrain,'') terrain, lh.date from frmlocusthealth lh left join frmlocustdel ld on lh.frmlocustdel_uid=ld.uid where lh.del=0 and lh.send=1", null); //Отправленные
|
||||
break;
|
||||
default:
|
||||
cursor = dboh.getReadableDatabase().rawQuery("select lh.uid, coalesce(ld.district,'') || ' ' || coalesce(ld.terrain,'') terrain, lh.date from frmlocusthealth lh left join frmlocustdel ld on lh.frmlocustdel_uid=ld.uid where lh.del=0", null); //Все
|
||||
break;
|
||||
}
|
||||
|
||||
// Tools.logCursor(cursor);
|
||||
OnClickListener oclBtn = new OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(View v)
|
||||
{
|
||||
MyButton b = (MyButton) v;
|
||||
|
||||
Intent intent = new Intent(LocustHealthListActivity.this, LocustHealthActivity.class);
|
||||
intent.putExtra("uid", b.uid);
|
||||
startActivity(intent);
|
||||
}
|
||||
};
|
||||
|
||||
if (cursor.moveToFirst())
|
||||
{
|
||||
do
|
||||
{
|
||||
btn = new MyButton(this);
|
||||
|
||||
btn.setOnClickListener(oclBtn);
|
||||
|
||||
btn.uid = cursor.getString(cursor.getColumnIndex("uid"));
|
||||
|
||||
// Преобразует с учётом временой зоны (пример long dv = 946684800L * 1000L; //2000 ный по гринвичу дало 6 утра)
|
||||
long dv = cursor.getLong(cursor.getColumnIndex("date")) * (long) 1000;// its need to be in milisecond
|
||||
Date df = new Date(dv);
|
||||
String vv = new SimpleDateFormat("dd.MM.yyyy").format(df);
|
||||
|
||||
btn.setText(cursor.getString(cursor.getColumnIndex("terrain")) + " (" + vv + ")");
|
||||
|
||||
LayoutParams params = new LayoutParams(LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT);
|
||||
params.bottomMargin = 2;
|
||||
|
||||
llList.addView(btn,params);
|
||||
|
||||
} while (cursor.moveToNext());
|
||||
}
|
||||
cursor.close();
|
||||
dboh.close();
|
||||
}
|
||||
|
||||
/**
|
||||
* СМ. http://developer.android.com/reference/android/app/Activity.html Событие происходит при старте и при возврате на этот Activity
|
||||
* */
|
||||
@Override
|
||||
public void onStart()
|
||||
{
|
||||
super.onStart();
|
||||
|
||||
DbOpenHelper dboh = new DbOpenHelper(this);
|
||||
SQLiteDatabase db = dboh.getReadableDatabase();
|
||||
Cursor cursor = db.rawQuery("select * from terminals where del=0 and serial='"+ Settings.Secure.getString(getContentResolver(), Settings.Secure.ANDROID_ID)+"';", null);
|
||||
if(!cursor.moveToFirst())
|
||||
{
|
||||
Toast toast = Toast.makeText(getApplicationContext(),
|
||||
getResources().getString(R.string.Please_authorize_the_tablet), Toast.LENGTH_LONG);
|
||||
toast.show();
|
||||
}
|
||||
cursor.close();
|
||||
dboh.close();
|
||||
}
|
||||
|
||||
}
|
||||
@ -1,19 +1,23 @@
|
||||
package kz.istt.locust;
|
||||
|
||||
import android.app.Activity;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.PendingIntent;
|
||||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.content.SharedPreferences;
|
||||
import android.content.res.Configuration;
|
||||
import android.database.Cursor;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.BitmapFactory;
|
||||
import android.graphics.Color;
|
||||
import android.os.Bundle;
|
||||
import android.view.Menu;
|
||||
import android.view.View;
|
||||
import android.view.View.OnClickListener;
|
||||
import android.widget.Button;
|
||||
import android.widget.CheckBox;
|
||||
import android.widget.LinearLayout;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.google.android.gms.vision.Frame;
|
||||
@ -51,6 +55,7 @@ public class SetupActivity extends Activity {
|
||||
public Button btnQR = null;
|
||||
public Button btnDeleteAllData = null;
|
||||
public CheckBox cbIdentifyCountryRegion = null;
|
||||
public CheckBox cbShowAdvancedSettings = null;
|
||||
|
||||
public final static int TASK1_CODE = 1;
|
||||
public final static int TASK2_CODE = 2;
|
||||
@ -290,13 +295,35 @@ public class SetupActivity extends Activity {
|
||||
};
|
||||
btnQR.setOnClickListener(oclBtnQR);
|
||||
|
||||
//Delete all data
|
||||
btnDeleteAllData = (Button) findViewById(R.id.btnDeleteAllData);
|
||||
|
||||
OnClickListener oclShowAdvancedSettings = new OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(View v)
|
||||
{
|
||||
if(cbShowAdvancedSettings.isChecked())
|
||||
((LinearLayout)findViewById(R.id.llShowAdvancedSettings)).setVisibility(View.VISIBLE);
|
||||
else
|
||||
((LinearLayout)findViewById(R.id.llShowAdvancedSettings)).setVisibility(View.GONE);
|
||||
}
|
||||
};
|
||||
cbShowAdvancedSettings = (CheckBox) findViewById(R.id.cbShowAdvancedSettings);
|
||||
cbShowAdvancedSettings.setOnClickListener(oclShowAdvancedSettings);
|
||||
|
||||
|
||||
//Button delete all data
|
||||
OnClickListener oclDeleteAllData = new OnClickListener()
|
||||
{
|
||||
@Override
|
||||
public void onClick(View v)
|
||||
{
|
||||
AlertDialog.Builder adb = new AlertDialog.Builder(SetupActivity.this, R.style.AlertDialogTheme);
|
||||
adb.setTitle(getString(R.string.Warning));
|
||||
adb.setMessage(SetupActivity.this.getResources().getString(R.string.Do_you_really_want_to_delete_all_data_from_the_app));
|
||||
adb.setPositiveButton(SetupActivity.this.getResources().getString(R.string.Yes), new DialogInterface.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
//Delete all data
|
||||
DbOpenHelper dboh = new DbOpenHelper(SetupActivity.this);
|
||||
dboh.dropAllTables(dboh.getReadableDatabase());
|
||||
dboh.onCreate(dboh.getReadableDatabase());
|
||||
@ -309,7 +336,18 @@ public class SetupActivity extends Activity {
|
||||
startActivity(intent);
|
||||
finish();
|
||||
}
|
||||
});
|
||||
adb.setNegativeButton(SetupActivity.this.getResources().getString(R.string.No), new DialogInterface.OnClickListener() {
|
||||
public void onClick(DialogInterface dialog, int id) {
|
||||
|
||||
}
|
||||
});
|
||||
AlertDialog ad = adb.show();
|
||||
ad.getButton(AlertDialog.BUTTON_NEGATIVE).setTextColor(Color.BLACK);
|
||||
ad.getButton(AlertDialog.BUTTON_POSITIVE).setTextColor(Color.BLACK);
|
||||
}
|
||||
};
|
||||
btnDeleteAllData = (Button) findViewById(R.id.btnDeleteAllData);
|
||||
btnDeleteAllData.setOnClickListener(oclDeleteAllData);
|
||||
|
||||
//1 диалог на всё
|
||||
|
||||
@ -342,7 +342,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Идентификация места мониторинга"
|
||||
android:text="@string/Identification_of_the_monitoring_site"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
|
||||
@ -456,7 +456,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Бригада по обработке"
|
||||
android:text="@string/Control_team"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
|
||||
@ -481,7 +481,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Количество работников в бригаде по обработке"
|
||||
android:hint="@string/Number_of_agents_in_control_team"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="number"/>
|
||||
@ -509,7 +509,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Из них количество работников, ранее обученных обращению с инсектицидами и их применению"
|
||||
android:hint="@string/Number_of_agents_previously_trained_in_insecticide_handling_and_application"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="number"/>
|
||||
@ -708,7 +708,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Номер партии препарата (если указан на контейнере)"
|
||||
android:hint="@string/Batch_or_Lot_number_of_the_pesticide_product"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -734,7 +734,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Дата производства или срок годности (срок хранения)"
|
||||
android:hint="@string/Date_of_production_or_expiry_date"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -947,7 +947,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Состояние пакетов или контейнеров с инсектицидами">
|
||||
android:hint="@string/Condition_of_the_insecticide_containers_or_bags">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiInsContainerState"
|
||||
android:layout_width="match_parent"
|
||||
@ -1465,7 +1465,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Механическая безопасность: наблюдалась ли утечка инсектицида?">
|
||||
android:hint="@string/Mechanical_safety_any_insecticide_leakage_observed">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprLeak"
|
||||
android:layout_width="match_parent"
|
||||
@ -1492,7 +1492,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, в какой части опрыскивателя имеется утечка?"
|
||||
android:hint="@string/If_Yes_which_part_of_the_sprayer_shows_leakage"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="text"/>
|
||||
@ -1509,7 +1509,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Система опрыскивания: повреждены распылители или сопла?">
|
||||
android:hint="@string/Spray_system_atomisers_or_nozzles_damaged">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprDamage"
|
||||
android:layout_width="match_parent"
|
||||
@ -1537,7 +1537,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, какие повреждения?"
|
||||
android:hint="@string/If_Yes_what_kind_of_damage"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="text"/>
|
||||
@ -1700,7 +1700,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Обработанная площадь (проверено бригадой по мониторингу) (га)"
|
||||
android:hint="@string/Area_treated_check_by_monitoring_team_ha"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1728,7 +1728,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Фактическая норма объема опрыскивания (л/га)"
|
||||
android:hint="@string/Actual_volume_application_rate_L_ha"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1745,7 +1745,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Если проводилось наблюдение за опрыскиванием: соблюдалась ли надлежащая практика применения инсектицидов?">
|
||||
android:hint="@string/If_spraying_observed_good_insecticide_application_practice_followed">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprObservation"
|
||||
android:layout_width="match_parent"
|
||||
@ -1772,7 +1772,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Замечания относительно наблюдаемой практики опрыскивания"
|
||||
android:hint="@string/Remarks_about_the_observed_spray_application_practice"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -1790,7 +1790,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Калибровка опрыскивателя"
|
||||
android:text="@string/Sprayer_calibration"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -1807,7 +1807,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Проверялся ли расход жидкости опрыскивателя во время мониторинга?">
|
||||
android:hint="@string/Flow_rate_of_sprayer_verified_during_this_monitoring_visit">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiCalibrConsumptionCheck"
|
||||
android:layout_width="match_parent"
|
||||
@ -1836,7 +1836,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Время калибровки (мин.)"
|
||||
android:hint="@string/Calibration_time_min"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1862,7 +1862,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Собранный объем (л)"
|
||||
android:hint="@string/Volume_collected_L"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1888,7 +1888,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расход жидкости (л/мин)"
|
||||
android:hint="@string/Flow_rate_L_min"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1908,7 +1908,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Проверялось ли осаждение капель во время мониторинга?">
|
||||
android:hint="@string/Droplet_deposition_verified_during_this_monitoring_visit">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiCalibrPrecipitation"
|
||||
android:layout_width="match_parent"
|
||||
@ -1936,7 +1936,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Длина трансекты, определенная с использованием масляно-/водочувствительной бумаги (м)"
|
||||
android:hint="@string/Length_of_transect_set_out_with_oil_water_sensitive_papers_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1962,7 +1962,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Средняя скорость ветра при осаждении капель (м/с)"
|
||||
android:hint="@string/Average_wind_speed_during_droplet_deposition_m_sec"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1986,7 +1986,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Ширина захвата с хорошим покрытием капель (м)"
|
||||
android:hint="@string/Swath_width_showing_good_droplet_coverage_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2010,7 +2010,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Рекомендуемый интервал между проходами (м)"
|
||||
android:hint="@string/Recommended_track_spacing_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2051,7 +2051,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Контроль эффективности проведен (бригада по обработке)">
|
||||
android:hint="@string/Control_efficacy_conducted_control_team">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiEffectiveness"
|
||||
android:layout_width="match_parent"
|
||||
@ -2203,7 +2203,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Проведен ли контроль эффективности?">
|
||||
android:hint="@string/Control_efficacy_conducted_monitoring_team">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiEffControll"
|
||||
android:layout_width="match_parent"
|
||||
@ -2337,7 +2337,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Здоровье человека"
|
||||
android:text="@string/Human_health"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -2494,7 +2494,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Замечания относительно типа и состояния средств индивидуальной защиты"
|
||||
android:hint="@string/Remarks_with_respect_to_type_and_state_of_protective_clothing"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -2511,7 +2511,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="В бригаде или на ближайшей противосаранчовой базе имеется запасная защитная одежда (в частности, комбинезоны и перчатки)">
|
||||
android:hint="@string/Spare_protective_clothing_available_in_team_or_at_nearby_control_base">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiHlthClothingReserve"
|
||||
android:layout_width="match_parent"
|
||||
@ -2536,7 +2536,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Количество операторов с паспортами использования пестицидов"
|
||||
android:hint="@string/Number_of_operators_with_a_Pesticide_Use_Passport"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -2561,7 +2561,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Количество правильно заполненных паспортов использования пестицидов"
|
||||
android:hint="@string/Number_of_correctly_filled_out_pesticide_use_passports"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -2578,7 +2578,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Во время мониторинга измерялось ли ингибирование холинэстеразы?">
|
||||
android:hint="@string/Cholinesterase_inhibition_measured_during_this_monitoring_visit">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiHlthInhibition"
|
||||
android:layout_width="match_parent"
|
||||
@ -2651,7 +2651,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Дополнительные сведения о случайном воздействии или отравлении"
|
||||
android:hint="@string/Further_details_about_accidental_exposure_or_poisoning"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -2668,7 +2668,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Состояние окружающей среды"
|
||||
android:text="@string/Environmental_health"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -2775,7 +2775,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Наблюдалось или сообщалось о случайном загрязнении?">
|
||||
android:hint="@string/Accidental_contamination_observed_or_reported">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSafObservedPollution"
|
||||
android:layout_width="match_parent"
|
||||
@ -2800,7 +2800,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, то где и какой тип загрязнения?"
|
||||
android:hint="@string/If_yes_where_and_what_type_of_contamination"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -2846,7 +2846,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="@string/If_Yes_type_of_organisms_and_effects_description"
|
||||
android:hint="@string/If_yes_where_and_what_type_of_effect"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:enabled="false"
|
||||
@ -2867,7 +2867,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Наблюдалось или сообщалось о воздействии на нецелевые организмы?">
|
||||
android:hint="@string/Effects_on_non_target_organisms_observed_or_reported">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSafNonTarget2"
|
||||
android:layout_width="match_parent"
|
||||
@ -2892,7 +2892,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, то где и какое воздействие?"
|
||||
android:hint="@string/If_yes_where_and_what_type_of_effect"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -2924,7 +2924,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если информация поступила от прочих лиц, от кого именно?"
|
||||
android:hint="@string/If_reported_by_another_person_by_whom"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3004,7 +3004,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Осуществлялся ли бригадой по мониторингу ЗЧ и ОС контроль в отношении наблюдаемого или зарегистрированного воздействия на окружающую среду">
|
||||
android:hint="@string/Any_follow_up_conducted_by_HH_Env_monitoring_team_regarding_an_observed_or_reported_environmental_effect">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSafControl"
|
||||
android:layout_width="match_parent"
|
||||
@ -3029,7 +3029,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, опишите последующее действие(я)"
|
||||
android:hint="@string/If_yes_describe_follow_up_actions"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3074,7 +3074,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Карта и фотографии"
|
||||
android:text="@string/Map_and_photos"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -3087,7 +3087,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Была ли составлена ситуационная карта обработки?">
|
||||
android:hint="@string/Was_a_situation_map_made_of_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiMapTreatment"
|
||||
android:layout_width="match_parent"
|
||||
@ -3118,7 +3118,7 @@
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:hint="Фото инцидента"
|
||||
android:hint="@string/Photos_of_the_treatment_situation_of_any_incidents"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3182,7 +3182,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Оценки риска"
|
||||
android:text="@string/Risk_assessments"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -3208,7 +3208,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок жилые дома или жилье?">
|
||||
android:hint="@string/Any_dwellings_or_housing_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouse"
|
||||
android:layout_width="match_parent"
|
||||
@ -3250,7 +3250,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до ближайшего жилья:"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_housing"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3267,7 +3267,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Соблюдались ли буферные зоны?">
|
||||
android:hint="@string/Were_buffer_zones_respected">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouseBufferZones"
|
||||
android:layout_width="match_parent"
|
||||
@ -3284,7 +3284,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на жилые дома/жилье?">
|
||||
android:hint="@string/Was_exposure_of_the_dwellings_housing_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouseImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3301,7 +3301,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли проинформированы жители о применении инсектицидов?">
|
||||
android:hint="@string/Were_inhabitants_informed_about_the_insecticide_application">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouseInformed"
|
||||
android:layout_width="match_parent"
|
||||
@ -3331,7 +3331,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок поверхностные воды">
|
||||
android:hint="@string/Any_surface_waters_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskWater"
|
||||
android:layout_width="match_parent"
|
||||
@ -3373,7 +3373,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до ближайшего водоема:"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_surface_water"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3390,7 +3390,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Соблюдались ли буферные зоны?">
|
||||
android:hint="@string/Were_buffer_zones_respected">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskWaterBufferZones"
|
||||
android:layout_width="match_parent"
|
||||
@ -3407,7 +3407,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на поверхностные воды?">
|
||||
android:hint="@string/Was_exposure_of_the_surface_water_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskWaterImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3437,7 +3437,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок пчеловодства ">
|
||||
android:hint="@string/Any_apiculture_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskApiary"
|
||||
android:layout_width="match_parent"
|
||||
@ -3479,7 +3479,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до пасеки"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_apiary"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3496,7 +3496,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли пчеловоды проинформированы о применении инсектицидов?">
|
||||
android:hint="@string/Were_beekeepers_informed_about_the_insecticide_application">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskApiaryInformed"
|
||||
android:layout_width="match_parent"
|
||||
@ -3521,7 +3521,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Какие меры были предприняты для снижения отрицательного воздействия на пчел"
|
||||
android:hint="@string/Which_measures_were_taken_to_reduce_the_risks_for_honeybees"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3538,7 +3538,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на пчел?">
|
||||
android:hint="@string/Was_exposure_of_honeybees_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskApiaryImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3560,7 +3560,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли обработаны или подверглись воздействию какие-либо сельхозкультуры?">
|
||||
android:hint="@string/Any_crops_treated_or_exposed_by_the_insecticide">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskAgricultural"
|
||||
android:layout_width="match_parent"
|
||||
@ -3585,7 +3585,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Наименование сельхозкультуры"
|
||||
android:hint="@string/Crop_name"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3610,7 +3610,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Фаза развития сельхозкультуры"
|
||||
android:hint="@string/Stage_of_crop"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3627,7 +3627,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Наблюдалась ли фитотоксичность">
|
||||
android:hint="@string/Phytotoxicity_observed">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskAgriculturalToxic"
|
||||
android:layout_width="match_parent"
|
||||
@ -3644,7 +3644,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли фермеры проинформированы о предуборочном периоде">
|
||||
android:hint="@string/Were_farmers_informed_about_pre_harvest_intervals">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskAgriculturalInform"
|
||||
android:layout_width="match_parent"
|
||||
@ -3675,7 +3675,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок шелководства">
|
||||
android:hint="@string/Any_sericulture_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskSilk"
|
||||
android:layout_width="match_parent"
|
||||
@ -3717,7 +3717,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до пасеки"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_mulberry_plantation"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3734,7 +3734,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли шелководы проинформированы о применении инсектицидов?">
|
||||
android:hint="@string/Were_silkworm_breeders_informed_about_the_insecticide_application">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskSilkInform"
|
||||
android:layout_width="match_parent"
|
||||
@ -3759,7 +3759,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Какие меры были предприняты для снижения отрицательного воздействия на тутовые деревья"
|
||||
android:hint="@string/Which_measures_were_taken_to_reduce_the_exposure_of_mulberry_trees"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3776,7 +3776,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на тутовые деревья">
|
||||
android:hint="@string/Was_exposure_of_mulberry_trees_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskSilkTreesImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3798,7 +3798,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли обработаны луга или пастбища?">
|
||||
android:hint="@string/Any_grassland_or_grazing_land_treated">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskPastures"
|
||||
android:layout_width="match_parent"
|
||||
@ -3815,7 +3815,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли пастухи проинформированы о периодах удержания домашнего скота?">
|
||||
android:hint="@string/Were_shepherds_informed_about_re_entry_period_for_livestock">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskPasturesInform"
|
||||
android:layout_width="match_parent"
|
||||
@ -3845,7 +3845,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок другие экологически чувствительные зоны">
|
||||
android:hint="@string/Any_other_ecologically_sensitive_areas_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskPark"
|
||||
android:layout_width="match_parent"
|
||||
@ -3888,7 +3888,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Какой тип экологически чувствительной зоны"
|
||||
android:hint="@string/What_type_of_ecologically_sensitive_area"
|
||||
android:inputType="text"
|
||||
android:maxLength="255"
|
||||
android:maxLines="1"
|
||||
@ -3913,7 +3913,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до пасеки"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_ecologically_sensitive_area_m"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3930,7 +3930,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Соблюдались ли буферные зоны?">
|
||||
android:hint="@string/Were_buffer_zones_respected">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskParkBufferZones"
|
||||
android:layout_width="match_parent"
|
||||
@ -3947,7 +3947,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на экологически чувствительные зоны?">
|
||||
android:hint="@string/Was_exposure_of_the_ecologically_sensitive_areas_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskParkImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3967,7 +3967,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Отбор проб для анализа остатков"
|
||||
android:text="@string/Sampling_for_residue_analysis"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -3985,7 +3985,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Пробы, взятые для анализа остатков">
|
||||
android:hint="@string/Samples_taken_for_residue_analysis">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskProbeAnalysis"
|
||||
android:layout_width="match_parent"
|
||||
@ -4011,7 +4011,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Проба какого субстрата или организма была взята"
|
||||
android:hint="@string/What_substrate_or_organism_was_sampled"
|
||||
android:inputType="text"
|
||||
android:maxLength="255"
|
||||
android:maxLines="1"
|
||||
@ -4037,7 +4037,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Регистрационный номер формы отбора проб"
|
||||
android:hint="@string/Reference_number_of_the_sampling_form"
|
||||
android:inputType="text"
|
||||
android:maxLength="255"
|
||||
android:maxLines="1"
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@ -559,7 +559,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Бригада по обработке"
|
||||
android:text="@string/Control_team"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
|
||||
@ -584,7 +584,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Количество работников в бригаде по обработке"
|
||||
android:hint="@string/Number_of_agents_in_control_team"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="number"/>
|
||||
@ -612,7 +612,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Из них количество работников, ранее обученных обращению с инсектицидами и их применению"
|
||||
android:hint="@string/Number_of_agents_previously_trained_in_insecticide_handling_and_application"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="number"/>
|
||||
@ -854,7 +854,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Номер партии препарата (если указан на контейнере)"
|
||||
android:hint="@string/Batch_or_Lot_number_of_the_pesticide_product"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -880,7 +880,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Дата производства или срок годности (срок хранения)"
|
||||
android:hint="@string/Date_of_production_or_expiry_date"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -1107,7 +1107,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Состояние пакетов или контейнеров с инсектицидами">
|
||||
android:hint="@string/Condition_of_the_insecticide_containers_or_bags">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiInsContainerState"
|
||||
android:layout_width="match_parent"
|
||||
@ -1617,7 +1617,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Механическая безопасность: наблюдалась ли утечка инсектицида?">
|
||||
android:hint="@string/Mechanical_safety_any_insecticide_leakage_observed">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprLeak"
|
||||
android:layout_width="match_parent"
|
||||
@ -1644,7 +1644,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, в какой части опрыскивателя имеется утечка?"
|
||||
android:hint="@string/If_Yes_which_part_of_the_sprayer_shows_leakage"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="text"/>
|
||||
@ -1661,7 +1661,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Система опрыскивания: повреждены распылители или сопла?">
|
||||
android:hint="@string/Spray_system_atomisers_or_nozzles_damaged">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprDamage"
|
||||
android:layout_width="match_parent"
|
||||
@ -1689,7 +1689,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, какие повреждения?"
|
||||
android:hint="@string/If_Yes_what_kind_of_damage"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="text"/>
|
||||
@ -1851,7 +1851,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Обработанная площадь (проверено бригадой по мониторингу) (га)"
|
||||
android:hint="@string/Area_treated_check_by_monitoring_team_ha"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1909,7 +1909,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Фактическая норма объема опрыскивания (л/га)"
|
||||
android:hint="@string/Actual_volume_application_rate_L_ha"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -1926,7 +1926,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Если проводилось наблюдение за опрыскиванием: соблюдалась ли надлежащая практика применения инсектицидов?">
|
||||
android:hint="@string/If_spraying_observed_good_insecticide_application_practice_followed">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSprObservation"
|
||||
android:layout_width="match_parent"
|
||||
@ -1953,7 +1953,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Замечания относительно наблюдаемой практики опрыскивания"
|
||||
android:hint="@string/Remarks_about_the_observed_spray_application_practice"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -1971,7 +1971,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Калибровка опрыскивателя"
|
||||
android:text="@string/Sprayer_calibration"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -1988,7 +1988,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Проверялся ли расход жидкости опрыскивателя во время мониторинга?">
|
||||
android:hint="@string/Flow_rate_of_sprayer_verified_during_this_monitoring_visit">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiCalibrConsumptionCheck"
|
||||
android:layout_width="match_parent"
|
||||
@ -2017,7 +2017,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Время калибровки (мин.)"
|
||||
android:hint="@string/Calibration_time_min"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2043,7 +2043,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Собранный объем (л)"
|
||||
android:hint="@string/Volume_collected_L"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2069,7 +2069,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расход жидкости (л/мин)"
|
||||
android:hint="@string/Flow_rate_L_min"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2089,7 +2089,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Проверялось ли осаждение капель во время мониторинга?">
|
||||
android:hint="@string/Droplet_deposition_verified_during_this_monitoring_visit">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiCalibrPrecipitation"
|
||||
android:layout_width="match_parent"
|
||||
@ -2117,7 +2117,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Длина трансекты, определенная с использованием масляно-/водочувствительной бумаги (м)"
|
||||
android:hint="@string/Length_of_transect_set_out_with_oil_water_sensitive_papers_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2143,7 +2143,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Средняя скорость ветра при осаждении капель (м/с)"
|
||||
android:hint="@string/Average_wind_speed_during_droplet_deposition_m_sec"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2167,7 +2167,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Ширина захвата с хорошим покрытием капель (м)"
|
||||
android:hint="@string/Swath_width_showing_good_droplet_coverage_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2191,7 +2191,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Рекомендуемый интервал между проходами (м)"
|
||||
android:hint="@string/Recommended_track_spacing_m"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true"
|
||||
android:inputType="numberDecimal"/>
|
||||
@ -2231,7 +2231,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Контроль эффективности проведен (бригада по обработке)">
|
||||
android:hint="@string/Control_efficacy_conducted_control_team">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiEffectiveness"
|
||||
android:layout_width="match_parent"
|
||||
@ -2383,7 +2383,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Проведен ли контроль эффективности?">
|
||||
android:hint="@string/Control_efficacy_conducted_monitoring_team">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiEffControll"
|
||||
android:layout_width="match_parent"
|
||||
@ -2518,7 +2518,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Здоровье человека"
|
||||
android:text="@string/Human_health"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -2674,7 +2674,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Замечания относительно типа и состояния средств индивидуальной защиты"
|
||||
android:hint="@string/Remarks_with_respect_to_type_and_state_of_protective_clothing"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -2691,7 +2691,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="В бригаде или на ближайшей противосаранчовой базе имеется запасная защитная одежда (в частности, комбинезоны и перчатки)">
|
||||
android:hint="@string/Spare_protective_clothing_available_in_team_or_at_nearby_control_base">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiHlthClothingReserve"
|
||||
android:layout_width="match_parent"
|
||||
@ -2716,7 +2716,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Количество операторов с паспортами использования пестицидов"
|
||||
android:hint="@string/Number_of_operators_with_a_Pesticide_Use_Passport"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -2741,7 +2741,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Количество правильно заполненных паспортов использования пестицидов"
|
||||
android:hint="@string/Number_of_correctly_filled_out_pesticide_use_passports"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -2758,7 +2758,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Во время мониторинга измерялось ли ингибирование холинэстеразы?">
|
||||
android:hint="@string/Cholinesterase_inhibition_measured_during_this_monitoring_visit">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiHlthInhibition"
|
||||
android:layout_width="match_parent"
|
||||
@ -2831,7 +2831,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Дополнительные сведения о случайном воздействии или отравлении"
|
||||
android:hint="@string/Further_details_about_accidental_exposure_or_poisoning"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -2849,7 +2849,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Состояние окружающей среды"
|
||||
android:text="@string/Environmental_health"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -2956,7 +2956,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Наблюдалось или сообщалось о случайном загрязнении?">
|
||||
android:hint="@string/Accidental_contamination_observed_or_reported">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSafObservedPollution"
|
||||
android:layout_width="match_parent"
|
||||
@ -3048,7 +3048,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Наблюдалось или сообщалось о воздействии на нецелевые организмы?">
|
||||
android:hint="@string/Effects_on_non_target_organisms_observed_or_reported">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSafNonTarget2"
|
||||
android:layout_width="match_parent"
|
||||
@ -3073,7 +3073,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, то где и какое воздействие?"
|
||||
android:hint="@string/If_yes_where_and_what_type_of_effect"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3105,7 +3105,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если информация поступила от прочих лиц, от кого именно?"
|
||||
android:hint="@string/If_reported_by_another_person_by_whom"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3185,7 +3185,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Осуществлялся ли бригадой по мониторингу ЗЧ и ОС контроль в отношении наблюдаемого или зарегистрированного воздействия на окружающую среду">
|
||||
android:hint="@string/Any_follow_up_conducted_by_HH_Env_monitoring_team_regarding_an_observed_or_reported_environmental_effect">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiSafControl"
|
||||
android:layout_width="match_parent"
|
||||
@ -3210,7 +3210,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Если Да, опишите последующее действие(я)"
|
||||
android:hint="@string/If_yes_describe_follow_up_actions"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3255,7 +3255,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Карта и фотографии"
|
||||
android:text="@string/Map_and_photos"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -3268,7 +3268,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Была ли составлена ситуационная карта обработки?">
|
||||
android:hint="@string/Was_a_situation_map_made_of_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiMapTreatment"
|
||||
android:layout_width="match_parent"
|
||||
@ -3299,7 +3299,7 @@
|
||||
android:background="@color/transparent"
|
||||
android:enabled="false"
|
||||
android:focusable="false"
|
||||
android:hint="Фото инцидента"
|
||||
android:hint="@string/Photos_of_the_treatment_situation_of_any_incidents"
|
||||
android:maxLines="1"
|
||||
android:singleLine="true" />
|
||||
</com.google.android.material.textfield.TextInputLayout>
|
||||
@ -3363,7 +3363,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Оценки риска"
|
||||
android:text="@string/Risk_assessments"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -3389,7 +3389,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок жилые дома или жилье?">
|
||||
android:hint="@string/Any_dwellings_or_housing_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouse"
|
||||
android:layout_width="match_parent"
|
||||
@ -3431,7 +3431,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до ближайшего жилья:"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_housing"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3448,7 +3448,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Соблюдались ли буферные зоны?">
|
||||
android:hint="@string/Were_buffer_zones_respected">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouseBufferZones"
|
||||
android:layout_width="match_parent"
|
||||
@ -3465,7 +3465,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на жилые дома/жилье?">
|
||||
android:hint="@string/Was_exposure_of_the_dwellings_housing_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouseImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3482,7 +3482,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли проинформированы жители о применении инсектицидов?">
|
||||
android:hint="@string/Were_inhabitants_informed_about_the_insecticide_application">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskHouseInformed"
|
||||
android:layout_width="match_parent"
|
||||
@ -3512,7 +3512,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок поверхностные воды">
|
||||
android:hint="@string/Any_surface_waters_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskWater"
|
||||
android:layout_width="match_parent"
|
||||
@ -3554,7 +3554,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до ближайшего водоема:"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_surface_water"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3571,7 +3571,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Соблюдались ли буферные зоны?">
|
||||
android:hint="@string/Were_buffer_zones_respected">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskWaterBufferZones"
|
||||
android:layout_width="match_parent"
|
||||
@ -3588,7 +3588,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на поверхностные воды?">
|
||||
android:hint="@string/Was_exposure_of_the_surface_water_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskWaterImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3618,7 +3618,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок пчеловодства ">
|
||||
android:hint="@string/Any_apiculture_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskApiary"
|
||||
android:layout_width="match_parent"
|
||||
@ -3660,7 +3660,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до пасеки"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_apiary"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3677,7 +3677,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли пчеловоды проинформированы о применении инсектицидов?">
|
||||
android:hint="@string/Were_beekeepers_informed_about_the_insecticide_application">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskApiaryInformed"
|
||||
android:layout_width="match_parent"
|
||||
@ -3702,7 +3702,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Какие меры были предприняты для снижения отрицательного воздействия на пчел"
|
||||
android:hint="@string/Which_measures_were_taken_to_reduce_the_risks_for_honeybees"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3719,7 +3719,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на пчел?">
|
||||
android:hint="@string/Was_exposure_of_honeybees_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskApiaryImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3741,7 +3741,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли обработаны или подверглись воздействию какие-либо сельхозкультуры?">
|
||||
android:hint="@string/Any_crops_treated_or_exposed_by_the_insecticide">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskAgricultural"
|
||||
android:layout_width="match_parent"
|
||||
@ -3766,7 +3766,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Наименование сельхозкультуры"
|
||||
android:hint="@string/Crop_name"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3791,7 +3791,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Фаза развития сельхозкультуры"
|
||||
android:hint="@string/Stage_of_crop"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3808,7 +3808,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Наблюдалась ли фитотоксичность">
|
||||
android:hint="@string/Phytotoxicity_observed">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskAgriculturalToxic"
|
||||
android:layout_width="match_parent"
|
||||
@ -3825,7 +3825,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли фермеры проинформированы о предуборочном периоде">
|
||||
android:hint="@string/Were_farmers_informed_about_pre_harvest_intervals">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskAgriculturalInform"
|
||||
android:layout_width="match_parent"
|
||||
@ -3856,7 +3856,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок шелководства">
|
||||
android:hint="@string/Any_sericulture_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskSilk"
|
||||
android:layout_width="match_parent"
|
||||
@ -3898,7 +3898,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до пасеки"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_mulberry_plantation"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3915,7 +3915,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли шелководы проинформированы о применении инсектицидов?">
|
||||
android:hint="@string/Were_silkworm_breeders_informed_about_the_insecticide_application">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskSilkInform"
|
||||
android:layout_width="match_parent"
|
||||
@ -3940,7 +3940,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Какие меры были предприняты для снижения отрицательного воздействия на тутовые деревья"
|
||||
android:hint="@string/Which_measures_were_taken_to_reduce_the_exposure_of_mulberry_trees"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -3957,7 +3957,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на тутовые деревья">
|
||||
android:hint="@string/Was_exposure_of_mulberry_trees_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskSilkTreesImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -3979,7 +3979,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли обработаны луга или пастбища?">
|
||||
android:hint="@string/Any_grassland_or_grazing_land_treated">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskPastures"
|
||||
android:layout_width="match_parent"
|
||||
@ -3996,7 +3996,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Были ли пастухи проинформированы о периодах удержания домашнего скота?">
|
||||
android:hint="@string/Were_shepherds_informed_about_re_entry_period_for_livestock">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskPasturesInform"
|
||||
android:layout_width="match_parent"
|
||||
@ -4026,7 +4026,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Имеются ли в непосредственной близости от обработок другие экологически чувствительные зоны">
|
||||
android:hint="@string/Any_other_ecologically_sensitive_areas_nearby_the_treatment">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskPark"
|
||||
android:layout_width="match_parent"
|
||||
@ -4069,7 +4069,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Какой тип экологически чувствительной зоны"
|
||||
android:hint="@string/What_type_of_ecologically_sensitive_area"
|
||||
android:inputType="text"
|
||||
android:maxLength="255"
|
||||
android:maxLines="1"
|
||||
@ -4094,7 +4094,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Расстояние от ближайшего края обрабатываемого участка (м) до пасеки"
|
||||
android:hint="@string/Distance_from_the_closest_edge_of_the_treated_area_m_to_the_ecologically_sensitive_area_m"
|
||||
android:maxLines="1"
|
||||
android:maxLength="255"
|
||||
android:singleLine="true"
|
||||
@ -4111,7 +4111,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Соблюдались ли буферные зоны?">
|
||||
android:hint="@string/Were_buffer_zones_respected">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskParkBufferZones"
|
||||
android:layout_width="match_parent"
|
||||
@ -4128,7 +4128,7 @@
|
||||
style="@style/Widget.MaterialComponents.TextInputLayout.OutlinedBox.ExposedDropdownMenu"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Существует ли вероятность воздействия на экологически чувствительные зоны?">
|
||||
android:hint="@string/Was_exposure_of_the_ecologically_sensitive_areas_probable">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskParkImpact"
|
||||
android:layout_width="match_parent"
|
||||
@ -4148,7 +4148,7 @@
|
||||
android:textColor="@color/text_title"
|
||||
android:gravity="left|center"
|
||||
android:background="#dddddd"
|
||||
android:text="Отбор проб для анализа остатков"
|
||||
android:text="@string/Sampling_for_residue_analysis"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
@ -4166,7 +4166,7 @@
|
||||
android:layout_weight="1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="Пробы, взятые для анализа остатков">
|
||||
android:hint="@string/Samples_taken_for_residue_analysis">
|
||||
<dbfields.AutoCompleteTextViewDB
|
||||
android:id="@+id/spiRiskProbeAnalysis"
|
||||
android:layout_width="match_parent"
|
||||
@ -4192,7 +4192,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Проба какого субстрата или организма была взята"
|
||||
android:hint="@string/What_substrate_or_organism_was_sampled"
|
||||
android:inputType="text"
|
||||
android:maxLength="255"
|
||||
android:maxLines="1"
|
||||
@ -4218,7 +4218,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:background="@color/transparent"
|
||||
android:hint="Регистрационный номер формы отбора проб"
|
||||
android:hint="@string/Reference_number_of_the_sampling_form"
|
||||
android:inputType="text"
|
||||
android:maxLength="255"
|
||||
android:maxLines="1"
|
||||
|
||||
59
app/src/main/res/layout/activity_locust_health_list.xml
Normal file
59
app/src/main/res/layout/activity_locust_health_list.xml
Normal file
@ -0,0 +1,59 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/gradient_example"
|
||||
android:paddingBottom="@dimen/activity_vertical_margin"
|
||||
android:paddingLeft="@dimen/activity_horizontal_margin"
|
||||
android:paddingRight="@dimen/activity_horizontal_margin"
|
||||
android:paddingTop="@dimen/activity_vertical_margin"
|
||||
tools:context=".LocustHealthListActivity" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearLayout1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Spinner
|
||||
android:id="@+id/spiList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<ScrollView
|
||||
android:id="@+id/scrollView1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_alignParentTop="true" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llList"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
<Button
|
||||
android:id="@+id/button1"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/star" />
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/btnAdd"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom|end"
|
||||
android:layout_margin="@dimen/fab_margin"
|
||||
app:backgroundTint="@color/button_normal_color_start"
|
||||
app:srcCompat="@android:drawable/ic_input_add"
|
||||
app:tint="@android:color/white"
|
||||
/>
|
||||
|
||||
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|
||||
@ -106,6 +106,7 @@
|
||||
android:text="@string/title_activity_locust_del"/>
|
||||
|
||||
<Button
|
||||
android:visibility="gone"
|
||||
android:id="@+id/btnLocustHealth"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
@ -114,7 +115,7 @@
|
||||
android:layout_marginLeft="62dp"
|
||||
android:layout_marginRight="62dp"
|
||||
android:minHeight="70dp"
|
||||
android:text="Мониторинг здоровья человека и окружающей среды"/>
|
||||
android:text="@string/Human_Health_and_Environment_HH_Env_Monitoring_Form"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnSetup"
|
||||
@ -126,7 +127,6 @@
|
||||
android:minHeight="70dp"
|
||||
android:text="@string/title_activity_setup"/>
|
||||
|
||||
|
||||
<Space
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
|
||||
@ -225,7 +225,34 @@
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/Show_advanced_settings"/>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/llShowAdvancedSettings"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/URL_path_to_the_server"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<EditText
|
||||
android:id="@+id/edtCalibrWidthCard0"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:importantForAutofill="no"
|
||||
android:autofillHints=""
|
||||
android:ems="10"
|
||||
android:inputType="textUri" />
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
@ -234,15 +261,15 @@
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnDeleteAllData"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:minWidth="190dp"
|
||||
android:minHeight="40dp"
|
||||
android:layout_margin="2dp"
|
||||
android:text="@string/Delete_all_data" />
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
21
app/src/main/res/menu/locust_health_list.xml
Normal file
21
app/src/main/res/menu/locust_health_list.xml
Normal file
@ -0,0 +1,21 @@
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:id="@+id/itemCreate"
|
||||
android:orderInCategory="100"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_add"/>
|
||||
|
||||
<item
|
||||
android:id="@+id/itemDelete"
|
||||
android:orderInCategory="101"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_delete"/>
|
||||
|
||||
<!-- item
|
||||
android:id="@+id/itemExport"
|
||||
android:orderInCategory="101"
|
||||
android:showAsAction="never"
|
||||
android:title="@string/action_export"/-->
|
||||
|
||||
</menu>
|
||||
@ -363,5 +363,89 @@
|
||||
<string name="Date_of_monitoring">Дата мониторинга</string>
|
||||
<string name="Name_of_the_HH_Env_monitoring_team_leader">Имя руководителя бригады по мониторингу ЗЧ и ОС </string>
|
||||
<string name="Was_a_spray_monitoring_form_for_this_treatment_filled_out_by_the_control_team">Заполнялась ли Форма по Мониторингу противосаранчовых обработок бригадой по обработке?</string>
|
||||
<string name="Control_team">Бригада по обработке</string>
|
||||
<string name="Number_of_agents_in_control_team">Количество работников в бригаде по обработке</string>
|
||||
<string name="Number_of_agents_previously_trained_in_insecticide_handling_and_application">Количество работников, ранее обученных обращению с инсектицидами и их применению</string>
|
||||
<string name="Batch_or_Lot_number_of_the_pesticide_product">Номер партии препарата (если указан на контейнере)</string>
|
||||
<string name="Date_of_production_or_expiry_date">Дата производства или срок годности (срок хранения)</string>
|
||||
<string name="Condition_of_the_insecticide_containers_or_bags">Состояние пакетов или контейнеров с инсектицидами</string>
|
||||
<string name="Mechanical_safety_any_insecticide_leakage_observed">Механическая безопасность: наблюдалась ли утечка инсектицида?</string>
|
||||
<string name="If_Yes_which_part_of_the_sprayer_shows_leakage">Если Да, в какой части опрыскивателя имеется утечка?</string>
|
||||
<string name="Spray_system_atomisers_or_nozzles_damaged">Система опрыскивания: повреждены распылители или сопла?</string>
|
||||
<string name="If_Yes_what_kind_of_damage">Если Да, какие повреждения?</string>
|
||||
<string name="Area_treated_check_by_monitoring_team_ha">Обработанная площадь (проверено бригадой по мониторингу) (га)</string>
|
||||
<string name="Actual_volume_application_rate_L_ha">Фактическая норма объема опрыскивания (л/га)</string>
|
||||
<string name="If_spraying_observed_good_insecticide_application_practice_followed">Если проводилось наблюдение за опрыскиванием: соблюдалась ли надлежащая практика применения инсектицидов?</string>
|
||||
<string name="Remarks_about_the_observed_spray_application_practice">Замечания относительно наблюдаемой практики опрыскивания</string>
|
||||
<string name="Sprayer_calibration">Калибровка опрыскивателя</string>
|
||||
<string name="Flow_rate_of_sprayer_verified_during_this_monitoring_visit">Калибровка расхода жидкости: проверялся ли расход жидкости опрыскивателя во время мониторинга?</string>
|
||||
<string name="Calibration_time_min">Время калибровки (мин.)</string>
|
||||
<string name="Volume_collected_L">Собранный объем (л)</string>
|
||||
<string name="Flow_rate_L_min">Расход жидкости (л/мин)</string>
|
||||
<string name="Droplet_deposition_verified_during_this_monitoring_visit">Качество применения: проверялось ли осаждение капель во время мониторинга?</string>
|
||||
<string name="Length_of_transect_set_out_with_oil_water_sensitive_papers_m">Длина трансекты, определенная с использованием масляно-/водочувствительной бумаги (м)</string>
|
||||
<string name="Average_wind_speed_during_droplet_deposition_m_sec">Средняя скорость ветра при осаждении капель (м/с)</string>
|
||||
<string name="Swath_width_showing_good_droplet_coverage_m">Ширина дорожки с хорошим покрытием капель (м)</string>
|
||||
<string name="Recommended_track_spacing_m">Рекомендуемый интервал между проходами (м)</string>
|
||||
<string name="Control_efficacy_conducted_control_team">Контроль эффективности проведен (бригада по обработке)?</string>
|
||||
<string name="Control_efficacy_conducted_monitoring_team">Проведен ли контроль эффективности (бригада мониторинга)?</string>
|
||||
<string name="Human_health">Здоровье человека</string>
|
||||
<string name="Remarks_with_respect_to_type_and_state_of_protective_clothing">Замечания относительно типа и состояния средств индивидуальной защиты</string>
|
||||
<string name="Spare_protective_clothing_available_in_team_or_at_nearby_control_base">В бригаде или на ближайшей противосаранчовой базе имеется запасная защитная одежда (в частности, комбинезоны и перчатки)</string>
|
||||
<string name="Number_of_operators_with_a_Pesticide_Use_Passport">Количество операторов с паспортами использования пестицидов</string>
|
||||
<string name="Number_of_correctly_filled_out_pesticide_use_passports">Количество правильно заполненных паспортов использования пестицидов</string>
|
||||
<string name="Cholinesterase_inhibition_measured_during_this_monitoring_visit">Во время мониторинга измерялось ли ингибирование холинэстеразы?</string>
|
||||
<string name="Further_details_about_accidental_exposure_or_poisoning">Дополнительные сведения о случайном воздействии или отравлении</string>
|
||||
<string name="Environmental_health">Состояние окружающей среды</string>
|
||||
<string name="Accidental_contamination_observed_or_reported">Наблюдалось или сообщалось о случайном загрязнении? (например, разлив инсектицидов, неправильная очистка оборудования и т. д.)</string>
|
||||
<string name="Effects_on_non_target_organisms_observed_or_reported">Наблюдалось или сообщалось о воздействии на нецелевые организмы? (например, болезни домашнего скота, смертность рыб, гибель пчел и т.д.)</string>
|
||||
|
||||
<string name="If_yes_where_and_what_type_of_contamination">Если Да, то где и какой тип загрязнения?</string>
|
||||
<string name="If_yes_where_and_what_type_of_effect">Если Да, то где и какое воздействие?</string>
|
||||
<string name="If_reported_by_another_person_by_whom">Если информация поступила от прочих лиц, от кого именно? (укажите имя, номер телефона, адрес)</string>
|
||||
<string name="Any_follow_up_conducted_by_HH_Env_monitoring_team_regarding_an_observed_or_reported_environmental_effect">Осуществлялся ли бригадой по мониторингу ЗЧ и ОС контроль в отношении наблюдаемого или зарегистрированного воздействия на окружающую среду</string>
|
||||
<string name="If_yes_describe_follow_up_actions">Если Да, опишите последующее действие(я)</string>
|
||||
<string name="Map_and_photos">Карта и фотографии</string>
|
||||
<string name="Was_a_situation_map_made_of_the_treatment">Была ли составлена ситуационная карта обработки?</string>
|
||||
<string name="Photos_of_the_treatment_situation_of_any_incidents">Фото ситуации, возникшей при обработке, любых инцидентов и т. д.</string>
|
||||
<string name="Risk_assessments">Оценки риска</string>
|
||||
<string name="Any_dwellings_or_housing_nearby_the_treatment">Имеются ли в непосредственной близости от обработок жилые дома или жилье (в радиусе 2 км вокруг обрабатываемого участка)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_housing">Расстояние от ближайшего края обрабатываемого участка (м) до ближайшего жилья:</string>
|
||||
<string name="Was_exposure_of_the_dwellings_housing_probable">Существует ли вероятность воздействия на жилые дома/жилье?</string>
|
||||
<string name="Were_inhabitants_informed_about_the_insecticide_application">Были ли проинформированы жители о применении инсектицидов? (проверка бригадой по мониторингу)</string>
|
||||
<string name="Any_surface_waters_nearby_the_treatment">Имеются ли в непосредственной близости от обработок поверхностные воды (в радиусе 2 км вокруг обрабатываемого участка)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_surface_water">Расстояние от ближайшего края обрабатываемого участка (м) до ближайшего источника поверхностной воды</string>
|
||||
<string name="Was_exposure_of_the_surface_water_probable">Was exposure of the surface water probable?</string>
|
||||
<string name="Any_apiculture_nearby_the_treatment">Имеются ли в непосредственной близости от обработок пчеловодства (в радиусе 5 км вокруг обрабатываемого участка)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_apiary">Расстояние от ближайшего края обрабатываемого участка (м) до пасеки</string>
|
||||
<string name="Were_beekeepers_informed_about_the_insecticide_application">Были ли пчеловоды проинформированы о применении инсектицидов</string>
|
||||
<string name="Which_measures_were_taken_to_reduce_the_risks_for_honeybees">Какие меры были предприняты для снижения отрицательного воздействия на пчел</string>
|
||||
<string name="Was_exposure_of_honeybees_probable">Существует ли вероятность воздействия на пчел</string>
|
||||
<string name="Any_crops_treated_or_exposed_by_the_insecticide">Были ли обработаны или подверглись воздействию какие-либо сельхозкультуры?</string>
|
||||
<!--string name="Crop_name">Наименование сельхозкультуры</string-->
|
||||
<string name="Stage_of_crop">Фаза развития сельхозкультуры</string>
|
||||
<string name="Phytotoxicity_observed">Наблюдалась ли фитотоксичность</string>
|
||||
<string name="Were_farmers_informed_about_pre_harvest_intervals">Были ли фермеры проинформированы о предуборочном периоде</string>
|
||||
<string name="Any_sericulture_nearby_the_treatment">Имеются ли в непосредственной близости от обработок шелководства (в радиусе 2 км вокруг обрабатываемого участка)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_mulberry_plantation">Расстояние от ближайшего края обрабатываемого участка (м) до тутовой плантации</string>
|
||||
<string name="Were_silkworm_breeders_informed_about_the_insecticide_application">Были ли шелководы проинформированы о применении инсектицидов?</string>
|
||||
<string name="Which_measures_were_taken_to_reduce_the_exposure_of_mulberry_trees">Какие меры были предприняты для снижения отрицательного воздействия на тутовые деревья</string>
|
||||
<string name="Was_exposure_of_mulberry_trees_probable">Существует ли вероятность воздействия на тутовые деревья</string>
|
||||
<string name="Any_grassland_or_grazing_land_treated">Были ли обработаны луга или пастбища?</string>
|
||||
<string name="Were_shepherds_informed_about_re_entry_period_for_livestock">Были ли пастухи проинформированы о периодах удержания домашнего скота?</string>
|
||||
<string name="Any_other_ecologically_sensitive_areas_nearby_the_treatment">Имеются ли в непосредственной близости от обработок другие экологически чувствительные зоны (например, национальный парк, заповедник) (в радиусе 2 км вокруг обрабатываемого участка)</string>
|
||||
<string name="What_type_of_ecologically_sensitive_area">Какой тип экологически чувствительной зоны</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_ecologically_sensitive_area_m">Расстояние от ближайшего края обрабатываемого участка (м) до экологически чувствительной зоны</string>
|
||||
<string name="Were_buffer_zones_respected">Соблюдались ли буферные зоны?</string>
|
||||
<string name="Was_exposure_of_the_ecologically_sensitive_areas_probable">Существует ли вероятность воздействия на экологически чувствительные зоны?</string>
|
||||
<string name="Sampling_for_residue_analysis">Отбор проб для анализа остатков</string>
|
||||
<string name="Samples_taken_for_residue_analysis">Пробы, взятые для анализа остатков</string>
|
||||
<string name="What_substrate_or_organism_was_sampled">Проба какого субстрата или организма была взята</string>
|
||||
<string name="Reference_number_of_the_sampling_form">Регистрационный номер формы отбора проб</string>
|
||||
|
||||
<string name="Human_Health_and_Environment_HH_Env_Monitoring_Form">Мониторинг здоровья человека и окружающей среды</string>
|
||||
<string name="URL_path_to_the_server">URL путь к серверу</string>
|
||||
<string name="Do_you_really_want_to_delete_all_data_from_the_app">Вы действительно хотите удалить все данные из приложения?</string>
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
@ -362,6 +362,91 @@
|
||||
<string name="Name_of_the_HH_Env_monitoring_team_leader">Name of the HH&Env monitoring team leader</string>
|
||||
|
||||
<string name="Was_a_spray_monitoring_form_for_this_treatment_filled_out_by_the_control_team">Was a spray monitoring form for this treatment filled out by the control team?</string>
|
||||
<string name="Control_team">Control team</string>
|
||||
<string name="Number_of_agents_in_control_team">Number of agents in control team</string>
|
||||
<string name="Number_of_agents_previously_trained_in_insecticide_handling_and_application">Number of agents previously trained in insecticide handling and application</string>
|
||||
<string name="Batch_or_Lot_number_of_the_pesticide_product">Batch or Lot number of the pesticide product (if shown on the container)</string>
|
||||
<string name="Date_of_production_or_expiry_date">Date of production or expiry date (shelf life)</string>
|
||||
<string name="Condition_of_the_insecticide_containers_or_bags">Condition of the insecticide containers or bags</string>
|
||||
<string name="Mechanical_safety_any_insecticide_leakage_observed">Mechanical safety: Any insecticide leakage observed?</string>
|
||||
<string name="If_Yes_which_part_of_the_sprayer_shows_leakage">If Yes, which part of the sprayer shows leakage?</string>
|
||||
<string name="Spray_system_atomisers_or_nozzles_damaged">Spray system: Atomisers or nozzles damaged?</string>
|
||||
<string name="If_Yes_what_kind_of_damage">If Yes, what kind of damage?</string>
|
||||
<string name="Area_treated_check_by_monitoring_team_ha">Area treated (check by monitoring team) (ha)</string>
|
||||
<string name="Actual_volume_application_rate_L_ha">Actual volume application rate (L/ha)</string>
|
||||
<string name="If_spraying_observed_good_insecticide_application_practice_followed">If spraying observed: good insecticide application practice followed?</string>
|
||||
<string name="Remarks_about_the_observed_spray_application_practice">Remarks about the observed spray application practice</string>
|
||||
<string name="Sprayer_calibration">Sprayer calibration</string>
|
||||
<string name="Flow_rate_of_sprayer_verified_during_this_monitoring_visit">Flow rate calibration: Flow rate of sprayer verified during this monitoring visit?</string>
|
||||
<string name="Calibration_time_min">Calibration time (min.)</string>
|
||||
<string name="Volume_collected_L">Volume collected (L)</string>
|
||||
<string name="Flow_rate_L_min">Flow rate (L/min)</string>
|
||||
<string name="Droplet_deposition_verified_during_this_monitoring_visit">Application quality: Droplet deposition verified during this monitoring visit?</string>
|
||||
<string name="Length_of_transect_set_out_with_oil_water_sensitive_papers_m">Length of transect set out with oil/water sensitive papers (m)</string>
|
||||
<string name="Average_wind_speed_during_droplet_deposition_m_sec">Average wind speed during droplet deposition (m/sec)</string>
|
||||
<string name="Swath_width_showing_good_droplet_coverage_m">Swath width showing good droplet coverage (m)</string>
|
||||
<string name="Recommended_track_spacing_m">Recommended track spacing (m)</string>
|
||||
<string name="Control_efficacy_conducted_control_team">Control efficacy conducted (control team)</string>
|
||||
<string name="Control_efficacy_conducted_monitoring_team">Control efficacy conducted (monitoring team)</string>
|
||||
<string name="Human_health">Human health</string>
|
||||
<string name="Remarks_with_respect_to_type_and_state_of_protective_clothing">Remarks with respect to type and state of protective clothing</string>
|
||||
<string name="Spare_protective_clothing_available_in_team_or_at_nearby_control_base">Spare protective clothing (especially overalls and gloves) available in team or at nearby control base</string>
|
||||
<string name="Number_of_operators_with_a_Pesticide_Use_Passport">Number of operators with a Pesticide Use Passport</string>
|
||||
<string name="Number_of_correctly_filled_out_pesticide_use_passports">Number of correctly filled out Pesticide Use Passports</string>
|
||||
<string name="Cholinesterase_inhibition_measured_during_this_monitoring_visit">Cholinesterase inhibition measured during this monitoring visit?</string>
|
||||
<string name="Further_details_about_accidental_exposure_or_poisoning">Further details about accidental exposure or poisoning</string>
|
||||
<string name="Environmental_health">Environmental health</string>
|
||||
<string name="Accidental_contamination_observed_or_reported">Accidental contamination observed or reported? (e.g. insecticide spill, inappropriate cleaning of equipment, etc.)</string>
|
||||
<string name="Effects_on_non_target_organisms_observed_or_reported">Effects on non-target organisms observed or reported? (e.g. livestock illness, fish mortality, bee kills, etc.)</string>
|
||||
|
||||
<string name="If_yes_where_and_what_type_of_contamination">If yes, where and what type of contamination?</string>
|
||||
<string name="If_yes_where_and_what_type_of_effect">If yes, where and what type of effect?</string>
|
||||
<string name="If_reported_by_another_person_by_whom">If reported by another person, by whom? (note name, telephone number, address)</string>
|
||||
<string name="Any_follow_up_conducted_by_HH_Env_monitoring_team_regarding_an_observed_or_reported_environmental_effect">Any follow up conducted by HH&Env monitoring team regarding an observed or reported environmental effect</string>
|
||||
<string name="If_yes_describe_follow_up_actions">If yes, describe follow-up action(s)</string>
|
||||
<string name="Map_and_photos">Map and photos</string>
|
||||
<string name="Was_a_situation_map_made_of_the_treatment">Was a situation map made of the treatment?</string>
|
||||
|
||||
<string name="Photos_of_the_treatment_situation_of_any_incidents">Photos of the treatment situation, of any incidents, etc.</string>
|
||||
<string name="Risk_assessments">Risk assessments</string>
|
||||
<string name="Any_dwellings_or_housing_nearby_the_treatment">Any dwellings or housing nearby the treatment? (within a radius of 2 km around the treated area)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_housing">Distance from the closest edge of the treated area (m) to the nearest housing</string>
|
||||
<string name="Was_exposure_of_the_dwellings_housing_probable">Was exposure of the dwellings/housing probable?</string>
|
||||
<string name="Were_inhabitants_informed_about_the_insecticide_application">Were inhabitants informed about the insecticide application? (check by monitoring team)</string>
|
||||
<string name="Any_surface_waters_nearby_the_treatment">Any surface waters nearby the treatment? (within a radius of 2 km around the treated area)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_nearest_surface_water">Distance from the closest edge of the treated area (m) to the nearest surface water</string>
|
||||
<string name="Was_exposure_of_the_surface_water_probable">Was exposure of the surface water probable?</string>
|
||||
<string name="Any_apiculture_nearby_the_treatment">Any apiculture nearby the treatment? (within a radius of 5 km around the treated area)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_apiary">Distance from the closest edge of the treated area (m) to the apiary</string>
|
||||
<string name="Were_beekeepers_informed_about_the_insecticide_application">Were beekeepers informed about the insecticide application</string>
|
||||
<string name="Which_measures_were_taken_to_reduce_the_risks_for_honeybees">Which measures were taken to reduce the risks for honeybees</string>
|
||||
<string name="Was_exposure_of_honeybees_probable">Was exposure of honeybees probable</string>
|
||||
<string name="Any_crops_treated_or_exposed_by_the_insecticide">Any crops treated or exposed by the insecticide?</string>
|
||||
<!--string name="Crop_name">Crop name</string-->
|
||||
<string name="Stage_of_crop">Stage of crop</string>
|
||||
<string name="Phytotoxicity_observed">Phytotoxicity observed</string>
|
||||
<string name="Were_farmers_informed_about_pre_harvest_intervals">Were farmers informed about pre-harvest intervals</string>
|
||||
<string name="Any_sericulture_nearby_the_treatment">Any sericulture nearby the treatment? (within a radius of 2 km around the treated area)</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_mulberry_plantation">Distance from the closest edge of the treated area (m) to the mulberry plantation</string>
|
||||
<string name="Were_silkworm_breeders_informed_about_the_insecticide_application">Were silkworm breeders informed about the insecticide application?</string>
|
||||
<string name="Which_measures_were_taken_to_reduce_the_exposure_of_mulberry_trees">Which measures were taken to reduce the exposure of mulberry trees</string>
|
||||
<string name="Was_exposure_of_mulberry_trees_probable">Was exposure of mulberry trees probable</string>
|
||||
<string name="Any_grassland_or_grazing_land_treated">Any grassland or grazing land treated?</string>
|
||||
<string name="Were_shepherds_informed_about_re_entry_period_for_livestock">Were shepherds informed about re-entry period for livestock?</string>
|
||||
<string name="Any_other_ecologically_sensitive_areas_nearby_the_treatment">Any other ecologically sensitive areas (e.g. national park, nature reserve) nearby the treatment? (within a radius of 2 km around the treated area)</string>
|
||||
<string name="What_type_of_ecologically_sensitive_area">What type of ecologically sensitive area</string>
|
||||
<string name="Distance_from_the_closest_edge_of_the_treated_area_m_to_the_ecologically_sensitive_area_m">Distance from the closest edge of the treated area (m) to the ecologically sensitive area (m)</string>
|
||||
<string name="Were_buffer_zones_respected">Were buffer zones respected?</string>
|
||||
<string name="Was_exposure_of_the_ecologically_sensitive_areas_probable">Was exposure of the ecologically sensitive areas probable?</string>
|
||||
<string name="Sampling_for_residue_analysis">Sampling for residue analysis</string>
|
||||
<string name="Samples_taken_for_residue_analysis">Samples taken for residue analysis</string>
|
||||
<string name="What_substrate_or_organism_was_sampled">What substrate or organism was sampled</string>
|
||||
<string name="Reference_number_of_the_sampling_form">Reference number of the sampling form</string>
|
||||
|
||||
<string name="Human_Health_and_Environment_HH_Env_Monitoring_Form">Human Health and Environment (HH&Env) Monitoring Form</string>
|
||||
<string name="URL_path_to_the_server">URL path to the server</string>
|
||||
|
||||
<string name="Do_you_really_want_to_delete_all_data_from_the_app">Do you really want to delete all data from the app?</string>
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user