wuyang26

Results 13 issues of wuyang26

when the Popup control use the slide animation,the Acrylic effect and the animation are not synchronized,the Acrylic effect will show immediately,so should delay in order to the same.

I use the ThemeShadowChrome container in ComboBox sytle,when set the popup Animation for Slide,As follows: The animation effect start position is from the ComboBox's left top,instead of from the left...

bug

就是对一组数据的批量刷新,批量更新的类,譬如在实际的客户端,在某一个当前页面,可能只更新30个特定变量,在另一个页面又是另一些特定变量,用组对数据进行管理可进一步简化读写操作。 我在本项目的基础上实现了一个简单的,思路类似如下: DataItem.cs用于存储当前读取到的单个变量,最重要的是public void Refresh(DataValue dataValue) DataGroup.cs对批量数据进行管理: ` public DataGroupBase(List keyList, List tagList, OpcUaClient opcUaClient)` 存储变量: `public Dictionary Data { get;private set; }` 而 `public virtual async Task ReadAsync()` 和...

基于网络的数据读写,异步操作是非常重要的,这里依照项目中的其他代码修改了一个类似的: public Task WriteNodeAsync(string[] tags, object[] values) { WriteValueCollection valuesToWrite = new WriteValueCollection(); for (int i = 0; i < tags.Length; i++) { if (i < values.Length) { WriteValue valueToWrite...

IsConnected属性只是对连接调用的一个记忆,不能实时反应服务器的状态, 建议添加:ServerState属性 在 private void Session_KeepAlive(Session session, KeepAliveEventArgs e)函数中添加或修改: if (e != null && m_session != null) { ServerState = e.CurrentState;//设置服务器状态 if (ServiceResult.IsBad(e.Status)) ...

在private void Session_KeepAlive(Session session, KeepAliveEventArgs e)函数中的 if (ServiceResult.IsBad(e.Status)) { //这里面的提示至少延迟15秒 } //添加类似如下(延迟3秒): else { // update status. UpdateStatus(false, e.CurrentTime, " Server Status:" + e.CurrentState+" Address:[{0}]", session.Endpoint.EndpointUrl); }

应修改为: public override string ToString() { return (Error ? "[异常]" : "[正常]") + Time.ToString(" yyyy-MM-dd HH:mm:ss ") + Text; }

I didn't see any examples of charts. Can this display the charts?

Can RadioButtons be arranged at intervals? The current method is similar to Grid, but it is not good when the length of the items is different.

enhancement
question