Example #1
0
 private void UpdateDoSts()
 {
     m_lExO0.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.GREEN_LAMP);
     m_lExO1.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.RED_LAMP);
     m_lExO2.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.YELLOW_LAMP);
     m_lExO3.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.BUZZOR);
     m_lExO4.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.CLEANING_VACUUM);
     m_lExO5.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.LIFT_CYL);
     m_lExO6.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.BLOCK_CYL);
     m_lExO7.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.FRONT_BLOCK_CYL);
     m_lExO8.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.CAMERA1_LIGHT1);
     m_lExO9.Enabled  = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.CAMERA1_LIGHT2);
     m_lExO10.Enabled = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.CAMERA2_LIGHT1);
     m_lExO11.Enabled = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.CAMERA2_LIGHT2);
     m_lExO12.Enabled = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.ASK_TRAY);
     m_lExO13.Enabled = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.OUT_TRAY);
     m_lExO14.Enabled = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.GLUE);
     m_lExO15.Enabled = m_oKernel.GetDoSts(0, (ushort)ENUM_OUTPUT_POINT.PIN_CLAMPING);
 }