Comments (7)
They are marked as removed. Interesting question.
Sent from my iPhone
On Nov 18, 2014, at 06:20, hulinning2 [email protected] wrote:
assetCount does not clear after all assets have been removed.
—
Reply to this email directly or view it on GitHub.
from cppagent.
I think it will confuse user if assetCount > 0 but there is no tool asset reported by the agent. In addition, when new assets added to the system the count does not reflect the actual tool assets but it will be the total of removed assets + new tool assets.
from cppagent.
you can ask the agent to include removed assets and they will appear, marked as removed, This may necessitate another count in the standard to handle this capability. I agree it is confusing, but I don't know how to clarify the situation without causing another confusion. We may need an assetRemovedCount in the header.
Any thoughts?
Sent from my iPad
On Nov 19, 2014, at 07:58, hulinning2 [email protected] wrote:
I think it will confuse user if assetCount > 0 but there is no tool asset reported by the agent. In addition, when new assets added to the system the count does not reflect the actual tool assets but it will be the total of removed assets + new tool assets.
—
Reply to this email directly or view it on GitHub.
from cppagent.
It must have something else to account for the removed assets. If the system runs long enough agent will accumulate many removed assets in the assetCount and your agent might not be able to handle all removed assets in the long run as asset ID keep changing.
from cppagent.
The standard specified that there are a fixed number of assets in the
agent, though with a backing store it could be ~infinite. The current
default is 1024 and can be increased through configuration variable
(documented). This will keep memeory and storage managable.
Therefor the max assets is fixed in most cases regardless of removed or
active.
On Wednesday, November 19, 2014, hulinning2 [email protected]
wrote:
It must have something else to account for the removed assets. If the
system runs long enough agent will accumulate many removed assets in the
assetCount and your agent might not be able to handle all removed assets in
the long run as asset ID keep changing.—
Reply to this email directly or view it on GitHub
#15 (comment).
- Will
Sent from my iPhone
from cppagent.
Good. I think we just need to define a different attribute for number of removed assets. it would be best to be able to query for removed assets only instead of both.
from cppagent.
that's what i'm thinking as well. we can recommend for V1.4.
thanks for raising this issue.
Sent from my iPad
On Nov 19, 2014, at 10:23, Linh Huynh [email protected] wrote:
Good. I think we just need to define a different attribute for number of removed assets. it would be best to be able to query for removed assets only instead of both.
—
Reply to this email directly or view it on GitHub.
from cppagent.
Related Issues (20)
- Unclear logging at startup when using Docker HOT 1
- Ubuntu 20.04: Error building test package HOT 25
- * uuid command handling in agent not as expected HOT 19
- AgentConfiguration::monitorThread message reports wrong number of seconds
- Crash when editing device dataitem in DeviceModel HOT 4
- XML Schema validation with lxml HOT 1
- Simple WebSockets for subscriptions HOT 3
- Add validation transform to support 2.5 quality attribute for observations.
- MQTT INGRESS connection not working on V2.3.0.4 HOT 5
- How to set initial dataitem value in the stream HOT 2
- Agent Reconnecting to Broker repeatedly HOT 20
- Condition ID format and example not matching on Agent version 2.3? HOT 25
- DELETEing an already deleted asset responds with old asset value; expected MTConnectError HOT 10
- Check why asset counts are not being reported in agent HOT 3
- json schema for agent cfg HOT 8
- Add pretty handling to assets
- Query Regarding FlatMode Configuration in MTConnect CPP Agent HOT 9
- Add header to Asset documents in 2.5
- Agent is suddenly closing itself HOT 22
- Cannot start service when cfg file has different name than default HOT 7
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cppagent.