Skip to content

Commit

Permalink
New informations in Network tab
Browse files Browse the repository at this point in the history
  • Loading branch information
eloaders committed Dec 31, 2013
1 parent 09c532b commit b456b38
Show file tree
Hide file tree
Showing 2 changed files with 155 additions and 4 deletions.
137 changes: 135 additions & 2 deletions src/i-nex/.src/Finfosys.form
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
Picture = Picture["icon:/16/important"]
}
{ TabStrip1 TabStrip
Move(0,0,476,497)
Move(7,0,476,497)
Font = Font["Bold,8"]
Padding = 3
Count = 11
Expand Down Expand Up @@ -1495,10 +1495,143 @@
}
}
{ Button9 Button
Move(273,63,189,28)
Move(273,434,189,28)
Font = Font["Bold,8"]
Text = ("Show Receive and Transmit")
}
{ Label157 Label
Move(7,63,294,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label157")
Border = Border.Raised
}
{ Label158 Label
Move(7,84,294,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label158")
Border = Border.Raised
}
{ Label159 Label
Move(7,105,294,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label159")
Border = Border.Raised
}
{ Label160 Label
Move(7,126,294,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label160")
Border = Border.Raised
}
{ Label161 Label
Move(7,147,140,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label161")
Border = Border.Raised
}
{ Label162 Label
Move(147,147,154,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label162")
Border = Border.Raised
}
{ Label163 Label
Move(301,147,161,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label163")
Border = Border.Raised
}
{ Label164 Label
Move(7,168,140,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label164")
Border = Border.Raised
}
{ Label165 Label
Move(147,168,154,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label165")
Border = Border.Raised
}
{ Label166 Label
Move(7,231,140,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label166")
Border = Border.Raised
}
{ Label167 Label
Move(7,189,140,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label167")
Border = Border.Raised
}
{ Label168 Label
Move(7,210,140,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label168")
Border = Border.Raised
}
{ Label169 Label
Move(301,189,161,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label169")
Border = Border.Raised
}
{ Label170 Label
Move(301,168,161,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label170")
Border = Border.Raised
}
{ Label171 Label
Move(147,210,154,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label171")
Border = Border.Raised
}
{ Label172 Label
Move(301,210,161,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label172")
Border = Border.Raised
}
{ Label173 Label
Move(147,189,154,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label173")
Border = Border.Raised
}
{ Label174 Label
Move(147,231,154,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label174")
Border = Border.Raised
}
{ Label175 Label
Move(301,231,161,21)
Font = Font["Bold,8"]
Padding = 3
Text = ("Label175")
Border = Border.Raised
}
Index = 9
Text = ("Battery")
{ HPanel5 HPanel
Expand Down
22 changes: 20 additions & 2 deletions src/i-nex/.src/net.module
Original file line number Diff line number Diff line change
Expand Up @@ -98,11 +98,29 @@ Public Sub _replace()
device_speed = Replace(device_speed, "\n", "")
device_tx_queue_len = Replace(device_tx_queue_len, "\n", "")
device_type = Replace(device_type, "\n", "")

net_dev()
End

Public Sub net_dev()

Finfosys.Label157.Text = "Device address: " & device_address
Finfosys.Label158.Text = "Device addr len: " & device_addr_len
Finfosys.Label159.Text = "Assign type: " & device_assign_type
Finfosys.Label160.Text = "Broadcast: " & device_broadcast
Finfosys.Label161.Text = "Carrier: " & device_carrier
Finfosys.Label162.Text = "Dev id: " & device_dev_id
Finfosys.Label163.Text = "Dormant: " & device_dormant
Finfosys.Label164.Text = "Duplex: " & device_duplex
Finfosys.Label165.Text = "Flags: " & device_flags
Finfosys.Label166.Text = "Ifalias: " & device_ifalias
Finfosys.Label167.Text = "Ifindex: " & device_ifindex
Finfosys.Label168.Text = "Iflink: " & device_iflink
Finfosys.Label169.Text = "Link mode: " & device_link_mode
Finfosys.Label170.Text = "MTU: " & device_mtu
Finfosys.Label171.Text = "Netdev group: " & device_netdev_group
Finfosys.Label172.Text = "Operstate: " & device_operstate
Finfosys.Label173.Text = "Speed: " & device_speed
Finfosys.Label174.Text = "Tx queue len: " & device_tx_queue_len
Finfosys.Label175.Text = "Type: " & device_type
End


0 comments on commit b456b38

Please sign in to comment.