Class UsageFeature
Internal Use Only.
The fixed feature ids a usage report counts (Counts), each of the form the
licence server accepts, [a-z][a-z0-9.-]{0,31}; Count(string, TimeSpan?) ignores any other id.
The list is the client's and the server's shared vocabulary: a new feature is a new constant here, added to
All, and nothing else – the report has no field per feature, the counts object is the
extensible slot. Each id counts one use (N) and, where the caller measures it, the
seconds it took (S, rounded up).
public static class UsageFeature
- Inheritance
-
UsageFeature
- Inherited Members
Fields
All
Every id above: what Count(string, TimeSpan?) accepts.
public static readonly IReadOnlySet<string> All
Field Value
ClToNc
One CL-to-NC conversion that wrote a file, with its seconds (MachiningSession.ConvertClToNcFiles).
public const string ClToNc = "cl.to-nc"
Field Value
EquipmentEdit
One edit of the equipment topology: a role, an error term, a rename, an anchor, a branch, a geometry (the product's action filter).
public const string EquipmentEdit = "equipment.edit"
Field Value
GeomDiff
One geometry difference built, with its seconds (SessionShell.Diff).
public const string GeomDiff = "geom.diff"
Field Value
NcRun
One NC program run to its end, a stop included, with its seconds (MachiningSession.RunNcLines).
public const string NcRun = "nc.run"
Field Value
OptNc
One NC optimisation that wrote a file (MachiningSession.OptimizeNcFiles, the SoftNc path; the retiring HardNc path is not counted).
public const string OptNc = "opt.nc"
Field Value
PlayCollision
A play with collision detection on, once per play at its first counted step (NotePlay(UsagePlaySnapshot)).
public const string PlayCollision = "play.collision"
Field Value
PlayMotionFeedPerCycle
A play whose motion resolution is a feed per spindle cycle, once per play at its first counted step.
public const string PlayMotionFeedPerCycle = "play.motion.feed-per-cycle"
Field Value
PlayMotionFeedPerTooth
A play whose motion resolution is a feed per tooth, once per play at its first counted step.
public const string PlayMotionFeedPerTooth = "play.motion.feed-per-tooth"
Field Value
PlayMotionFixed
A play whose motion resolution is a fixed step, once per play at its first counted step.
public const string PlayMotionFixed = "play.motion.fixed"
Field Value
PlayPhysics
A play with physics on, once per play at its first counted step.
public const string PlayPhysics = "play.physics"
Field Value
ProjectLoad
One project loaded (the product's action filter).
public const string ProjectLoad = "project.load"
Field Value
ProjectNew
One project created (the product's action filter).
public const string ProjectNew = "project.new"
Field Value
ShotFiles
One shot file written, with its seconds (LocalProjectService.WriteShotFile).
public const string ShotFiles = "shot.files"
Field Value
SoftNcBrand
One switch of the soft NC runner's brand that succeeded (the product's action filter).
public const string SoftNcBrand = "softnc.brand"
Field Value
ToolCreate
One tool created or duplicated in the tool house (the product's action filter).
public const string ToolCreate = "tool.create"