Просмотр исходного кода

修改下载时下发的命令;
删除不需要的子栏目。

robbin 4 лет назад
Родитель
Сommit
3431461ae6

+ 7 - 1
app/src/main/java/com/example/administrator/wingcool_gt9_apk/Config.java

@@ -346,7 +346,7 @@ public class Config extends AppCompatActivity
                 case CONNECTED_SUCCESS://车机和手机连接成功
                     //mError.setText("");
                     mReadCfg.setEnabled(true);
-                    mSendCfg.setEnabled(true);
+
                     break;
 
                 case RECEIVER_MESSAGE_SUCCESS://成功接受到数据
@@ -2008,6 +2008,8 @@ public class Config extends AppCompatActivity
 
         mSendCfg.setEnabled(false);
 
+        btnsave.setEnabled(false);
+
         mThreadPool = Executors.newFixedThreadPool(5);
 
         mUsbManager = (UsbManager) getSystemService(Context.USB_SERVICE);
@@ -3936,6 +3938,10 @@ public class Config extends AppCompatActivity
                 iicRead(addressH,addressL,mBytes,32);
                 tvVenderID.setText("VenderID:"+Integer.toString(mBytes[10] & 0xFF));
 
+                mSendCfg.setEnabled(true);
+
+                btnsave.setEnabled(true);
+
                 break;
             case R.id.savecfg:
 

+ 3 - 1
app/src/main/java/com/example/administrator/wingcool_gt9_apk/FirmwareUpdate.java

@@ -517,7 +517,7 @@ public class FirmwareUpdate extends AppCompatActivity
                 mSendData = mSendGetGt9VersionData;
                 isSendMessage = false;
 
-                iicWriteCommand((byte)0x12,(byte)0,(byte)0,0,57);
+                iicWriteCommand((byte)0x12,(byte)0,(byte)0,0,0);
 
                 while(true) {
                     SystemClock.sleep(100);
@@ -1354,6 +1354,8 @@ public class FirmwareUpdate extends AppCompatActivity
                // mMessage.setText("文件没被发现");
                 Update_log = "文件没被发现";
                 mHandler.sendEmptyMessage(DEBUG_MESSAGE_ERROR);
+
+                return false;
             }
             catch (IOException e) {
                 e.printStackTrace();

+ 0 - 195
app/src/main/java/com/example/administrator/wingcool_gt9_apk/GT9MainActivity.java

@@ -100,18 +100,6 @@ public class GT9MainActivity extends AppCompatActivity
 
     public static List<Activity> activityList = new LinkedList();
 
-    private Button bt_tcpstart;
-    private final static String TAG = "Main2Activity-------->";
-    private final static String addreeip = "192.168.3.80";
-    private final static int port = 5555;
-    private String app_text, receData;
-    private Socket socket = null;
-    private ServerSocket server = new ServerSocket(5168);
-
-    // 获取输出流与输入流
-    private OutputStream outputStream = null;
-    private InputStream inputStream = null;
-
     private byte[] SyncCmd = new byte[] {0x03, 0x00, 0x0d, (byte)0x81, 0x4E, 0x00, 0x01};
 
     Handler mHandler = new Handler() {
@@ -279,10 +267,6 @@ public class GT9MainActivity extends AppCompatActivity
             }
         });
 
-        bt_tcpstart = findViewById(R.id.bt_tcpstart);
-
-        bt_tcpstart.setOnClickListener(this);
-
         init();//
     }
 
@@ -433,193 +417,14 @@ public class GT9MainActivity extends AppCompatActivity
 
         btnExit = (Button) findViewById(R.id.Exit);
         btnExit.setOnClickListener(this);
-
-        btnUpgradeMode = (Button) findViewById(R.id.UpgradeMode);
-        btnUpgradeMode.setOnClickListener(this);
-
-        mDataAnalysisContext = GT9MainActivity.this;
-        btnDataAnalysis = (Button) findViewById(R.id.DataAnalysis);
-    }
-    private void CloseHidIic()
-    {
-        if (isS818Device)
-        {
-            iicWrite((byte)0x12,(byte)0,(byte)0,0,57);
-
-            while(true) {
-                SystemClock.sleep(100);
-
-                iicRead((byte) 0x81, (byte) 0x4e, mBytes, 1);
-                if (mBytes[0] == (byte)0)
-                {
-                    break;
-                }
-
-                iicWrite((byte) 0x0f, (byte) 0x81, (byte) 0x4e, 0, 1);
-            }
-
-        }
-
     }
 
-
-
     @Override
     public void onClick(final View v) {
         switch (v.getId()) {
             case R.id.Exit:   //Exit
                 exit();
                 break;
-
-            case R.id.bt_tcpstart:
-
-                String btContent = bt_tcpstart.getText().toString();
-
-                if (btContent.equals("TCP启动")) {
-
-                    bt_tcpstart.setText("TCP停止");
-
-                    //bt_tcpstart.setBackgroundColor(getResources().getColor(R.color.colorAccent1));
-
-                    new Thread(new Runnable() {
-
-                        @Override
-
-                        public void run() {
-
-                            try {
-
-
-                                // server将一直等待连接的到来
-                                System.out.println("server将一直等待连接的到来");
-
-                                socket = server.accept();
-                                // 建立好连接后,从socket中获取输入流,并建立缓冲区进行读取
-                                inputStream = socket.getInputStream();
-                                outputStream = socket.getOutputStream();
-                                byte[] headbytes = new byte[8];
-                                byte[] databytes = new byte[1024*6];
-                                int len;
-                                int datalen = 0;
-                                int framelen = 0;
-                                int frameid = 0;
-                                StringBuilder sb = new StringBuilder();
-
-                                //for(int i = 0; i < 128; i++)
-                                //{
-                                //    mBytes[i] = 0 ;
-                                //}
-
-                                //只有当客户端关闭它的输出流的时候,服务端才能取得结尾的-1
-                                while ((len = inputStream.read(headbytes, 0,  8)) != -1) {
-
-                                    //先判断头部字节是否正确
-                                    if ( headbytes[0] == (byte)0x8d
-                                            && headbytes[1] == 0x7c
-                                            && headbytes[2] == 0x6b
-                                            && headbytes[3] == 0x5a )
-                                    {
-
-                                        framelen = (headbytes[4] & 0xff) + (int) ((headbytes[5] & 0xff) * 256);  //低位在前
-                                        frameid = (headbytes[6] & 0xff) + (int) ((headbytes[7] & 0xff) * 256);
-
-                                        int offset = 0;
-
-                                        do{
-                                           // byte[] bytes = new byte[framelen];
-                                            len = inputStream.read(mBytes, offset, framelen - offset);
-                                            if(len==-1)
-                                            {
-                                                break;
-                                            }
-                                            offset+=len;
-                                        } while(offset < framelen);
-
-                                        if(offset!=framelen)
-                                        {
-                                            continue;
-                                        }
-
-                                        datalen = (mBytes[5] & 0xFF) + (int)(mBytes[4] * 256);  //高位在前
-
-                                        if(mBytes[0] == 1){
-                                            SetUSBData(mBytes, datalen);
-                                        }
-                                        else{
-                                            if(GetUSBData(mBytes,databytes,datalen)) {//根据命令去获取USB数据
-                                                databytes[0] = (byte)0x8d;
-                                                databytes[1] = 0x7c;
-                                                databytes[2] = 0x6b;
-                                                databytes[3] = 0x5a;
-                                                databytes[4] = (byte)datalen;
-                                                databytes[5] = (byte)(datalen>>8);
-                                                databytes[6] = (byte)frameid;
-                                                databytes[7] = (byte)(frameid>>8);
-                                                outputStream.write(databytes,0, datalen + 8);
-                                            }
-                                        }
-                                    }
-                                    // 注意指定编码格式,发送方和接收方一定要统一,建议使用UTF-
-                                    /*
-                                    for(int i=0; i<len; i++)
-                                    {
-                                        sb.append(Integer.toHexString(bytes[i]));
-                                        sb.append(',');
-                                    }
-                                    sb.append('\n');
-                                    System.out.println(sb);
-                                    */
-                                }
-
-                                //outputStream = socket.getOutputStream();
-
-                                inputStream.close();
-                                outputStream.close();
-                                socket.close();
-                                server.close();
-
-                            } catch (IOException e) {
-                                e.printStackTrace();
-                                Log.i(TAG, "连接失败!!!" + e.toString());
-
-                            }
-                        }
-
-                    }).start();
-
-                } else {
-
-                    bt_tcpstart.setText("TCP启动");
-                    //bt_tcpstart.setBackgroundColor(getResources().getColor(R.color.colorAccent2));
-
-                    try {
-                        //inputStream.close();
-                        //outputStream.close();
-                        //socket.close();
-                        server.close();
-                    } catch (IOException e) {
-                        e.printStackTrace();
-                    }
-
-                }
-
-                break;
-            case R.id.UpgradeMode:
-                iicWrite((byte)0x12,(byte)0,(byte)0,0,57);
-
-                while(true) {
-                    SystemClock.sleep(100);
-
-                    iicRead((byte) 0x81, (byte) 0x4e, mBytes, 1);
-                    if (mBytes[0] == (byte)0)
-                    {
-                        break;
-                    }
-
-                    iicWrite((byte) 0x0f, (byte) 0x81, (byte) 0x4e, 0, 1);
-                }
-
-                break;
             default:
                 break;
         }

+ 0 - 159
app/src/main/res/layout-hdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-land-hdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-land-mdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-land-xhdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-land-xxhdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-land-xxxhdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-land/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-mdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-xhdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-xxhdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout-xxxhdpi/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"

+ 0 - 159
app/src/main/res/layout/activity_gt9_main.xml

@@ -173,28 +173,6 @@
                 </RadioGroup>
             </LinearLayout>
 
-            <Button
-                android:id="@+id/bt_tcpstart"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="8dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="TCP启动"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.535"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.196" />
-
             <Button
                 android:id="@+id/readtext"
                 android:layout_width="match_parent"
@@ -241,121 +219,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/DataAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DataAnalysis"
-                android:text="@string/dataanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/NoiseAnalysis"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="NoiseAnalysis"
-                android:text="@string/noiseanalysis"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/DemoTools"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="DemoTools"
-                android:text="@string/demotools"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/IICOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="IICOperation"
-                android:text="@string/ramoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
-            <Button
-                android:id="@+id/TestOperation"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:onClick="TestOperation"
-                android:text="@string/testoperation"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/ContactUs"
                 android:layout_width="match_parent"
@@ -379,28 +242,6 @@
                 app:layout_constraintTop_toTopOf="parent"
                 app:layout_constraintVertical_bias="0.376" />
 
-            <Button
-                android:id="@+id/UpgradeMode"
-                android:layout_width="match_parent"
-                android:layout_height="match_parent"
-                android:layout_marginStart="8dp"
-                android:layout_marginLeft="8dp"
-                android:layout_marginTop="0dp"
-                android:layout_marginEnd="8dp"
-                android:layout_marginRight="8dp"
-                android:layout_marginBottom="0dp"
-                android:background="@drawable/bg_mainactivity_buttonframe_line"
-                android:text="@string/upgrademode"
-                android:textColor="#FFFFf0"
-                android:textAllCaps="false"
-                android:textSize="30dp"
-                app:layout_constraintBottom_toBottomOf="parent"
-                app:layout_constraintEnd_toEndOf="parent"
-                app:layout_constraintHorizontal_bias="0.515"
-                app:layout_constraintStart_toStartOf="parent"
-                app:layout_constraintTop_toTopOf="parent"
-                app:layout_constraintVertical_bias="0.376" />
-
             <Button
                 android:id="@+id/Exit"
                 android:layout_width="match_parent"