Esempio n. 1
0
 private void Test()
 {
     ModuleControl.UpdateAgvSiteNew("AGV011", 12, 5);
     ModuleControl.UpdateAgvSiteNew("AGV012", 12, 1);
     ModuleControl.UpdateAgvSiteNew("AGV013", 12, 12);
     ModuleControl.UpdateAgvSiteNew("AGV014", 12, 78);
     ModuleControl.UpdateAgvSiteNew("AGV02", 15);
     //ModuleControl.UpdateAgvSiteNew("AGV03", 15);
     ModuleControl.UpdateAgvSiteNew("AGV04", 15);
     ModuleControl.UpdateAgvSiteNew("AGV05", 15);
 }
Esempio n. 2
0
        private void ReReadConfBtn_Click(object sender, EventArgs e)
        {
            anminateTimer.Enabled = false;
            xml = new XmlAnalyze();
            xml.DoAnalyze();

            ModuleControl.AddLinesToModule(xml._lineDatas);
            AgvLineMaster.AddLine(xml.AgvLineList);

            LineDateCenter.AddLineData();
            anminateTimer.Enabled = true;
        }
Esempio n. 3
0
        private void AnminationForm_Load(object sender, EventArgs e)
        {
            anmination = new Anmination(imageList);

            xml = new XmlAnalyze();
            xml.DoAnalyze();

            ModuleControl.AddLinesToModule(xml._lineDatas);
            AgvLineMaster.AddLine(xml.AgvLineList);

            LineDateCenter.AddLineData();

            InitDispConfig();
        }
Esempio n. 4
0
        public static void UpDateAgv(string name, int site = 0)
        {
            AgvSiteRate agvSiteRate = AgvSiteList.Find(c => { return(c.AgvName.Equals(name)); });

            if (agvSiteRate == null)
            {
                AgvSiteRate agv = new AgvSiteRate(name, 23, 0);
                AgvSiteList.Add(agv);
                ModuleControl.UpdateAgvSite(name, 23, 0);
            }
            else
            {
                ModuleControl.UpdateAgvSite(name, agvSiteRate.GetSite(site), agvSiteRate.GetRate());
            }
        }
Esempio n. 5
0
        private void AnminationForm_Load(object sender, EventArgs e)
        {
            anmination = new Anmination(imageList);

            xml = new XmlAnalyze();
            xml.DoAnalyze();

            ModuleControl.AddLinesToModule(xml._lineDatas);
            AgvLineMaster.AddLine(xml.AgvLineList);

            LineDateCenter.AddLineData();



            ModuleControl.AddAgvToModuleNew("AGV011", 12, 1);
            ModuleControl.AddAgvToModuleNew("AGV012", 12, 5, 22);
            ModuleControl.AddAgvToModuleNew("AGV013", 12, 2, 50);
            ModuleControl.AddAgvToModuleNew("AGV014", 12, 3, 70);
            ModuleControl.AddAgvToModuleNew("AGV02", 15, 1);
            ModuleControl.AddAgvToModuleNew("AGV03", 15, 8, 30);
            ModuleControl.AddAgvToModuleNew("AGV04", 15, 6, 40);
            ModuleControl.AddAgvToModuleNew("AGV05", 15, 71, 55);
        }