nesbconvertpin

package module
v0.0.25 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2024 License: GPL-3.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CSMP_PIN_ELEM

func CSMP_PIN_ELEM() (elems map[string][]PinElem)

func CSMP_PIN_PARA

func CSMP_PIN_PARA() []byte

func CSMP_PIN_SERVICE

func CSMP_PIN_SERVICE() (services map[string]map[string][]PinElem)

func Main added in v0.0.6

func Main()

func ParseAllDtaParmXml added in v0.0.9

func ParseAllDtaParmXml() map[string]DataTransferAdapter

func ParseAllFormatXml added in v0.0.15

func ParseAllFormatXml() map[string]Format

func ParseAllServiceXml added in v0.0.14

func ParseAllServiceXml() map[string]map[string]Service

Types

type DataTransferAdapter added in v0.0.9

type DataTransferAdapter struct {
	XMLName          xml.Name `xml:"DataTransferAdapter"`
	Name             string   `xml:"Name,attr"`
	EvtIprtcfmtBegin string   `xml:"EvtIprtcfmtBegin"`
	EvtIprtcfmtEnd   string   `xml:"EvtIprtcfmtEnd"`
	EvtIfmtEnd       string   `xml:"EvtIfmtEnd"`
	EvtOfmtBegin     string   `xml:"EvtOfmtBegin"`
	EvtOprtcfmtBegin string   `xml:"EvtOprtcfmtBegin"`
	ConvertPin       bool
	Services         map[string]Service
	NESB_SDTA_NAME   string
	NESB_DDTA_NAME   string
}

type Format added in v0.0.5

type Format struct {
	FmtName string       `xml:"FmtName,attr"`
	FmtType string       `xml:"FmtType,attr"`
	Items   []FormatItem `xml:"ItemTab>Item"`
	SubFmts []string
}

type FormatItem added in v0.0.5

type FormatItem struct {
	ItemType string `xml:"ItemType,attr"`
	ItemIgnr string `xml:"ItemIgnr,attr"`
	ElemName string `xml:"ElemName,attr"`
	XmlType  string `xml:"XmlType,attr"`
	XmlName  string `xml:"XmlName,attr"`
	SubName  string `xml:"SubName,attr"`
	SubExpr  string `xml:"SubExpr"`
}

type FormatTab added in v0.0.5

type FormatTab struct {
	XMLName xml.Name `xml:"FormatTab"`
	Formats []Format `xml:"Format"`
}

type NesbTxml

type NesbTxml struct {
	Tag     string
	Service string
	Elems   []string
}

type PinElem

type PinElem struct {
	Pin string
	Acc string
}

type Service

type Service struct {
	Name           string `xml:"Name,attr"`
	IFmt           string `xml:"IFmt,attr"`
	EvtIfmtBegin   string `xml:"EvtIfmtBegin"`
	EvtIfmtEnd     string `xml:"EvtIfmtEnd"`
	EvtAcallBegin  string `xml:"EvtAcallBegin"`
	NESB_SDTA_NAME string
	ConvertPin     bool
	PinElems       []PinElem
	Matched        []PinElem
	TcElems        []string
	By             string
}

func (*Service) Clone

func (i *Service) Clone() Service

type ServiceTab

type ServiceTab struct {
	XMLName  xml.Name  `xml:"ServiceTab"`
	Services []Service `xml:"Service"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL