Class ModelParsingInfo
Represents the information produced during model parsing. That is, when a model is downloaded, the connector will try to open the model with the simulator, extract information from the model and update that information in CDF (if necessary). The parsing info should capture information about this process (error, status, etc)
public class ModelParsingInfo
- Inheritance
-
ModelParsingInfo
- Inherited Members
Properties
Error
If there were any errors during parsing
public bool Error { get; set; }
Property Value
LastUpdatedTime
Timestamp of when this entry was updated last
public long LastUpdatedTime { get; set; }
Property Value
Parsed
Whether or not the model was parsed
public bool Parsed { get; set; }
Property Value
Status
Model parsing status
[JsonConverter(typeof(JsonStringEnumConverter))]
public SimulatorModelRevisionStatus Status { get; set; }
Property Value
- SimulatorModelRevisionStatus
StatusMessage
Status message
public string StatusMessage { get; set; }
Property Value
Methods
SetFailure(string)
Update the model info status to failure
public void SetFailure(string statusMessage = "Model parsing failed")
Parameters
statusMessage
stringStatus message
SetSuccess()
Update the model info status to success
public void SetSuccess()