Kaynağa Gözat

修改系统图json文件格式中X,Y,Z被写为小写的问题。

sybotan 4 yıl önce
ebeveyn
işleme
90378e53b9

+ 5 - 5
docs/dev/saga-graphy/system-diagram/json-file.md

@@ -34,9 +34,9 @@
             AttachObjectIds:[],                 // 返回工程信息化对象 ID 列表
             GraphElementType: '',               // 图标,区域类型
             GraphElementId: '',                 // 对应的图元ID
-            Pos: {X: 0, y: 0},                  // 位置
-            Scale: {X: 1, y: 1, Z: 1},          // 缩放
-            Rolate: {X: 0, y: 0, Z: 0},         // 旋转
+            Pos: {X: 0, Y: 0},                  // 位置
+            Scale: {X: 1, Y: 1, Z: 1},          // 缩放
+            Rolate: {X: 0, Y: 0, Z: 0},         // 旋转
             Size: {Width:0, Height: 0},         // 大小
             AnchorList:[
                     {
@@ -64,8 +64,8 @@
             Name: '',                           // 名称
             Type: '',                           // 图标(Image),线类型(Line)
             Pos: {X: 0, y: 0},                  // 位置
-            Scale: {X: 1, y: 1, Z: 1},          // 缩放
-            Rolate: {X: 0, y: 0, Z: 0},         // 旋转
+            Scale: {X: 1, Y: 1, Z: 1},          // 缩放
+            Rolate: {X: 0, Y: 0, Z: 0},         // 旋转
             Size: {Width:0, Height: 0},         // 大小
             Properties: {}                      // 由应用自己定义
         },