Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emulab-stable
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
emulab
emulab-stable
Commits
2da4652d
Commit
2da4652d
authored
May 01, 2007
by
Russ Fish
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Link to nodes normally on the pc600wifi map.
parent
5d304b8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
vis/floormap.in
vis/floormap.in
+5
-3
No files found.
vis/floormap.in
View file @
2da4652d
...
@@ -797,9 +797,11 @@ sub dofloor($$)
...
@@ -797,9 +797,11 @@ sub dofloor($$)
}
}
}
}
# Link to a special page for the pc600 Wifi Cluster nodes.
# Link to a special page for the pc600 Wifi Cluster nodes,
# except on their own map.
my
$ispc600wifi
=
defined
(
$rowref
->
{"
feature
"})
&&
my
$ispc600wifi
=
defined
(
$rowref
->
{"
feature
"})
&&
$rowref
->
{"
feature
"}
eq
"
pc600wifi
";
$rowref
->
{"
feature
"}
eq
"
pc600wifi
"
&&
$building
ne
$pc600wifi_bldg
;
$props
->
{'
ISPC600WIFI
'}
=
$ispc600wifi
;
$props
->
{'
ISPC600WIFI
'}
=
$ispc600wifi
;
my
$x2
=
$x
+
$DOT_RAD
;
my
$x2
=
$x
+
$DOT_RAD
;
...
@@ -881,7 +883,7 @@ sub dofloor($$)
...
@@ -881,7 +883,7 @@ sub dofloor($$)
(
$o
>
180.0
&&
$o
<
360.0
)));
(
$o
>
180.0
&&
$o
<
360.0
)));
# No labels on the pc600 wifi cluster nodes, except on their own map.
# No labels on the pc600 wifi cluster nodes, except on their own map.
if
(
!
$ispc600wifi
||
$building
eq
$pc600wifi_bldg
)
{
if
(
!
$ispc600wifi
)
{
$err
=
$baseimage
->
Annotate
(
fill
=>
'
black
',
x
=>
$lx
,
y=>$ly,
$err
=
$baseimage
->
Annotate
(
fill
=>
'
black
',
x
=>
$lx
,
y=>$ly,
text=>"$label");
text=>"$label");
warn "$err" if "$err";
warn "$err" if "$err";
...
...
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