597 lines
20 KiB
Smarty
597 lines
20 KiB
Smarty
Schema.addCategory({name:"nqms_techDeploy", 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.addGlobalCommand("inline_rect",[
|
||
{action:"move",x:"40",y:"5"},
|
||
{action:"line",x:"w",y:"5"},
|
||
{action:"line",x:"w",y:"h"},
|
||
{action:"line",x:"40",y:"h"},
|
||
{action:"close"}
|
||
]);
|
||
/***组织结构图标*/Schema.addGlobalCommand("org_structure",[
|
||
{action:"move",x:"(40-8)*0.5",y:"h*0.5-4"},
|
||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-4"},
|
||
{action:"line",x:"(40-8)*0.5+8",y:"h*0.5-12"},
|
||
{action:"line",x:"(40-8)*0.5",y:"h*0.5-12"},
|
||
{action:"close"},
|
||
{action:"move",x:"40*0.25",y:"h*0.5"},
|
||
{action:"line",x:"40*0.5-1",y:"h*0.5"},
|
||
{action:"line",x:"40*0.5-1",y:"h*0.5-2"},
|
||
{action:"line",x:"40*0.5+1",y:"h*0.5-2"},
|
||
{action:"line",x:"40*0.5+1",y:"h*0.5"},
|
||
{action:"line",x:"40*0.75",y:"h*0.5"},
|
||
{action:"line",x:"40*0.75",y:"h*0.5+4"},
|
||
{action:"line",x:"40*0.75-1",y:"h*0.5+4"},
|
||
{action:"line",x:"40*0.75-1",y:"h*0.5+3"},
|
||
{action:"line",x:"40*0.5+1",y:"h*0.5+3"},
|
||
{action:"line",x:"40*0.5+1",y:"h*0.5+4"},
|
||
{action:"line",x:"40*0.5-1",y:"h*0.5+4"},
|
||
{action:"line",x:"40*0.5-1",y:"h*0.5+3"},
|
||
{action:"line",x:"40*0.25+1",y:"h*0.5+3"},
|
||
{action:"line",x:"40*0.25+1",y:"h*0.5+4"},
|
||
{action:"line",x:"40*0.25",y:"h*0.5+4"},
|
||
{action:"close"},
|
||
{action:"move",x:"40*0.25-4",y:"h*0.5+6"},
|
||
{action:"line",x:"40*0.25+4",y:"h*0.5+6"},
|
||
{action:"line",x:"40*0.25+4",y:"h*0.5+14"},
|
||
{action:"line",x:"40*0.25-4",y:"h*0.5+14"},
|
||
{action:"close"},
|
||
{action:"move",x:"40*0.5-4",y:"h*0.5+6"},
|
||
{action:"line",x:"40*0.5+4",y:"h*0.5+6"},
|
||
{action:"line",x:"40*0.5+4",y:"h*0.5+14"},
|
||
{action:"line",x:"40*0.5-4",y:"h*0.5+14"},
|
||
{action:"close"},
|
||
{action:"move",x:"40*0.75-4",y:"h*0.5+6"},
|
||
{action:"line",x:"40*0.75+4",y:"h*0.5+6"},
|
||
{action:"line",x:"40*0.75+4",y:"h*0.5+14"},
|
||
{action:"line",x:"40*0.75-4",y:"h*0.5+14"},
|
||
{action:"close"}
|
||
]);
|
||
|
||
/***应用系统类型*/Schema.addGlobalCommand("application_system",[
|
||
{action:"move",x:"10",y:"h*0.5-14"},
|
||
{action:"line",x:"40",y:"h*0.5-14"},
|
||
{action:"line",x:"40",y:"h*0.5+14"},
|
||
{action:"line",x:"10",y:"h*0.5+14"},
|
||
{action:"close"},
|
||
{action:"move",x:"14",y:"h*0.5-5"},
|
||
{action:"line",x:"36",y:"h*0.5-5"},
|
||
{action:"line",x:"36",y:"h*0.5+10"},
|
||
{action:"line",x:"14",y:"h*0.5+10"},
|
||
{action:"close"},
|
||
{action:"move",x:"34",y:"h*0.5-10"},
|
||
{action:"line",x:"36",y:"h*0.5-10"},
|
||
{action:"line",x:"36",y:"h*0.5-8"},
|
||
{action:"line",x:"34",y:"h*0.5-8"},
|
||
{action:"close"},
|
||
{action:"move",x:"28",y:"h*0.5-10"},
|
||
{action:"line",x:"30",y:"h*0.5-10"},
|
||
{action:"line",x:"30",y:"h*0.5-8"},
|
||
{action:"line",x:"28",y:"h*0.5-8"},
|
||
{action:"close"},
|
||
{action:"move",x:"22",y:"h*0.5-10"},
|
||
{action:"line",x:"24",y:"h*0.5-10"},
|
||
{action:"line",x:"24",y:"h*0.5-8"},
|
||
{action:"line",x:"22",y:"h*0.5-8"},
|
||
{action:"close"}
|
||
]);
|
||
|
||
/***节点:Decision*/Schema.addShape({name:"nodeDeploy", title:"节点", text:"节点", category:"nqms_techDeploy", 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:"deviceDeploy", title:"设备", text:"设备", category:"nqms_techDeploy", 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:"6", y:"12"},
|
||
{action:"quadraticCurve",x1:"6",y1:"8",x:"10",y:"8"},
|
||
{action:"line",x:"20",y:"8"},
|
||
{action:"quadraticCurve",x1:"24",y1:"8",x:"24",y:"12"},
|
||
{action:"line",x:"24",y:"14"},
|
||
{action:"quadraticCurve",x1:"24",y1:"18",x:"20",y:"18"},
|
||
{action:"line",x:"10",y:"18"},
|
||
{action:"quadraticCurve",x1:"6",y1:"18",x:"6",y:"14"},
|
||
{action:"close"},
|
||
{action:"move", x:"10", y:"18"},
|
||
{action:"line",x:"6",y:"22"},
|
||
{action:"line",x:"24",y:"22"},
|
||
{action:"line",x:"20",y:"18"},
|
||
{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:"systemSoftwareDeploy", title:"系统软件", text:"系统软件", category:"nqms_techDeploy", 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:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move",x:"15",y:"15"},
|
||
{action:"line", x:"18", y:"13"},
|
||
{action:"quadraticCurve",x1:"20",y1:"14",x:"19",y:"15"},
|
||
{action:"line",x:"16",y:"17"},
|
||
{action:"quadraticCurve",x1:"14",y1:"16",x:"15",y:"15"},
|
||
{action:"close"},
|
||
{action:"move", x:"18", y:"13"},
|
||
{action:"quadraticCurve",x1:"17",y1:"16",x:"19",y:"15"},
|
||
{action:"quadraticCurve",x1:"20",y1:"14",x:"18",y:"13"},
|
||
]
|
||
},
|
||
{
|
||
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:"techConnectorDeploy", title:"技术接口", text:"技术接口", category:"nqms_techDeploy", 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:"techServiceDeploy", title:"技术服务", text:"技术服务", category:"nqms_techDeploy", 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"}
|
||
]
|
||
},
|
||
]});
|
||
|
||
|
||
|
||
/***路径:Decision*/Schema.addShape({name:"pathDeploy", title:"路径", text:"路径", category:"nqms_techDeploy", props:{w:140,h:80,scaling:true,titleProps:{x:30,y:2,w:100,h:30}},
|
||
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:"6", y:"9"},
|
||
{action:"line",x:"24",y:"9"},
|
||
{action:"line",x:"24",y:"21"},
|
||
{action:"line",x:"6",y:"21"},
|
||
{action:"close"},
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move", x:"12", y:"13"},
|
||
{action:"line",x:"8",y:"15"},
|
||
{action:"line",x:"12",y:"17"},
|
||
{action:"move", x:"18", y:"13"},
|
||
{action:"line",x:"22",y:"15"},
|
||
{action:"line",x:"18",y:"17"},
|
||
{action:"move", x:"10", y:"15"},
|
||
{action:"line",x:"12",y:"15"},
|
||
{action:"move", x:"14", y:"15"},
|
||
{action:"line",x:"16",y:"15"},
|
||
{action:"move", x:"18", y:"15"},
|
||
{action:"line",x:"20",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:"commNetworkDeploy", title:"通信网络", text:"通信网络", category:"nqms_techDeploy", 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:"6", y:"9"},
|
||
{action:"line",x:"24",y:"9"},
|
||
{action:"line",x:"24",y:"21"},
|
||
{action:"line",x:"6",y:"21"},
|
||
{action:"close"},
|
||
]
|
||
},
|
||
{
|
||
lineStyle:{lineWidth:1},
|
||
fillStyle:{color:"255,255,255"},
|
||
actions:[
|
||
{action:"move", x:"12", y:"13"},
|
||
{action:"line",x:"8",y:"15"},
|
||
{action:"line",x:"12",y:"17"},
|
||
{action:"move", x:"18", y:"13"},
|
||
{action:"line",x:"22",y:"15"},
|
||
{action:"line",x:"18",y:"17"},
|
||
|
||
{action:"move", x:"9", y:"15"},
|
||
{action:"line",x:"21",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"}
|
||
]
|
||
},
|
||
]});
|