AgvPoint.cs 2.04 KB
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HHECS.Model.Entities
{

    public class AgvPoint
    {
        public static List<AgvPointItem> list = null;
        static AgvPoint()
        {
            list = new List<AgvPointItem>();

            list.Add(new AgvPointItem() { AgvPoint= "BatteriesStationArrive",  Station= "BatteriesStation" });
            list.Add(new AgvPointItem() { AgvPoint = "PartsStation1Arrive", Station = "PartsStation1" });
            list.Add(new AgvPointItem() { AgvPoint = "PartsStation2Arrive", Station = "PartsStation2" });
            list.Add(new AgvPointItem() { AgvPoint = "PartsStation3Arrive", Station = "PartsStation2" });
            list.Add(new AgvPointItem() { AgvPoint = "ProduceStationArrive", Station = "ProduceStation" });
            list.Add(new AgvPointItem() { AgvPoint = "ProductStationArrive", Station = "ProductStation" });

            list.Add(new AgvPointItem() { AgvPoint = "BatteriesStationLeave", Station = "BatteriesStation" });
            list.Add(new AgvPointItem() { AgvPoint = "PartsStation1Leave", Station = "PartsStation1" });
            list.Add(new AgvPointItem() { AgvPoint = "PartsStation2Leave", Station = "PartsStation2" });
            list.Add(new AgvPointItem() { AgvPoint = "PartsStation3Leave", Station = "PartsStation2" });
            list.Add(new AgvPointItem() { AgvPoint = "ProduceStationLeave", Station = "ProduceStation" });
            list.Add(new AgvPointItem() { AgvPoint = "ProductStationLeave", Station = "ProductStation" });

            //list.Add(new AgvPointItem() { AgvPoint = "BatteriesStationAmount", Station = "BatteriesStation" });
            //list.Add(new AgvPointItem() { AgvPoint = "PartsStation1Amount", Station = "PartsStation1" });
            //list.Add(new AgvPointItem() { AgvPoint = "PartsStation2Amount", Station = "PartsStation2" });
        }
    }



    public class AgvPointItem
    {
        public String AgvPoint { get; set; }
        public String Station { get; set; }
    }

}