Ejemplo n.º 1
0
 private void UpdateDiSts()
 {
     m_lExI0.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.ESTOP_BUTTON);
     m_lExI1.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.START_BUTTON);
     m_lExI2.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.STOP_BUTTON);
     m_lExI3.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.RESET_BUTTON);
     m_lExI4.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.LINE_WAIT_SENSOR);
     m_lExI5.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.LINE_STOPSENSOR);
     m_lExI6.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.LINE_OUTSENSOR);
     m_lExI7.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.FM_OUT_TRAY);
     m_lExI8.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.BM_ASK_TRAY);
     m_lExI9.Enabled  = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.LIFT_CYL_UP);
     m_lExI10.Enabled = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.LIFT_CYL_DN);
     m_lExI11.Enabled = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.BLOCK_CYL_UP);
     m_lExI12.Enabled = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.BLOCK_CYL_DN);
     m_lExI13.Enabled = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.GLUE_CHECK1);
     m_lExI14.Enabled = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.GLUE_CHECK2);
     m_lExI15.Enabled = m_oKernel.GetDiSts(0, (ushort)ENUM_INPUT_POINT.DOOR_SENSOR);
 }