Embedded Programming with the Microsoft .NET Micro Framework

Tahoe development kit/board, 231, 233–34

target device, deploying to, Visual Studio, 31–32

Target property, 68, 69

TCP. See Transmission Control Protocol (TCP)

TCP/IP model, 90, 99

ports, 99

SideShow and, 158

TCP, 101

UDP, 100–01

testability, improving, 76–77

text, displaying, 143–44

paged display component, 144–46

text, drawing, 129

Bitmap, 130

building a display, 131–33

calculating length of rendered text, 130–31

large amounts of text, 133–34

in rectangle, 131

WPF and .Net Micro Framework, 135

Text class, 143–44

text length, calculating, 130–31

Text property, 192

TextWrap, 144

this keyword, 255

threading, 6, 63

threads

creating, 48–49

defined, 255

foreground and background, 46–47

HAL and, 9

interruptions, preventing, using Interlocked class, 227–28

management of with monitors, 224–27

and object instances, 224

Roomba performance, 229

safety, GPS decoder, 74

synchronization, 47–48

timing problems with flags, 227

throw keyword, 53

throwing, exceptions, 53

Ticks property, 53

timer, flashlight finder program, 49–50

Timer class, 49

timers, 204, 212

timespan, 50

TimeSpan structure, 50, 51, 53, 177

TimingServices, 208–09

ToString method, 51, 61, 250–51

Transient Multi-mon, 236

Transition method, 204

Transmission Control Protocol (TPC), 90, 92, 101. See also TCP/IP model

transport layer, OSI model, 92

try-catch construction, 53–55, 56

type safe, 43, 253

Type.AssemblyQualifiedName, 201

Type.GetType, 201

types, 255

ArrayList, 59–60

performance and, 85

Types, XML configuration file, 201, 205

Категории