コード例 #1
0
 public static void CloseHardWork()
 {
     CameraMgr.GetInstance().Close();
     TcpMgr.GetInstance().CloseAllEth();
     MotionMgr.GetInstace().Close();
     IOMgr.GetInstace().Close();
 }
コード例 #2
0
        public StationLeftRobot(string strName) : base(strName)
        {
            io_in         = new string[] { };
            io_out        = new string[] { };
            bPositiveMove = new bool[] { true, true, true, true };
            strAxisName   = new string[] { "X轴", "Y轴", "Z轴", "U轴" };

            m_tcpRobotCtl = TcpMgr.GetInstance().GetTcpLink(0);
        }
コード例 #3
0
 private APP()
 {
     MotionMgr      = MotionMgr.GetInstace();
     IOMgr          = IOMgr.GetInstace();
     AlarmMgr       = AlarmMgr.GetIntance();
     ConfigToolMgr  = ConfigToolMgr.GetInstance();
     StationMgr     = StationMgr.GetInstance();
     ParamSetMgr    = ParamSetMgr.GetInstance();
     ComMgr         = ComMgr.GetInstance();
     TcpMgr         = TcpMgr.GetInstance();
     SocketSeverMgr = SocketSeverMgr.GetInstace();
 }
コード例 #4
0
 public static void CloseHardWork()
 {
     //for (int i = 0; i < 6; i++)
     //    LightControl.GetInstance().CloseLight(i);
     ResetIO();
     AlarmMgr.GetIntance().StopAlarmBeet();
     CameraMgr.GetInstance().Close();
     TcpMgr.GetInstance().CloseAllEth();
     MotionMgr.GetInstace().Close();
     IOMgr.GetInstace().Close();
     if (ParamSetMgr.GetInstance().GetBoolParam("是否选择程控电源"))
     {
         OtherDevices.ckPower.SetVoltage(1, 0);
         OtherDevices.ckPower.SetVoltage(2, 0);
     }
     //  LightControl.GetInstance().Close();
     //  Weighing.GetInstance().Close();
 }