Beispiel #1
0
        public SingleTask getSingleTaskByTaskName(string taskName)
        {
            SingleTask singleTask = null;

            foreach (SingleTask st in AGVCacheData.getSingleTaskList())
            {
                if (st.taskName.StartsWith(taskName))
                {
                    singleTask = st;
                }
            }
            return(singleTask);
        }
Beispiel #2
0
        public SingleTask getSingleTaskByID(int singleTaskID)
        {
            SingleTask singleTask = null;

            foreach (SingleTask st in AGVCacheData.getSingleTaskList())
            {
                if (st.taskID == singleTaskID)
                {
                    singleTask = st;
                }
            }
            return(singleTask);
        }