示例#1
0
 def toPropertyMap(self) -> PropertyMap:
     return PropertyMap({
         "Device":
         Property(self.stageName),
         "Position_um":
         PropertyArray([Property(self.x),
                        Property(self.y)]),
     })
示例#2
0
 def toPropertyMap(self) -> PropertyMap:
     return PropertyMap({
         "DefaultXYStage": Property(self.defaultXYStage),
         "DefaultZStage": Property(self.defaultZStage),
         "DevicePositions": PropertyMapArray([i.toPropertyMap() for i in self.stagePositions]),
         "GridCol": Property(0),
         "GridRow": Property(0),
         "Label": Property(self.label),
         "Properties": PropertyMap({})
     })