Example #1
0
        private void InitParameters()
        {
            ParamContainer pc = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.EFUSEElement);

            pECOT   = pc.GetParameterByGuid(ElementDefine.ECOT);
            pEDOT   = pc.GetParameterByGuid(ElementDefine.EDOT);
            pECUT   = pc.GetParameterByGuid(ElementDefine.ECUT);
            pEDUT   = pc.GetParameterByGuid(ElementDefine.EDUT);
            pECTO   = pc.GetParameterByGuid(ElementDefine.ECTO);
            pEEOC   = pc.GetParameterByGuid(ElementDefine.EEOC);
            pc      = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement);
            pOCOT   = pc.GetParameterByGuid(ElementDefine.OCOT);
            pODOT   = pc.GetParameterByGuid(ElementDefine.ODOT);
            pOCUT   = pc.GetParameterByGuid(ElementDefine.OCUT);
            pODUT   = pc.GetParameterByGuid(ElementDefine.ODUT);
            pOCTO   = pc.GetParameterByGuid(ElementDefine.OCTO);
            pOEOC   = pc.GetParameterByGuid(ElementDefine.OEOC);
            pc      = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.VirtualElement);
            pECTO_E = pc.GetParameterByGuid(ElementDefine.ECTO_E);
            pECUT_E = pc.GetParameterByGuid(ElementDefine.ECUT_E);
            pEEOC_E = pc.GetParameterByGuid(ElementDefine.EEOC_E);
            pEDUT_E = pc.GetParameterByGuid(ElementDefine.EDUT_E);
            pOCTO_E = pc.GetParameterByGuid(ElementDefine.OCTO_E);
            pOCUT_E = pc.GetParameterByGuid(ElementDefine.OCUT_E);
            pOEOC_E = pc.GetParameterByGuid(ElementDefine.OEOC_E);
            pODUT_E = pc.GetParameterByGuid(ElementDefine.ODUT_E);
            CellNum = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement).GetParameterByGuid(ElementDefine.CellNum);
            for (int i = 0; i < 10; i++)
            {
                Cell[i] = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement).GetParameterByGuid(ElementDefine.CellBase + (UInt32)(i * 0x100));
            }
        }
        private void InitParameters()
        {
            ParamContainer pc = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement);

            pE_BAT_TYPE = pc.GetParameterByGuid(ElementDefine.E_BAT_TYPE);
            pO_BAT_TYPE = pc.GetParameterByGuid(ElementDefine.O_BAT_TYPE);
            pE_OVP_TH   = pc.GetParameterByGuid(ElementDefine.E_OVP_TH);
            pO_OVP_TH   = pc.GetParameterByGuid(ElementDefine.O_OVP_TH);
            pE_UVP_TH   = pc.GetParameterByGuid(ElementDefine.E_UVP_TH);
            pO_UVP_TH   = pc.GetParameterByGuid(ElementDefine.O_UVP_TH);
            pc          = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.VirtualElement);
        }
 private void SectionParameterListInit(ref ParamListContainer devicedescriptionlist)
 {
     OPParamlist = devicedescriptionlist.GetParameterListByGuid(ElementDefine.OperationElement);
     if (OPParamlist == null)
     {
         return;
     }
 }
        private void InitParameters()
        {
            ParamContainer pc = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement);

            OVP_H   = pc.GetParameterByGuid(ElementDefine.OVP_H);
            DOC1P   = pc.GetParameterByGuid(ElementDefine.DOC1P);
            COCP    = pc.GetParameterByGuid(ElementDefine.COCP);
            pc      = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.VirtualElement);
            OVP_E   = pc.GetParameterByGuid(ElementDefine.OVP_E);
            DOC1P_E = pc.GetParameterByGuid(ElementDefine.DOC1P_E);
            COCP_E  = pc.GetParameterByGuid(ElementDefine.COCP_E);

            CellNum = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement).GetParameterByGuid(ElementDefine.CellNum);
            for (int i = 0; i < 17; i++)
            {
                Cell[i] = m_Section_ParamlistContainer.GetParameterListByGuid(ElementDefine.OperationElement).GetParameterByGuid(ElementDefine.CellBase + (UInt32)(i * 0x100));
            }
        }
        //public void Physical2Hex(ref Parameter param)
        //{
        //    m_dem_dm.Physical2Hex(ref param);
        //}

        //public void Hex2Physical(ref Parameter param)
        //{
        //    m_dem_dm.Hex2Physical(ref param);
        //}

        private void SectionParameterListInit(ref ParamListContainer devicedescriptionlist)
        {
            tempParamlist = devicedescriptionlist.GetParameterListByGuid(ElementDefine.TemperatureElement);
            if (tempParamlist == null)
            {
                return;
            }

            //EFParamlist = devicedescriptionlist.GetParameterListByGuid(ElementDefine.EFUSEElement);
            //if (EFParamlist == null) return;

            OPParamlist = devicedescriptionlist.GetParameterListByGuid(ElementDefine.OperationElement);
            if (OPParamlist == null)
            {
                return;
            }

            //pullupR = tempParamlist.GetParameterByGuid(ElementDefine.TpETPullupR).phydata;
            //itv0 = tempParamlist.GetParameterByGuid(ElementDefine.TpITSlope).phydata;
        }