Skip to content

Releases: StdUnit/StdUnit.Tags

2.0.0-beta4

2.0.0-beta4 Pre-release
Pre-release

Choose a tag to compare

@newbienewbie newbienewbie released this 23 Oct 04:44
1392e3c

What's Changed

Full Changelog: 2.0.0-beta3...2.0.0-beta4

2.0.0-beta3

2.0.0-beta3 Pre-release
Pre-release

Choose a tag to compare

@newbienewbie newbienewbie released this 21 Oct 12:21

主题:逻辑组件(ILogicet)改为持有整个测点项目,构造函数不再逐个注入通道集与测点树。

破坏性变更

  • ILogicet 新增 Project、移除 Channels / Tags:逻辑组件改为通过 Project.Channels / Project.Tags 访问通道与测点。
    LogicetBase 仍保留同名的 Channels / Tags 便捷属性(等价于 Project.Channels / Project.Tags),所以继承 LogicetBase 的子类里
    this.Tags.SelectCbnt(...) 这类写法不用改;要从 ILogicet 变量上读的代码需要改成 logicet.Project.Tags / logicet.Project.Channels。
  • LogicetBase 的构造函数改为 LogicetBase(ITagsProject project):旧的 (IReadOnlyList<ITagChannel> channels, ITagGrp tags) 重载已删除。
    继承 LogicetBase 的子类需要把构造函数改成接收 ITagsProject 并 : base(project);原来用参数 tags 的地方改用 this.Tags
    (构造期间通道与测点已加载完成,可直接使用)。
  • ILogicetCreator.CreateLogicet / ILogicetsLoader.LoadLogicets 的参数由 channels + tags 改为 ITagsProject:自己实现这两个扩展点的代码需要跟着改。
  • 旧插件 dll 必须重编:上面两处签名变化都是二进制层面的——用旧版本编译出的插件在加载期会创建失败(日志中是"构建Logicet错误"或"加载Logicet失败"),
    不支持"只替换 dll"的升级方式。
  • 影响面:只调库、不继承 LogicetBase、不实现上述接口、也不从 ILogicet 上读 Channels / Tags 的终端 App,编译与行为都不变。
  • 示例与 AOT 冒烟测试(samples/Samples.Plugin1、samples/StdUnit.Tags.Web、samples/WpfDemo、tests/AotSmokeTest.LogicetPlugins)已按新签名更新。

What's Changed

Full Changelog: 2.0.0-beta...2.0.0-beta3

2.0.0-beta

2.0.0-beta Pre-release
Pre-release

Choose a tag to compare

@newbienewbie newbienewbie released this 13 Oct 11:44
373672c

What's Changed

Full Changelog: 2.0.0-alpha...2.0.0-beta

2.0.0-alpha

2.0.0-alpha Pre-release
Pre-release

Choose a tag to compare

@newbienewbie newbienewbie released this 10 Oct 12:57
c0a0604

What's Changed

Full Changelog: 1.1.0...2.0.0-alpha

1.1.0

Choose a tag to compare

@newbienewbie newbienewbie released this 08 Oct 14:22

What's Changed

Full Changelog: 1.0.0...1.1.0

1.0.0

Choose a tag to compare

@newbienewbie newbienewbie released this 07 Oct 04:50

What's Changed

Full Changelog: 0.16.0...1.0.0

0.16.0

Choose a tag to compare

@newbienewbie newbienewbie released this 05 Oct 02:43
9b640d5

What's Changed

Full Changelog: 0.15.1...0.16.0

0.15.1

Choose a tag to compare

@newbienewbie newbienewbie released this 03 Oct 10:50
b141646

What's Changed

Full Changelog: 0.15.0...0.15.1

0.15.0

Choose a tag to compare

@newbienewbie newbienewbie released this 03 Oct 01:42
80f0abc

What's Changed

Full Changelog: 0.13.1...0.15.0

0.13.1

Choose a tag to compare

@newbienewbie newbienewbie released this 20 Sep 10:09

编辑器:支持标记IsScaned=false

Full Changelog: 0.13.0...0.13.1