zoukankan      html  css  js  c++  java
  • 新体温填报系统阶段一

    Bean

    package com.example.litepaltest;
    
    import org.litepal.crud.LitePalSupport;
    
    public class banji extends LitePalSupport {
        private String xuhao;
        private String name;
        private String phone;
        private String danwei;
        private String shijian;
        private String tiw;
        private String zhuzhi;
        private String zhuangkuang;
        private String jiankang;
    
        public String getJiankang() {
            return jiankang;
        }
    
        public void setJiankang(String jiankang) {
            this.jiankang = jiankang;
        }
    
        public String getZhuangkuang() {
            return zhuangkuang;
        }
    
        public void setZhuangkuang(String zhuangkuang) {
            this.zhuangkuang = zhuangkuang;
        }
    
        public String getZhuzhi() {
            return zhuzhi;
        }
    
        public void setZhuzhi(String zhuzhi) {
            this.zhuzhi = zhuzhi;
        }
    
        public String getShijian() {
            return shijian;
        }
    
        public void setShijian(String shijian) {
            this.shijian = shijian;
        }
    
        public String getTiw() {
            return tiw;
        }
    
        public void setTiw(String tiw) {
            this.tiw = tiw;
        }
    
        public String getXuhao() {
            return xuhao;
        }
    
        public void setXuhao(String xuhao) {
            this.xuhao = xuhao;
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
        public String getPhone() {
            return phone;
        }
    
        public void setPhone(String phone) {
            this.phone = phone;
        }
    
        public String getDanwei() {
            return danwei;
        }
    
        public void setDanwei(String danwei) {
            this.danwei = danwei;
        }
        public banji()
        {}
        public banji(String xuhao, String name, String phone, String danwei, String shijian, String tiw, String zhuzhi, String zhuangkuang, String jiankang) {
            this.xuhao = xuhao;
            this.name = name;
            this.phone = phone;
            this.danwei = danwei;
            this.shijian = shijian;
            this.tiw = tiw;
            this.zhuzhi = zhuzhi;
            this.zhuangkuang = zhuangkuang;
            this.jiankang = jiankang;
        }
    }
    package com.example.litepaltest;
    
    import org.litepal.crud.LitePalSupport;
    
    public class Person extends LitePalSupport {
        private String xuhao;
        private String name;
        private String phone;
        private String danwei;
    
        public String getXuhao() {
            return xuhao;
        }
    
        public void setXuhao(String xuhao) {
            this.xuhao = xuhao;
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
        public String getPhone() {
            return phone;
        }
    
        public void setPhone(String phone) {
            this.phone = phone;
        }
    
        public String getDanwei() {
            return danwei;
        }
    
        public void setDanwei(String danwei) {
            this.danwei = danwei;
        }
    
    }
    package com.example.litepaltest;
    
    import org.litepal.crud.LitePalSupport;
    
    public class tiwen extends LitePalSupport {
        private String name;
        private String shijian;
        private String tiw;
        private String zhuzhi;
        private String zhuangkuang;
        private String jiankang;
    
        public String getJiankang() {
            return jiankang;
        }
    
        public void setJiankang(String jiankang) {
            this.jiankang = jiankang;
        }
    
        public String getZhuangkuang() {
            return zhuangkuang;
        }
    
        public void setZhuangkuang(String zhuangkuang) {
            this.zhuangkuang = zhuangkuang;
        }
    
        public String getZhuzhi() {
            return zhuzhi;
        }
    
        public void setZhuzhi(String zhuzhi) {
            this.zhuzhi = zhuzhi;
        }
    
        public String getName() {
            return name;
        }
    
        public void setName(String name) {
            this.name = name;
        }
    
    
        public String getShijian() {
            return shijian;
        }
    
        public void setShijian(String shijian) {
            this.shijian = shijian;
        }
    
        public String getTiw() {
            return tiw;
        }
    
        public void setTiw(String tiw) {
            this.tiw = tiw;
        }
    }
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout 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:orientation="vertical"
        tools:context=".MainActivity">
    
    
        <TextView
            android:id="@+id/tv_name"
            android:text="姓名"
    android:layout_weight="1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
    
        <EditText
            android:layout_weight="1"
    
            android:id="@+id/et_name"
            android:layout_width="429dp"
            android:layout_height="33dp" />
    
        <TextView
            android:id="@+id/tv_shijian"
            android:text="时间"
    
            android:layout_weight="1"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
    
        <EditText
            android:layout_weight="1"
    
            android:id="@+id/et_shijian"
            android:layout_width="match_parent"
            android:layout_height="wrap_content" />
    
    
        <TextView
            android:id="@+id/tv_tiwen"
            android:text="体温"
            android:layout_weight="1"
    
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
    
        <EditText
            android:id="@+id/et_tiwen"
            android:layout_weight="1"
    
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:hint="默认值为:36.2" />
        <TextView
            android:id="@+id/tv_zhuzhi"
            android:text="家庭住址"
            android:layout_weight="1"
    
            android:layout_width="match_parent"
            android:layout_height="wrap_content"/>
    
        <TextView
            android:id="@+id/address_text"
            android:layout_width="398dp"
            android:layout_height="30dp"
            android:text=" "
            android:layout_weight="1"
    
            android:textColor="#ffc0cb"
            android:textSize="10sp" />
    
    
        <Button
            android:layout_weight="1"
    
            android:id="@+id/button_2"
            android:layout_width="wrap_content"
            android:layout_height="30dp"
            android:text="获取定位"
            android:textColor="#000000"
            android:textSize="10sp" />
    
        <TextView
            android:layout_weight="1"
    
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:text="特殊情况(可多选,如有其他需报告的情况需说明)"
            ></TextView>
    
        <LinearLayout
            android:layout_weight="1"
    
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:orientation="vertical">
    
            <CheckBox
                android:layout_weight="1"
    
                android:id="@+id/btn1"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="无" />
    
            <CheckBox
                android:layout_weight="1"
    
                android:id="@+id/btn2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="2020年12月27日至今去过或现在居住在中高风险地区"
    
                />
    
            <EditText
                android:layout_weight="1"
    
                android:id="@+id/btn_2"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:hint="按照公布的中高风险地区区域名称,对应填写"></EditText>
    
            <CheckBox
                android:layout_weight="1"
    
                android:id="@+id/btn3"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="本人或家人正在集中隔离" />
    
            <EditText
                android:layout_weight="1"
    
                android:id="@+id/btn_3"
                android:layout_width="wrap_content"
                android:layout_height="34dp"
                android:hint="请填写原因"></EditText>
    
            <CheckBox
                android:layout_weight="1"
    
                android:id="@+id/btn4"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="今日居住地异动" />
    
            <EditText
                android:layout_weight="1"
    
                android:id="@+id/btn_4"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:hint="请说明情况"></EditText>
    
            <CheckBox
                android:layout_weight="1"
    
                android:id="@+id/btn5"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="其他情况" />
    
            <EditText
                android:layout_weight="1"
    
                android:id="@+id/btn_5"
                android:layout_width="wrap_content"
                android:layout_height="30dp"
                android:hint="请填写原因"></EditText>
    
            <Button
                android:layout_weight="1"
    
                android:id="@+id/add_data"
                android:layout_width="173dp"
                android:layout_height="wrap_content"
                android:text="录入并到出到Excel" />
    
    
        </LinearLayout>
    
    </LinearLayout>
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        xmlns:tools="http://schemas.android.com/tools"
        android:orientation="vertical">
        <TextView
            android:id="@+id/tv_phone2"
            android:textSize="20dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="请输入手机号"
            >
    
        </TextView>
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/et_phone2"
            android:layout_toRightOf="@id/tv_phone2"
            ></EditText>
        <Button
            android:text="登录"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/denglu"
            ></Button>
        <Button
            android:text="注册"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/zhuce2"
            ></Button>
        <Button
    
        android:id="@+id/jieguo"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="查看结果"
        />
        <Button
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="导出地图"
            android:id="@+id/ditu"
            ></Button>
    
        <Button
            android:id="@+id/daochu"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="导出折线图统计"
            ></Button>
        <Button
    
            android:id="@+id/delete"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="删除记录"
            />
    
    </LinearLayout>
    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
    >
    
        <TextView
            android:id="@+id/tv_id"
            android:textSize="20dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="ID:"
            >
    
        </TextView>
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/et_id"
            android:layout_toRightOf="@id/tv_id"
            ></EditText>
        <TextView
            android:id="@+id/tv_name1"
            android:textSize="20dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Name:"
            >
    
        </TextView>
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/et_name"
            android:layout_toRightOf="@id/tv_name1"
            ></EditText>
        <TextView
            android:id="@+id/tv_phone1"
            android:textSize="20dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="Phone:"
            >
    
        </TextView>
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/et_phone"
            android:layout_toRightOf="@id/tv_phone1"
            ></EditText>
        <TextView
            android:id="@+id/tv_danwei1"
            android:textSize="20dp"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:text="班级:"
            >
    
        </TextView>
    
        <EditText
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/et_danwei"
            android:layout_toRightOf="@id/tv_danwei1"
            ></EditText>
        <Button
            android:text="注册"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:id="@+id/zhuce"
            ></Button>
    </LinearLayout>

    对上一次的体温系统进行了改进,以后会进行更多的改进和功能

  • 相关阅读:
    精彩回顾 | Serverless Developer Meetup 12.04 深圳站
    Dubbo3 Triple 协议简介与选型思考
    阿里云 FaaS 架构设计与创新实践
    KubeDL 0.4.0 Kubernetes AI 模型版本管理与追踪
    shell脚本awk的用法
    case用法ping命令脚本(工作中常用的)
    linux时间与internet时间同步
    bootStrap表单验证插件的使用
    状态模式之观察者模式
    20211125
  • 原文地址:https://www.cnblogs.com/feng747/p/14909405.html
Copyright © 2011-2022 走看看