예제 #1
0
        public void LayerEvacuation(PostTapingEvacuationShuttleLayerEvacuationRequest request)
        {
            int indice = Variable.vVariableAna.IndexOf(Main.NavetteEvacuation.LayerEvacuation.LayerDestination);

            Variable.vVariableAna[indice].WriteVar(request.LayerDestination);

            indice = Variable.vVariableAna.IndexOf(Main.NavetteEvacuation.LayerEvacuation.MissionNumber);
            Variable.vVariableAna[indice].WriteVar(request.MissionNumber);

            indice = Variable.vVariableAna.IndexOf(Main.NavetteEvacuation.LayerEvacuation.SorterOutputConveyorNumber);
            Variable.vVariableAna[indice].WriteVar(request.SorterOutputConveyorNumber);

            indice = Variable.vVariableBool.IndexOf(Main.NavetteEvacuation.LayerEvacuation.ReceiveCom);
            Variable.vVariableBool[indice].WriteVar(true);
        }
        private static ILog log = LogManager.GetLogger("EvacuationService"); //Start logger

        public void LayerEvacuation(PostTapingEvacuationShuttleLayerEvacuationRequest request)
        {
            log.Info(request.MissionNumber + " " + request.LayerDestination + " " + request.SorterOutputConveyorNumber);
        }