|
@@ -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();
|