소스 검색

修改类型

ltwork 1 년 전
부모
커밋
fdb19b0e10
3개의 변경된 파일6개의 추가작업 그리고 6개의 파일을 삭제
  1. 2 2
      B20UVLog/LogPcTask_Biz.cs
  2. 2 2
      B20UVLog/Models/RobotInterfaceInModel.cs
  3. 2 2
      B20UVLog/Models/RobotInterfaceOutModel.cs

+ 2 - 2
B20UVLog/LogPcTask_Biz.cs

@@ -680,7 +680,7 @@ namespace B20UVLog
                         }
 
                         //ToDo:把PLC数据插入到数据库中
-                        RobotInterfaceIn axisData = MapPlcItemToObjectProperty<RobotInterfaceIn>(robotInPlcItemLst);
+                        RobotInterfaceInModel axisData = MapPlcItemToObjectProperty<RobotInterfaceInModel>(robotInPlcItemLst);
 
                         axisData.RecordTime = DateTime.Now;
                         DbHelper.Db.Insertable(axisData).ExecuteCommand();
@@ -730,7 +730,7 @@ namespace B20UVLog
                         }
 
                         //ToDo:把PLC数据插入到数据库中
-                        RobotInterfaceOut axisData = MapPlcItemToObjectProperty<RobotInterfaceOut>(robotInPlcItemLst);
+                        RobotInterfaceOutModel axisData = MapPlcItemToObjectProperty<RobotInterfaceOutModel>(robotInPlcItemLst);
 
                         axisData.RecordTime = DateTime.Now;
                         DbHelper.Db.Insertable(axisData).ExecuteCommand();

+ 2 - 2
B20UVLog/Models/RobotInterfaceIn.cs → B20UVLog/Models/RobotInterfaceInModel.cs

@@ -9,9 +9,9 @@ namespace B20UVLog.Models
     ///
     ///</summary>
     [SugarTable("robot_interface_in")]
-    public partial class RobotInterfaceIn
+    public partial class RobotInterfaceInModel
     {
-           public RobotInterfaceIn(){
+           public RobotInterfaceInModel(){
 
 
            }

+ 2 - 2
B20UVLog/Models/RobotInterfaceOut.cs → B20UVLog/Models/RobotInterfaceOutModel.cs

@@ -9,9 +9,9 @@ namespace B20UVLog.Models
     ///
     ///</summary>
     [SugarTable("robot_interface_out")]
-    public partial class RobotInterfaceOut
+    public partial class RobotInterfaceOutModel
     {
-           public RobotInterfaceOut(){
+           public RobotInterfaceOutModel(){
 
 
            }