505 lines
17 KiB
Smarty
505 lines
17 KiB
Smarty
Schema.addCategory({name:"nqms_dataLayerElement", 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:"dle_conceptDataObj",title:"概念数据对象",text:"概念数据对象",category:"nqms_dataLayerElement",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:"curve",x1:"17",y1:"16",x2:"17",y2:"19",x:"19",y:"19"},
|
|
{action:"curve",x1:"21",y1:"19",x2:"21",y2:"16",x:"19",y:"16"},
|
|
{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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|
|
/***概念数据元素*/Schema.addShape({name:"dle_conceptDataElement",title:"概念数据元素",text:"概念数据元素",category:"nqms_dataLayerElement",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:"17"},
|
|
{action:"line",x:"6+8",y:"17"},
|
|
{action:"line",x:"6+8",y:"21"},
|
|
]
|
|
},
|
|
/***
|
|
待修改
|
|
*/
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"0"},
|
|
actions:[
|
|
{action:"move",x:"19",y:"11"},
|
|
{action:"curve",x1:"17",y1:"11",x2:"17",y2:"14",x:"19",y:"14"},
|
|
{action:"curve",x1:"21",y1:"14",x2:"21",y2:"11",x:"19",y:"11"},
|
|
{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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|
|
/***逻辑数据对象*/Schema.addShape({name:"dle_logicDataObj",title:"逻辑数据对象",text:"逻辑数据对象",category:"nqms_dataLayerElement",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:"18"},
|
|
{action:"line",x:"19",y:"20"},
|
|
{action:"line",x:"21",y:"18"},
|
|
{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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|
|
/***逻辑数据元素*/Schema.addShape({name:"dle_logicDataElement",title:"逻辑数据元素",text:"逻辑数据元素",category:"nqms_dataLayerElement",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:"17"},
|
|
{action:"line",x:"6+8",y:"17"},
|
|
{action:"line",x:"6+8",y:"21"},
|
|
]
|
|
},
|
|
/***
|
|
待修改
|
|
*/
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"0"},
|
|
actions:[
|
|
{action:"move",x:"19",y:"11"},
|
|
{action:"line",x:"17",y:"13"},
|
|
{action:"line",x:"19",y:"15"},
|
|
{action:"line",x:"21",y:"13"},
|
|
{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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|
|
/***物理数据对象*/Schema.addShape({name:"dle_physicsDataObj",title:"物理数据对象",text:"物理数据对象",category:"nqms_dataLayerElement",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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|
|
/***物理数据元素*/Schema.addShape({name:"dle_physicsDataElement",title:"物理数据元素",text:"物理数据元素",category:"nqms_dataLayerElement",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:"17"},
|
|
{action:"line",x:"6+8",y:"17"},
|
|
{action:"line",x:"6+8",y:"21"},
|
|
|
|
]
|
|
},
|
|
|
|
{
|
|
lineStyle:{lineWidth:1},
|
|
fillStyle:{color:"0"},
|
|
actions:[
|
|
{action:"move",x:"19",y:"11"},
|
|
{action:"line",x:"17",y:"14"},
|
|
{action:"line",x:"21",y:"14"},
|
|
{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"}
|
|
]
|
|
},
|
|
]
|
|
});
|