package com.fizz.business.service.manager;

import com.fizz.business.constants.enums.OpcMessageType;
import com.google.common.collect.Lists;
import com.google.common.collect.Maps;
import io.swagger.v3.oas.annotations.media.Schema;
import org.springframework.stereotype.Component;

import javax.annotation.PostConstruct;
import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Component
public class OpcMessageIdsManager {

    public static List<String> msgTriggers = Lists.newArrayList();

    public static Map<String,String> lineMeasureIds = Maps.newHashMap();

    public static Map<String,String> entryLineMeasureIds = Maps.newHashMap();
    public static Map<String,String> procLineMeasureIds = Maps.newHashMap();
    public static Map<String,String> furLineMeasureIds = Maps.newHashMap();

    public static Map<String,String> exitLineMeasureIds = Maps.newHashMap();

    public static Map<String,String> entryMoveIds = Maps.newHashMap();
    public static Map<String,String> exitCutIds = Maps.newHashMap();
    public static Map<String,String> exitMoveIds = Maps.newHashMap();
    public static Map<String,String> exitMeasureIds = Maps.newHashMap();

    public static Map<String,String> pdiSetupIds = Maps.newHashMap();

    public static String DEVICE_NAME = "ns=2;s=通道 1.";

    @PostConstruct
    public static void init() {

        //TODO load from database
        loadEntryMoveIds();
        loadExitCutIds();
        loadExitMoveIds();
        loadExitMeasureIds();

        loadMsgTriggers();
        loadEntryLineMeasureIds();
        loadProcLineMeasureIds();
        loadFurLineMeasureIds();
        loadExitLineMeasureIds();
        loadPdiSetupIds();
    }


    public static void loadEntryMoveIds(){
        entryMoveIds.put("trigger","PLCLine.EntryMove.counter");
        entryMoveIds.put("ns=2;s=通道 1.PLCLine.EntryMove.src","materialPlaceSource");
        entryMoveIds.put("ns=2;s=通道 1.PLCLine.EntryMove.des","materialPlaceDestination");
    }

    public static void loadExitCutIds(){
        exitCutIds.put("trigger","PLCLine.ExitCut.counter");
        exitCutIds.put("ns=2;s=通道 1.PLCLine.ExitCut.cutType","cutType");
        exitCutIds.put("ns=2;s=通道 1.PLCLine.ExitCut.cutLength","cutLength");
        exitCutIds.put("ns=2;s=通道 1.PLCLine.ExitCut.outerDiameter","outerDiameter");
        exitCutIds.put("ns=2;s=通道 1.PLCLine.ExitCut.leftLength","leftLength");
        exitCutIds.put("ns=2;s=通道 1.PLCLine.ExitCut.breakPosition","breakPosition");
    }

    public static void loadExitMoveIds(){
        exitMoveIds.put("trigger","PLCLine.ExitMove.counter");
        exitMoveIds.put("ns=2;s=通道 1.PLCLine.ExitMove.src","exSrc");
        exitMoveIds.put("ns=2;s=通道 1.PLCLine.ExitMove.des","exDesc");
    }

    public static void loadExitMeasureIds(){
        exitMeasureIds.put("trigger","PLCLine.ExitMeasure.counter");
        exitMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitMeasure.weight","weight");
    }

    public static void loadEntryLineMeasureIds(){

        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.coilID","entryCoilId");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.stripLocation","stripLocation");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.PORFlag","payOffReelNumber");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.PORTension","tensionPorBr1");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.BR1Tension","tensionBr1Br2");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.BR2Tension","tensionBr2Br3");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.StripSpeed","stripSpeed");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.celLength","celLength");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.celPercent","celCapacity");
