| | |
| | | package com.zy.asrs.wcs.rcs.model.protocol; |
| | | |
| | | import com.zy.asrs.wcs.core.entity.Station; |
| | | import com.zy.asrs.wcs.core.entity.BasConveyorSta; |
| | | import lombok.Data; |
| | | |
| | | /** |
| | |
| | | return null; |
| | | } |
| | | |
| | | public Station toSqlModel(Station station){ |
| | | station.setStaNo(String.valueOf(siteId)); |
| | | station.setTaskNo(String.valueOf(workNo)); |
| | | public BasConveyorSta toSqlModel(BasConveyorSta station){ |
| | | station.setSiteNo(siteId); |
| | | station.setTaskNo(workNo.intValue()); |
| | | station.setAutoing(autoing?"Y":"N"); |
| | | station.setLoading(loading?"Y":"N"); |
| | | station.setInEnable(inEnable?"Y":"N"); |