Exemplo n.º 1
0
        public void startAutoInBound()
        {
            // 发送堆垛机命令


            DateTime now = DateTime.Now;

            InBoundService.PreUpdateInOut(spfirst, null);
            DateTime end  = DateTime.Now;
            TimeSpan span = end.Subtract(now);
        }
Exemplo n.º 2
0
        public void startAutoBuHuo()
        {
            //Type svrComponenttyp;
            //Guid iidRequiredInterface = typeof(IOPCItemMgt).GUID;
            //svrComponenttyp = Type.GetTypeFromProgID(SERVER_NAME);
            //pIOPCServer = (IOPCServer)Activator.CreateInstance(svrComponenttyp);
            //FJCount = new PlcGroup(pIOPCServer, 1, "group", 1, LOCALE_ID);//组号由这里定义
            //FJCount.addItem(PlcItemCollection.GetTaskCountItem());


            while (isRunBuHuo)
            {
                InBoundService.PreUpdateInOut(isSanpan, null);

                Thread.Sleep(scanTime * 1000);
            }
        }
Exemplo n.º 3
0
 public void StartReplishement()
 {
     InBoundService.PreUpdateInOut(true, null);
 }