| | |
| | | import androidx.lifecycle.Observer; |
| | | import androidx.lifecycle.ViewModelProviders; |
| | | |
| | | import com.anyun.exam.lib.AYSdk; |
| | | import com.google.gson.Gson; |
| | | |
| | | import java.util.Arrays; |
| | | import java.util.List; |
| | | |
| | | import me.yokeyword.fragmentation.SupportFragment; |
| | | import safeluck.drive.evaluation.Constant; |
| | | import safeluck.drive.evaluation.R; |
| | | import safeluck.drive.evaluation.fragment.rulefragments.cview.TextEditText; |
| | | import safeluck.drive.evaluation.util.FileUtil; |
| | |
| | | public class FragmentSetting0 extends SupportFragment { |
| | | private static final String ARG_NUMBER = "arg_number"; |
| | | private static final String TAG = FragmentSetting0.class.getSimpleName(); |
| | | |
| | | private Gson gson = new Gson(); |
| | | private TextEditText textEditText_gear_n_allow_time; |
| | | private TextEditText textEditText_same_gear_min_time; |
| | | private TextEditText textEditText_gear_speed_error_cumulative_time; |
| | |
| | | |
| | | } |
| | | gearRelateSetViewModel.saveGearRelatedSetting(mgearRelateSet); |
| | | AYSdk.getInstance().sendCmd(Constant.ID_judge_args,gson.toJson(mgearRelateSet)); |
| | | Toast.makeText(_mActivity, "保存成功", Toast.LENGTH_SHORT).show(); |
| | | } |
| | | }); |