Class PlayerDivConfig
Per-user visibility flags for the Player page's divisions (charts and
info panels). Mirrors the HiNcRcl PlayerDivConfig + PlayerDivFlag
pair, flattened into a single all-boolean config so the webservice
(which has no HiNcHost / HiNcUser) can persist the whole
layout through UserConfig alone.
public class PlayerDivConfig : IMakeXmlSource
- Inheritance
-
PlayerDivConfig
- Implements
- Inherited Members
- Extension Methods
Remarks
Defaults are tuned for a first-time user: the two info panels (EnableStepDiv and MessageTable) are ON so the Player page looks populated without having to open the Division Visibility dropdown; every chart toggle starts OFF.
Constructors
PlayerDivConfig()
Default constructor.
public PlayerDivConfig()
PlayerDivConfig(XElement)
Initializes a new instance of the PlayerDivConfig class from XML data.
public PlayerDivConfig(XElement src)
Parameters
srcXElementXML element containing player-div data.
Properties
ColorIndexTimeChart
Color-index strip chart (single-strip timeline coloured by arbitrary numeric/bool aspect).
public bool ColorIndexTimeChart { get; set; }
Property Value
DynamometerForceCycleLineDiv
Cycle-line chart of sensor-measured force from an external dynamometer.
public bool DynamometerForceCycleLineDiv { get; set; }
Property Value
EnableDetailDiv0
Developer-only raw step-property dump panel.
public bool EnableDetailDiv0 { get; set; }
Property Value
EnableStepDiv
Full / condensed step information panel (Selected Step Info).
public bool EnableStepDiv { get; set; }
Property Value
EnableStripAvailabilityChart
Availability strip chart (per-step timeline coloured by availability aspect).
public bool EnableStripAvailabilityChart { get; set; }
Property Value
EnableStripRoughnessChart
Surface-roughness strip chart (per-step timeline coloured by surface-roughness aspect).
public bool EnableStripRoughnessChart { get; set; }
Property Value
ForceCycleLineDiv
Cycle-line chart of cutting force along the step's rotation cycle.
public bool ForceCycleLineDiv { get; set; }
Property Value
MessageTable
Session messages panel.
public bool MessageTable { get; set; }
Property Value
SensorSpindleMomentCycleLineDiv
Cycle-line chart of sensor-measured spindle moment (overlay on sim moment).
public bool SensorSpindleMomentCycleLineDiv { get; set; }
Property Value
SimSpindleMomentCycleLineDiv
Cycle-line chart of simulation-derived spindle moment on spindle-rotation coordinate.
public bool SimSpindleMomentCycleLineDiv { get; set; }
Property Value
XName
Name for XML IO.
public static string XName { get; }
Property Value
Methods
MakeXmlSource(string, string, bool)
Creates an XML representation of the object. This method may also generate additional resources such as related files.
public XElement MakeXmlSource(string baseDirectory, string relFile, bool exhibitionOnly)
Parameters
baseDirectorystringThe base directory for resolving relative paths
relFilestringThe relative file path for the XML source
exhibitionOnlyboolif true, the extended file creation is suppressed.
Returns
- XElement
An XML element representing the object's state
Remarks
For the demand of easy moving source folder (especially project folder) without configuration file path corruption, the relative file path is applied.
The baseDirectory is typically the folder at the nearest configuration file folder.
Since the folder can be moving with the configuration file.