286 lines
9.7 KiB
Smarty
286 lines
9.7 KiB
Smarty
Schema.addCategory({name:"nqms_dataPhysicsTransmit", text:"物理数据传递关系图", dataAttributes:[
|
||
{name:"No.", type:"number", value:"", category:"default"},
|
||
{name:"Name", type:"string", value:"", category:"default"},
|
||
{name:"Owner", type:"string", value:"", category:"default"},
|
||
{name:"Link", type:"link", value:"", category:"default"},
|
||
{name:"Memo", type:"string", value:"", category:"default"},
|
||
{name:"Cost", type:"number", value:"", category:"default"},
|
||
{name:"Time", type:"number", value:"", category:"default"},
|
||
{name:"Manner", type:"list", value:"", category:"default"},
|
||
{name:"Department", type:"string", value:"", category:"default"},
|
||
{name:"Input", type:"string", value:"", category:"default"},
|
||
{name:"Output", type:"string", value:"", category:"default"},
|
||
{name:"Risk", type:"string", value:"", category:"default"},
|
||
{name:"Remarks", type:"string", value:"", category:"default"}
|
||
]});
|
||
/***物理数据对象*/Schema.addShape({name:"dpt_physicsDataObj",title:"物理数据对象",text:"物理数据对象",category:"nqms_dataPhysicsTransmit",props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"253,209,209",type:"solid"},
|
||
path:[
|
||
{actions:{ref:"rectangle"}},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move",x:"0",y:"0"},
|
||
{action:"line",x:"w",y:"0"},
|
||
{action:"line",x:"w",y:"h"},
|
||
{action:"line",x:"0",y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
actions:[
|
||
{action:"move",x:"1",y:"1"},
|
||
{action:"line",x:"w-1",y:"1"},
|
||
{action:"line",x:"w-1",y:"31"},
|
||
{action:"line",x:"1",y:"31"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"6",y:"9"},
|
||
{action:"line",x:"6+18",y:"9"},
|
||
{action:"line",x:"6+18",y:"9+12"},
|
||
{action:"line",x:"6",y:"9+12"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
|
||
actions:[
|
||
{action:"move",x:"6",y:"13"},
|
||
{action:"line",x:"6+18",y:"13"},
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"0"},
|
||
actions:[
|
||
{action:"move",x:"19",y:"16"},
|
||
{action:"line",x:"17",y:"19"},
|
||
|
||
{action:"line",x:"21",y:"19"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"1",y:"32"},
|
||
{action:"line",x:"w-1",y:"32"},
|
||
{action:"line",x:"w-1",y:"h-1"},
|
||
{action:"line",x:"1",y:"h-1"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move",x:"0",y:"0"},
|
||
{action:"line",x:"w",y:"0"},
|
||
{action:"line",x:"w",y:"h"},
|
||
{action:"line",x:"0",y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
]
|
||
});
|
||
|
||
/***节点:Decision*/Schema.addShape({name:"dpt_node", title:"节点", text:"节点", category:"nqms_dataPhysicsTransmit", props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"153, 252, 214",type:"solid"},
|
||
path:[
|
||
{actions:{ref:"rectangle"}},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move", x:"0", y:"0"},
|
||
{action:"line", x:"w", y:"0"},
|
||
{action:"line", x:"w", y:"h"},
|
||
{action:"line", x:"0", y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
actions:[
|
||
{action:"move",x:"1",y:"1"},
|
||
{action:"line",x:"w-1",y:"1"},
|
||
{action:"line",x:"w-1",y:"31"},
|
||
{action:"line",x:"1",y:"31"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"1",y:"32"},
|
||
{action:"line",x:"w-1",y:"32"},
|
||
{action:"line",x:"w-1",y:"h-1"},
|
||
{action:"line",x:"1",y:"h-1"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move", x:"9", y:"9"},
|
||
{action:"line",x:"6",y:"11"},
|
||
{action:"line",x:"22",y:"11"},
|
||
{action:"line",x:"24",y:"9"},
|
||
{action:"close"},
|
||
{action:"move", x:"6", y:"11"},
|
||
{action:"line",x:"6",y:"21"},
|
||
{action:"line",x:"22",y:"21"},
|
||
{action:"line",x:"22",y:"11"},
|
||
{action:"close"},
|
||
{action:"move",x:"22",y:"11"},
|
||
{action:"line", x:"22", y:"21"},
|
||
{action:"line",x:"24",y:"18"},
|
||
{action:"line",x:"24",y:"9"},
|
||
{action:"close"},
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move",x:"0",y:"0"},
|
||
{action:"line",x:"w",y:"0"},
|
||
{action:"line",x:"w",y:"h"},
|
||
{action:"line",x:"0",y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
]});
|
||
|
||
/***技术接口:Decision*/Schema.addShape({name:"dpt_techConnector", title:"技术接口", text:"技术接口", category:"nqms_dataPhysicsTransmit", props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"153, 252, 214",type:"solid"},
|
||
path:[
|
||
{actions:{ref:"rectangle"}},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move", x:"0", y:"0"},
|
||
{action:"line", x:"w", y:"0"},
|
||
{action:"line", x:"w", y:"h"},
|
||
{action:"line", x:"0", y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
actions:[
|
||
{action:"move",x:"1",y:"1"},
|
||
{action:"line",x:"w-1",y:"1"},
|
||
{action:"line",x:"w-1",y:"31"},
|
||
{action:"line",x:"1",y:"31"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"1",y:"32"},
|
||
{action:"line",x:"w-1",y:"32"},
|
||
{action:"line",x:"w-1",y:"h-1"},
|
||
{action:"line",x:"1",y:"h-1"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"12",y:"15"},
|
||
{action:"curve",x1:"12",y1:"7",x2:"24",y2:"7",x:"24",y:"15"},
|
||
{action:"curve",x1:"24",y1:"23",x2:"12",y2:"23",x:"12",y:"15"},
|
||
{action:"close"},
|
||
{action:"move",x:"6",y:"15"},
|
||
{action:"line",x:"12",y:"15"},
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move",x:"0",y:"0"},
|
||
{action:"line",x:"w",y:"0"},
|
||
{action:"line",x:"w",y:"h"},
|
||
{action:"line",x:"0",y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
]});
|
||
|
||
/***技术服务:Decision*/Schema.addShape({name:"dpt_techService", title:"技术服务", text:"技术服务", category:"nqms_dataPhysicsTransmit", props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},lineStyle: {lineColor: "92,92,92", lineStyle:"solid",lineWidth:1},
|
||
textBlock:{x:"0",y:"30",w:"w",h:"h-30"}, "fillStyle":{color:"153, 252, 214",type:"solid"},
|
||
path:[
|
||
{actions:{ref:"rectangle"}},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move", x:"0", y:"0"},
|
||
{action:"line", x:"w", y:"0"},
|
||
{action:"line", x:"w", y:"h"},
|
||
{action:"line", x:"0", y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
actions:[
|
||
{action:"move",x:"1",y:"1"},
|
||
{action:"line",x:"w-1",y:"1"},
|
||
{action:"line",x:"w-1",y:"31"},
|
||
{action:"line",x:"1",y:"31"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"1",y:"32"},
|
||
{action:"line",x:"w-1",y:"32"},
|
||
{action:"line",x:"w-1",y:"h-1"},
|
||
{action:"line",x:"1",y:"h-1"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move", x:"10", y:"9"},
|
||
{action:"curve",x1:"5", y1:"12", x2:"5", y2:"18", x:"10", y:"21"},
|
||
{action:"line",x:"24",y:"21"},
|
||
{action:"curve",x1:"29", y1:"18", x2:"29", y2:"12", x:"24", y:"9"},
|
||
{action:"close"},
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:0},
|
||
fillStyle:{type:"none"},
|
||
actions:[
|
||
{action:"move",x:"0",y:"0"},
|
||
{action:"line",x:"w",y:"0"},
|
||
{action:"line",x:"w",y:"h"},
|
||
{action:"line",x:"0",y:"h"},
|
||
{action:"close"}
|
||
]
|
||
},
|
||
]});
|