Exemple #1
0
 void IFieldSerializer <LedMatrixData> .SetTextValue(ref LedMatrixData data, string text)
 {
     data.CellShape = EnumHelper.Parse <LedMatrixCellShape>(text, this.DefaultValue);
 }
Exemple #2
0
 void IFieldSerializer <SensorData> .SetTextValue(ref SensorData data, string text)
 {
     data.PinSide = EnumHelper.Parse <PinSide>(text, this.DefaultValue);
 }
Exemple #3
0
 void IFieldSerializer <CircuitButtonData> .SetTextValue(ref CircuitButtonData data, string text)
 {
     data.PinSide = EnumHelper.Parse <PinSide>(text, this.DefaultValue);
 }
 void IFieldSerializer <GraphicsArrayData> .SetTextValue(ref GraphicsArrayData data, string text)
 {
     data.OnStart = EnumHelper.Parse <MemoryOnStart>(text, this.DefaultValue);
 }
Exemple #5
0
 void IFieldSerializer <PinData> .SetTextValue(ref PinData data, string text)
 {
     data.PinType = EnumHelper.Parse <PinType>(text, this.DefaultValue);
 }
Exemple #6
0
 void IFieldSerializer <CircuitSymbolData> .SetTextValue(ref CircuitSymbolData data, string text)
 {
     data.Rotation = EnumHelper.Parse <Rotation>(text, this.DefaultValue);
 }