|  |  | 
 |  |  | import com.zy.core.cache.MessageQueue; | 
 |  |  | import com.zy.core.cache.OutputQueue; | 
 |  |  | import com.zy.core.enums.SlaveType; | 
 |  |  | import com.zy.core.enums.SteStatusType; | 
 |  |  | import com.zy.core.enums.SteTaskModeType; | 
 |  |  | import com.zy.core.model.SteSlave; | 
 |  |  | import com.zy.core.model.Task; | 
 |  |  | 
 |  |  |         if (null == steProtocol) { | 
 |  |  |             steProtocol = new SteProtocol(); | 
 |  |  |         } | 
 |  |  | //        steProtocol.setMode((short) -1); | 
 |  |  | //        steProtocol.setTaskNo((short)0); | 
 |  |  | //        steProtocol.setStatus((short)-1); | 
 |  |  | //        steProtocol.setBay((short)0); | 
 |  |  | //        steProtocol.setLevel((short)0); | 
 |  |  | //        steProtocol.setForkPos((short) -1); | 
 |  |  | //        steProtocol.setLiftPos((short) -1); | 
 |  |  | //        steProtocol.setWalkPos((short)0); | 
 |  |  | //        steProtocol.setLoaded((short)0); | 
 |  |  | //        steProtocol.setAlarm((short)0); | 
 |  |  | //        steProtocol.setXSpeed(0F); | 
 |  |  | //        steProtocol.setYSpeed(0F); | 
 |  |  | //        steProtocol.setZSpeed(0F); | 
 |  |  | //        steProtocol.setXDistance(0F); | 
 |  |  | //        steProtocol.setYDistance(0F); | 
 |  |  | //        steProtocol.setXDuration(0F); | 
 |  |  | //        steProtocol.setYDuration(0F); | 
 |  |  |         steProtocol.setSteNo(slave.getId().shortValue()); | 
 |  |  |         steProtocol.setMode((short) 0); | 
 |  |  |         steProtocol.setStatus(SteStatusType.OFF_LINE); | 
 |  |  |         steProtocol.setTaskNo(0); | 
 |  |  |         steProtocol.setExecute(false); | 
 |  |  |         steProtocol.setWaiting(false); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     @Override |