//
// 此文件是由 JavaTM Architecture for XML Binding (JAXB) 引用实现 v2.3.0 生成的
// 请访问 <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a> 
// 在重新编译源模式时, 对此文件的所有修改都将丢失。
// 生成时间: 2026.03.02 时间 03:10:34 PM CST 
//


package com.njcn.gather.icd.mapping.infrastructure.parser.generated;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>tTransformerWinding complex type的 Java 类。
 * 
 * <p>以下模式片段指定包含在此类中的预期内容。
 * 
 * <pre>
 * &lt;complexType name="tTransformerWinding"&gt;
 *   &lt;complexContent&gt;
 *     &lt;extension base="{http://www.iec.ch/61850/2003/SCL}tAbstractConductingEquipment"&gt;
 *       &lt;sequence&gt;
 *         &lt;element name="TapChanger" type="{http://www.iec.ch/61850/2003/SCL}tTapChanger" minOccurs="0"/&gt;
 *         &lt;element name="NeutralPoint" type="{http://www.iec.ch/61850/2003/SCL}tTerminal" minOccurs="0"/&gt;
 *         &lt;element name="EqFunction" type="{http://www.iec.ch/61850/2003/SCL}tEqFunction" maxOccurs="unbounded" minOccurs="0"/&gt;
 *       &lt;/sequence&gt;
 *       &lt;attribute name="type" use="required" type="{http://www.iec.ch/61850/2003/SCL}tTransformerWindingEnum" fixed="PTW" /&gt;
 *       &lt;anyAttribute processContents='lax' namespace='##other'/&gt;
 *     &lt;/extension&gt;
 *   &lt;/complexContent&gt;
 * &lt;/complexType&gt;
 * </pre>
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tTransformerWinding", propOrder = {
    "tapChanger",
    "neutralPoint",
    "eqFunction"
})
public class TTransformerWinding
    extends TAbstractConductingEquipment
{

    @XmlElement(name = "TapChanger")
    protected TTapChanger tapChanger;
    @XmlElement(name = "NeutralPoint")
    protected TTerminal neutralPoint;
    @XmlElement(name = "EqFunction")
    protected List<TEqFunction> eqFunction;
    @XmlAttribute(name = "type", required = true)
    protected TTransformerWindingEnum type;

    /**
     * 获取tapChanger属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TTapChanger }
     *     
     */
    public TTapChanger getTapChanger() {
        return tapChanger;
    }

    /**
     * 设置tapChanger属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link TTapChanger }
     *     
     */
    public void setTapChanger(TTapChanger value) {
        this.tapChanger = value;
    }

    /**
     * 获取neutralPoint属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TTerminal }
     *     
     */
    public TTerminal getNeutralPoint() {
        return neutralPoint;
    }

    /**
     * 设置neutralPoint属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link TTerminal }
     *     
     */
    public void setNeutralPoint(TTerminal value) {
        this.neutralPoint = value;
    }

    /**
     * Gets the value of the eqFunction property.
     * 
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the eqFunction property.
     * 
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getEqFunction().add(newItem);
     * </pre>
     * 
     * 
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link TEqFunction }
     * 
     * 
     */
    public List<TEqFunction> getEqFunction() {
        if (eqFunction == null) {
            eqFunction = new ArrayList<TEqFunction>();
        }
        return this.eqFunction;
    }

    /**
     * 获取type属性的值。
     * 
     * @return
     *     possible object is
     *     {@link TTransformerWindingEnum }
     *     
     */
    public TTransformerWindingEnum getType() {
        if (type == null) {
            return TTransformerWindingEnum.PTW;
        } else {
            return type;
        }
    }

    /**
     * 设置type属性的值。
     * 
     * @param value
     *     allowed object is
     *     {@link TTransformerWindingEnum }
     *     
     */
    public void setType(TTransformerWindingEnum value) {
        this.type = value;
    }

}
