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