97 lines
3.5 KiB
Smarty
97 lines
3.5 KiB
Smarty
Schema.addCategory({name:"nqms_dataPhysicsElement", 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:"dpe_physicsDataElement",title:"物理数据元素",text:"物理数据元素",category:"nqms_dataPhysicsElement",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"}
|
|
]
|
|
},
|
|
]
|
|
});
|
|
|