//        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.weight","tensionCel");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.cleaningVoltage","cleaningVoltage");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.cleaningCurrent","cleaningCurrent");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.alkaliConcentration","alkaliConcentration");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.alkaliTemperature","alkaliTemperature");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.rinseConductivity","rinseConductivity");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.rinseTemperature","rinseTemperature");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.dryingTemperature","dryingTemperature");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.hotAirFlow","hotAirFlow");
        entryLineMeasureIds.put("ns=2;s=通道 1.PLCLine.EntryLineMeasure.hotAirPressure","hotAirPressure");
    }

    public static void loadProcLineMeasureIds(){
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.stripLocation", "stripLocation");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.measurementCount", "measurementCount");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.avrCoatingWeightTop", "avrCoatingWeightTop");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.stdCoatingWeightTop", "stdCoatingWeightTop");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.maxCoatingWeightTop", "maxCoatingWeightTop");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.minCoatingWeightTop", "minCoatingWeightTop");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.avrCoatingWeightBottom", "avrCoatingWeightBottom");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.stdCoatingWeightBottom", "stdCoatingWeightBottom");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.maxCoatingWeightBottom", "maxCoatingWeightBottom");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.minCoatingWeightBottom", "minCoatingWeightBottom");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.airKnifePressure", "airKnifePressure");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.airKnifeFlow", "airKnifeFlow");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.airKnifeGap", "airKnifeGap");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.stripSpeedTmExit", "stripSpeedTmExit");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionBr5Tm", "tensionBr5Tm");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionTmBr6", "tensionTmBr6");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionBr5Br6", "tensionBr5Br6");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tmMask", "tmMask");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tmElongation", "tmElongation");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.rollForceOperator", "rollForceOperator");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.rollForceDrive", "rollForceDrive");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.motorTorque", "motorTorque");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.bendingForce", "bendingForce");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.antiCrimpingRollMesh", "antiCrimpingRollMesh");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.billyRollMesh", "billyRollMesh");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionTlBr7", "tensionTlBr7");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionBr6Br7", "tensionBr6Br7");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tlFlag", "tlFlag");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tlElongation", "tlElongation");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.levelingUnit1Mesh", "levelingUnit1Mesh");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.levelingUnit2Mesh", "levelingUnit2Mesh");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.antiCrossBowUnitMesh", "antiCrossBowUnitMesh");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionBr7Br8", "tensionBr7Br8");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.stripSpeedAfp", "stripSpeedAfp");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.coatingFlag", "coatingFlag");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.stripTempAfp", "stripTempAfp");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.tensionBr4Br5", "tensionBr4Br5");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.potTemperature", "potTemperature");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.coolingTowerTemperature", "coolingTowerTemperature");
        procLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ProcLineMeasure.potPower", "potPower");
    }

    public static void loadFurLineMeasureIds() {
        furLineMeasureIds.put("ns=2;s=通道 1.PLCFur.FurLineMeasure.entryCoilId", "entryCoilId");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCFur.FurLineMeasure.stripLocation", "stripLocation");
        furLineMeasureIds.put("ns=2;s=通道 1.PLCFur.FurLineMeasure.phFurnaceTemperatureActual", "phFurnaceTemperatureActual");
        furLineMeasureIds.put("ns=2;s=通道 1.PLCFur.FurLineMeasure.nof1FurnaceTemperatureActual", "nof1FurnaceTemperatureActual");
        furLineMeasureIds.put("ns=2;s=通道 1.PLCFur.FurLineMeasure.nof1FurnaceTemperatureSet", "nof1FurnaceTemperatureSet");
        furLineMeasureIds.put("ns=2;s=通道 1.PLCFur.FurLineMeasure.nof1FurnaceTemperatureControlOutput", "nof1FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1GasFlowActual", "nof1GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1GasFlowSet", "nof1GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1GasFlowControlOutput", "nof1GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1AirFlowActual", "nof1AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1AirFlowSet", "nof1AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1AirFlowControlOutput", "nof1AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1AirFuelRatioActual", "nof1AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof1AirFuelRatioSet", "nof1AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2FurnaceTemperatureActual", "nof2FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2FurnaceTemperatureSet", "nof2FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2FurnaceTemperatureControlOutput", "nof2FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2GasFlowActual", "nof2GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2GasFlowSet", "nof2GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2GasFlowControlOutput", "nof2GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2AirFlowActual", "nof2AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2AirFlowSet", "nof2AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2AirFlowControlOutput", "nof2AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2AirFuelRatioActual", "nof2AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof2AirFuelRatioSet", "nof2AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3FurnaceTemperatureActual", "nof3FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3FurnaceTemperatureSet", "nof3FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3FurnaceTemperatureControlOutput", "nof3FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3GasFlowActual", "nof3GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3GasFlowSet", "nof3GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3GasFlowControlOutput", "nof3GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3AirFlowActual", "nof3AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3AirFlowSet", "nof3AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3AirFlowControlOutput", "nof3AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3AirFuelRatioActual", "nof3AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof3AirFuelRatioSet", "nof3AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4FurnaceTemperatureActual", "nof4FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4FurnaceTemperatureSet", "nof4FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4FurnaceTemperatureControlOutput", "nof4FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4GasFlowActual", "nof4GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4GasFlowSet", "nof4GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4GasFlowControlOutput", "nof4GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4AirFlowActual", "nof4AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4AirFlowSet", "nof4AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4AirFlowControlOutput", "nof4AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4AirFuelRatioActual", "nof4AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof4AirFuelRatioSet", "nof4AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5FurnaceTemperatureActual", "nof5FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5FurnaceTemperatureSet", "nof5FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5FurnaceTemperatureControlOutput", "nof5FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5GasFlowActual", "nof5GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5GasFlowSet", "nof5GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5GasFlowControlOutput", "nof5GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5AirFlowActual", "nof5AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5AirFlowSet", "nof5AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5AirFlowControlOutput", "nof5AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5AirFuelRatioActual", "nof5AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nof5AirFuelRatioSet", "nof5AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1FurnaceTemperatureActual", "rtf1FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1FurnaceTemperatureSet", "rtf1FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1FurnaceTemperatureControlOutput", "rtf1FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1GasFlowActual", "rtf1GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1GasFlowSet", "rtf1GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1GasFlowControlOutput", "rtf1GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1AirFlowActual", "rtf1AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1AirFlowSet", "rtf1AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1AirFlowControlOutput", "rtf1AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1AirFuelRatioActual", "rtf1AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf1AirFuelRatioSet", "rtf1AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2FurnaceTemperatureActual", "rtf2FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2FurnaceTemperatureSet", "rtf2FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2FurnaceTemperatureControlOutput", "rtf2FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2GasFlowActual", "rtf2GasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2GasFlowSet", "rtf2GasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2GasFlowControlOutput", "rtf2GasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2AirFlowActual", "rtf2AirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2AirFlowSet", "rtf2AirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2AirFlowControlOutput", "rtf2AirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2AirFuelRatioActual", "rtf2AirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtf2AirFuelRatioSet", "rtf2AirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfFurnaceTemperatureActual", "sfFurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfFurnaceTemperatureSet", "sfFurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfFurnaceTemperatureControlOutput", "sfFurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfGasFlowActual", "sfGasFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfGasFlowSet", "sfGasFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfGasFlowControlOutput", "sfGasFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfAirFlowActual", "sfAirFlowActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfAirFlowSet", "sfAirFlowSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfAirFlowControlOutput", "sfAirFlowControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfAirFuelRatioActual", "sfAirFuelRatioActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfAirFuelRatioSet", "sfAirFuelRatioSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofPlateTemperatureActual", "nofPlateTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfPlateTemperatureActual", "rtfPlateTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.sfPlateTemperatureActual", "sfPlateTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsPlateTemperatureActual", "tdsPlateTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.phFurnacePressureActual", "phFurnacePressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.phFurnacePressureSet", "phFurnacePressureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.phFurnacePressureControlOutput", "phFurnacePressureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofFurnacePressureActual", "nofFurnacePressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfFurnacePressureActual", "rtfFurnacePressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsFurnacePressureActual", "tdsFurnacePressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf1FurnaceTemperatureActual", "jcf1FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf1FurnaceTemperatureSet", "jcf1FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf1FurnaceTemperatureControlOutput", "jcf1FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf1PhaseACurrent", "jcf1PhaseACurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf1PhaseBCurrent", "jcf1PhaseBCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf1PhaseCCurrent", "jcf1PhaseCCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf2FurnaceTemperatureActual", "jcf2FurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf2FurnaceTemperatureSet", "jcf2FurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf2FurnaceTemperatureControlOutput", "jcf2FurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf2PhaseACurrent", "jcf2PhaseACurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf2PhaseBCurrent", "jcf2PhaseBCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcf2PhaseCCurrent", "jcf2PhaseCCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lthFurnaceTemperatureActual", "lthFurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lthFurnaceTemperatureSet", "lthFurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lthFurnaceTemperatureControlOutput", "lthFurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lthPhaseACurrent", "lthPhaseACurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lthPhaseBCurrent", "lthPhaseBCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lthPhaseCCurrent", "lthPhaseCCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsFurnaceTemperatureActual", "tdsFurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsFurnaceTemperatureSet", "tdsFurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsFurnaceTemperatureControlOutput", "tdsFurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsPhaseACurrent", "tdsPhaseACurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsPhaseBCurrent", "tdsPhaseBCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.tdsPhaseCCurrent", "tdsPhaseCCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lbzFurnaceTemperatureActual", "lbzFurnaceTemperatureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lbzFurnaceTemperatureSet", "lbzFurnaceTemperatureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lbzFurnaceTemperatureControlOutput", "lbzFurnaceTemperatureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lbzPhaseACurrent", "lbzPhaseACurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lbzPhaseBCurrent", "lbzPhaseBCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.lbzPhaseCCurrent", "lbzPhaseCCurrent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan1ActualSpeed", "jcfFan1ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan1SetSpeed", "jcfFan1SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan2ActualSpeed", "jcfFan2ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan2SetSpeed", "jcfFan2SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan3ActualSpeed", "jcfFan3ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan3SetSpeed", "jcfFan3SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan4ActualSpeed", "jcfFan4ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan4SetSpeed", "jcfFan4SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan5ActualSpeed", "jcfFan5ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan5SetSpeed", "jcfFan5SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan6ActualSpeed", "jcfFan6ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan6SetSpeed", "jcfFan6SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan7ActualSpeed", "jcfFan7ActualSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.jcfFan7SetSpeed", "jcfFan7SetSpeed");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofAirPreheatFlueGasTemperature", "nofAirPreheatFlueGasTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofAirPostheatFlueGasTemperature", "nofAirPostheatFlueGasTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofWaterPostheatFlueGasTemperature", "nofWaterPostheatFlueGasTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofExhaustFanInletFlueGasTemperature", "nofExhaustFanInletFlueGasTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofCombustionAirTemperature", "nofCombustionAirTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfAirPreheatFlueGasTemperature", "rtfAirPreheatFlueGasTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfExhaustFanInletFlueGasTemperature", "rtfExhaustFanInletFlueGasTemperature");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofGasPressure", "nofGasPressure");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.ignitionGasPressure", "ignitionGasPressure");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.ignitionAirPressure", "ignitionAirPressure");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfGasPressure", "rtfGasPressure");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofAirPressureActual", "nofAirPressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofAirPressureSet", "nofAirPressureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofAirPressureControlOutput", "nofAirPressureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofFlueGasPressureActual", "nofFlueGasPressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofFlueGasPressureSet", "nofFlueGasPressureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.nofFlueGasPressureControlOutput", "nofFlueGasPressureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfAirPressureActual", "rtfAirPressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfAirPressureSet", "rtfAirPressureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfAirPressureControlOutput", "rtfAirPressureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfFlueGasPressureActual", "rtfFlueGasPressureActual");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfFlueGasPressureSet", "rtfFlueGasPressureSet");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.rtfFlueGasPressureControlOutput", "rtfFlueGasPressureControlOutput");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.furnaceAtmosphereOxygenContent", "furnaceAtmosphereOxygenContent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.furnaceAtmosphereHydrogenContent", "furnaceAtmosphereHydrogenContent");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.furnaceAtmosphereDewPoint", "furnaceAtmosphereDewPoint");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.gasInstantaneousFlow", "gasInstantaneousFlow");
//        furLineMeasureIds.put("ns=2;s=通道 1.PLCLine.FurLineMeasure.gasInstantaneousConsumption", "gasInstantaneousConsumption");
    }
    public static void loadExitLineMeasureIds() {
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.stripLocation", "stripLocation");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.tensionBr8Br9", "tensionBr8Br9");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.cxlLength", "cxlLength");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.cxlPercent", "cxlCapacity");
//        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.tensionCxl", "tensionCxl");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.oilingFlag", "oilingFlag");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.oilingAmountTop", "oilingAmountTop");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.oilingAmountBottom", "oilingAmountBottom");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.tensionBr9Tr", "tensionBr9Tr");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.speedExitSection", "speedExitSection");
        exitLineMeasureIds.put("ns=2;s=通道 1.PLCLine.ExitLineMeasure.coilLength", "coilLength");
    }

    public static void loadPdiSetupIds(){
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.coilId", "coilId");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.PORFlag", "PORFlag");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.counter", "counter");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.entryCoilWeight", "entryCoilWeight");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.entryCoilLength", "entryCoilLength");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.entryCoilWidth", "entryCoilWidth");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.entryCoilThick", "entryCoilThick");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.entryCoilInnerDia", "entryCoilInnerDia");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.entryCoilOuterDia", "entryCoilOuterDia");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.alloyCode", "alloyCode");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.steelGrade", "steelGrade");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.splitNum", "splitNum");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.exitLength1", "exitLength1");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.exitLength2", "exitLength2");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.exitLength3", "exitLength3");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.exitLength4", "exitLength4");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.exitLength5", "exitLength5");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.exitLength6", "exitLength6");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionPorBR1", "tensionPorBR1");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR1BR2", "tensionBR1BR2");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR2BR3", "tensionBR2BR3");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR3", "tensionBR3");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionFur1", "tensionFur1");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionFur2", "tensionFur2");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR4BR5", "tensionBR4BR5");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.aimCoatingWeightTop", "aimCoatingWeightTop");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.aimCoatingWeightBottom", "aimCoatingWeightBottom");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TMFlag", "TMFlag");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TMType", "TMType");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TMMode", "TMMode");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR5BR6", "tensionBR5BR6");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR5TM", "tensionBR5TM");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionTMBR6", "tensionTMBR6");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TMElongation", "TMElongation");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TMRollforce", "TMRollforce");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TMBendforce", "TMBendforce");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.ACRMesh", "ACRMesh");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.BRMesh", "BRMesh");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TLFlag", "TLFlag");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.TLElongation", "TLElongation");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR6BR7", "tensionBR6BR7");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionTLBR7","tensionTLBR7");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.LevelingMesh1","LevelingMesh1");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.LevelingMesh2","LevelingMesh2");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.AntiCrossBowUnitMesh","AntiCrossBowUnitMesh");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR7BR8","tensionBR7BR8");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.chromatingFlag","chromatingFlag");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.chromatingCode","chromatingCode");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR8BR9","tensionBR8BR9");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.tensionBR9TR","tensionBR9TR");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.oilingFlag","oilingFlag");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.oilingAmountTop","oilingAmountTop");
        pdiSetupIds.put("ns=2;s=通道 1.PLCLine.L2Setup.oilingAmountBottom","oilingAmountBottom");
    }

    public static void loadMsgTriggers(){
        msgTriggers.add(DEVICE_NAME+entryMoveIds.get("trigger"));
        msgTriggers.add(DEVICE_NAME+exitCutIds.get("trigger"));
        msgTriggers.add(DEVICE_NAME+exitMoveIds.get("trigger"));
        msgTriggers.add(DEVICE_NAME+exitMeasureIds.get("trigger"));
    }
}
