The increment of remove and add live data item behavior
2011-02-28 09:35
423 查看
We did 2 tests by Rockwell Softerware Data Client and LiveDataControl in Form. The test is to add and remove some live data items, then watch increment of “Calls to AddItems” and “Calls to RemoveItems” by Diagnostics Counter Monitor.
The behavior is as following:
1. Rockwell Softerware Data Client
For “Calls to AddItems”
This increment is equal to your addItems time, not related with the item count in one time adding operation.
For example, if you add 2 items in one time, the increment of “Calls to AddItems” is 1.
For “Calls to RemoveItems”
The behavior is the same with “Calls to AddItems”
For example, if you remove 3 items in one time, the increment of “Calls to RemoveItems” is 1.
2. LiveDataControl in Form
For “Calls to AddItems”
This increment is equal to your addItems time, not related with the item count in one time adding operation.
For example, if you add 2 items in one time, the increment of “Calls to AddItems” is 1.
In debug environment, we can suspend it after the first item is added and before next is added, increment of “Calls to AddItems” is 2.
For “Calls to RemoveItems”
This increment is equal to the item count in one time adding operation.//here is strange
For example, if you remove 3 items in one time, the increment of “Calls to AddItems” is 3
Test Steps:
1. Configuration: add a liveDataControl on a Form, add server, group, Items on it. Check the "Calls to AddItems" and "RemoveItems" by Diagnotics Counter Monitor
2. Open the form, check the increment
3. Close the form, check the increment
We can also write pnuts code
to test it, the result is the same with 2.
The behavior is as following:
1. Rockwell Softerware Data Client
For “Calls to AddItems”
This increment is equal to your addItems time, not related with the item count in one time adding operation.
For example, if you add 2 items in one time, the increment of “Calls to AddItems” is 1.
For “Calls to RemoveItems”
The behavior is the same with “Calls to AddItems”
For example, if you remove 3 items in one time, the increment of “Calls to RemoveItems” is 1.
2. LiveDataControl in Form
For “Calls to AddItems”
This increment is equal to your addItems time, not related with the item count in one time adding operation.
For example, if you add 2 items in one time, the increment of “Calls to AddItems” is 1.
In debug environment, we can suspend it after the first item is added and before next is added, increment of “Calls to AddItems” is 2.
For “Calls to RemoveItems”
This increment is equal to the item count in one time adding operation.//here is strange
For example, if you remove 3 items in one time, the increment of “Calls to AddItems” is 3
Test Steps:
1. Configuration: add a liveDataControl on a Form, add server, group, Items on it. Check the "Calls to AddItems" and "RemoveItems" by Diagnotics Counter Monitor
2. Open the form, check the increment
3. Close the form, check the increment
We can also write pnuts code
to test it, the result is the same with 2.
相关文章推荐
- add line order to each line and remove the last match of each line
- [Nuxt] Add Arrays of Data to the Vuex Store and Display Them in Vue.js Templates
- Changes in behavior of the SysPrep and RIPREP tools after you install Windows XP Service Pack 2
- Item 16: Use the same form in corresponding uses of new and delete.(Effective C++)
- Leetcode 2. Add Two Numbers The Solution of Python and Javascript
- [Clojure] Data Collection and Data Analysis on the music of www.xiami.com - Part 2
- The story of getting Twitter data and its “missing middle”
- You must perform a full uninstall of the application. WARNING: This will remove the application data!
- Could not find a price list in Ordered UOM xxx and Primary UOM of the item
- There is no ViewData item of type 'IEnumerable<SelectListItem>' that has the key ''.
- The Difference Between Big Data and a Lot of Data
- 86.Examine the structure and data of the CUST_TRANS table:
- This function has none of Deterministic,no sql,or reads sql data in its declaration and binary logging is enabled(you *might* want to use the less safe log_bin_trust_function_creators variable
- Could not find a price list in Ordered UOM xxx and Primary UOM of the item
- The techniques of data store and presentation in SAP
- The Tomes of Delphi: Algorithms and Data Structures
- Item 30: Understand the ins and outs of inlining.(Effective C++)
- Grounding Data Converters and Solving the Mystery of "AGND" and "DGND"
- MS Bigdata HDInsight -Process, analyze, and gain new insights from big data using the power of Apache Hadoop
- Kettle解析JSON错误,We MUST have the same number of values for all paths,We can not find and data with path [$.