// SetData sets data by pathes
SetData sets data by pathes
// SetData sets data by pathes
func (adapter *boardModelAdapter) SetData(data map[string]interface{}) (err error) {
	if len(data) == 0 {
		return nil
	}
	for _, path := range data {
		if path != adapter.config.VISPath {
			return fmt.Errorf("path %s doesn't exits", path)
		}
	}
	return fmt.Errorf("signal %s cannot be set since it is a read only attribute", adapter.config.VISPath)
}
func ( adapter * boardModelAdapter ) SetData ( data map [ string ] interface { } ) ( err error ) { if len ( data ) == 0 { return nil } for _ , path := range data { if path != adapter . config . VISPath { return fmt . Errorf ( " " , path ) } } return fmt . Errorf ( " " , adapter . config . VISPath ) }
SetData sets data by pathes
SetData sets data by pathes