Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
dream
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
dream
Commits
96fa9b6f
Commit
96fa9b6f
authored
Jan 20, 2015
by
Jérome Perrin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
JobShopAllInOneEmpty: style for nodes
parent
cac0624d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
4 deletions
+37
-4
dream/platform/src/dream/Input_viewSpreadsheet.js
dream/platform/src/dream/Input_viewSpreadsheet.js
+1
-2
dream/simulation/Examples/JobShopAllInOneEmpty.json
dream/simulation/Examples/JobShopAllInOneEmpty.json
+36
-2
No files found.
dream/platform/src/dream/Input_viewSpreadsheet.js
View file @
96fa9b6f
/*global rJS, RSVP, initGadgetMixin, loopEventListener
, console
*/
/*global rJS, RSVP, initGadgetMixin, loopEventListener */
(
function
(
window
,
rJS
,
RSVP
,
initGadgetMixin
,
loopEventListener
)
{
"
use strict
"
;
...
...
@@ -68,7 +68,6 @@
// declared methods
/////////////////////////////////////////////////////////////////
.
declareMethod
(
"
render
"
,
function
(
options
)
{
console
.
log
(
"
generic spreadsheet RENDER1
"
);
var
jio_key
=
options
.
id
,
gadget
=
this
;
gadget
.
props
.
jio_key
=
jio_key
;
...
...
dream/simulation/Examples/JobShopAllInOneEmpty.json
View file @
96fa9b6f
...
...
@@ -406,9 +406,13 @@
"Dream.ExitJobShop"
:{
"_class"
:
"node"
,
"name"
:
"Exit"
,
"colour"
:
"#F0F"
,
"shape"
:
"rectangle"
,
"description"
:
"A station where entities exits from the system"
,
"css"
:
{
"border"
:
"1px solid #ccb"
,
"backgroundColor"
:
"#eef"
,
"backgroundImage"
:
"linear-gradient(to bottom, #eef 0%, #dde 100%)"
},
"shape"
:
"rectangle"
,
"allOf"
:
[{
"$ref"
:
"#/node"
},
{
...
...
@@ -430,6 +434,11 @@
"name"
:
"ConditionalBuffer"
,
"_class"
:
"node"
,
"description"
:
"A buffer where entities can be hold until the next station is ready to process them and a certain condition is met"
,
"css"
:
{
"border"
:
"1px solid #bcc"
,
"backgroundColor"
:
"#eff"
,
"backgroundImage"
:
"linear-gradient(to bottom, #eff 0%, #dee 100%)"
},
"allOf"
:
[{
"$ref"
:
"#/node"
},
{
...
...
@@ -459,6 +468,11 @@
"name"
:
"Assembly Queue"
,
"_class"
:
"node"
,
"description"
:
"A buffer where entities can be hold until the next assembly is ready to process all the entities from the same production-order"
,
"css"
:
{
"border"
:
"1px solid #bcc"
,
"backgroundColor"
:
"#eff"
,
"backgroundImage"
:
"linear-gradient(to bottom, #eff 0%, #dee 100%)"
},
"allOf"
:
[{
"$ref"
:
"#/Dream.ConditionalBuffer"
},
{
...
...
@@ -480,6 +494,11 @@
"name"
:
"Decomposition"
,
"_class"
:
"node"
,
"description"
:
"A station where production-orders are decomposed into components "
,
"css"
:
{
"border"
:
"1px solid #cbc"
,
"backgroundColor"
:
"#fef"
,
"backgroundImage"
:
"linear-gradient(to bottom, #fef 0%, #ede 100%)"
},
"allOf"
:
[{
"$ref"
:
"#/node"
},
{
...
...
@@ -497,6 +516,11 @@
"Dream.MachineJobShop"
:{
"name"
:
"Machine"
,
"description"
:
"A station processing items for some time given by a distribution provided by the entities that are processed"
,
"css"
:
{
"border"
:
"1px solid #cbc"
,
"backgroundColor"
:
"#fef"
,
"backgroundImage"
:
"linear-gradient(to bottom, #fef 0%, #ede 100%)"
},
"_class"
:
"node"
,
"allOf"
:
[{
"$ref"
:
"#/class_definition/node"
...
...
@@ -521,6 +545,11 @@
]
},
"Dream.MouldAssembly"
:{
"css"
:
{
"border"
:
"1px solid #cbc"
,
"backgroundColor"
:
"#fef"
,
"backgroundImage"
:
"linear-gradient(to bottom, #fef 0%, #ede 100%)"
},
"name"
:
"Assembly"
,
"description"
:
"A station that assembles different components of the same production order into a single entity"
,
"_class"
:
"node"
,
...
...
@@ -542,6 +571,11 @@
"name"
:
"Operator"
,
"_class"
:
"node"
,
"description"
:
"A resource that operates stations"
,
"css"
:
{
"border"
:
"1px solid #cbb"
,
"backgroundColor"
:
"#fdd"
,
"backgroundImage"
:
"linear-gradient(to bottom, #fdd 0%, #dcc 100%)"
},
"allOf"
:
[{
"$ref"
:
"#/class_definition/node"
},
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment