// Package model define model struct of model runtime service package model import "modelRT/orm" // AttrModelInterface define basic attr model type interface type AttrModelInterface interface { GetGridInfo() *orm.Grid GetZoneInfo() *orm.Zone GetStationInfo() *orm.Station GetComponentInfo() *orm.Component IsLocal() bool } // LongAttrInfo structure define long attribute key info of component type LongAttrInfo struct { AttrKey string `json:"attr_key"` } // ShortAttrInfo structure define short attribute key info of component type ShortAttrInfo struct { AttrKey string `json:"attr_key"` }