|
|
@@ -4,6 +4,7 @@ package com.bonait.bnframework.common.helper; |
|
|
|
import android.util.Log; |
|
|
|
|
|
|
|
import com.bonait.bnframework.common.constant.ConfigName; |
|
|
|
import com.bonait.bnframework.common.constant.MessageName; |
|
|
|
import com.bonait.bnframework.common.db.QueryDB; |
|
|
|
import com.bonait.bnframework.common.db.file.DBHelper; |
|
|
|
import com.bonait.bnframework.common.db.mode.BPA_CRAFT; |
|
|
@@ -11,6 +12,7 @@ import com.bonait.bnframework.common.db.mode.BPA_GOODSRECIPE; |
|
|
|
import com.bonait.bnframework.common.db.mode.BPA_SILOSANDMATERIAL; |
|
|
|
import com.bonait.bnframework.common.helper.I.IRunT; |
|
|
|
import com.bonait.bnframework.common.helper.I.IThread; |
|
|
|
import com.bonait.bnframework.common.message.MessageManager; |
|
|
|
import com.google.gson.Gson; |
|
|
|
|
|
|
|
import java.io.BufferedReader; |
|
|
@@ -158,6 +160,8 @@ public class TcpClient { |
|
|
|
else QueryDB.AddProcessModel(item); |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
// MessageManager.getInstance().sendMessage(MessageName.ScGood, "Good"); |
|
|
|
} |
|
|
|
Thread.sleep(1000); |
|
|
|
} |
|
|
|