-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathEquipamentosSetorSensor.dfm
268 lines (268 loc) · 5.5 KB
/
EquipamentosSetorSensor.dfm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
object CadEquip: TCadEquip
Left = 0
Top = 0
ActiveControl = DBGrid1
BorderStyle = bsToolWindow
Caption = 'Cadastro de equipamentos por setor'
ClientHeight = 397
ClientWidth = 757
Color = clBtnFace
Font.Charset = DEFAULT_CHARSET
Font.Color = clWindowText
Font.Height = -11
Font.Name = 'Tahoma'
Font.Style = []
OldCreateOrder = False
OnCreate = FormCreate
PixelsPerInch = 96
TextHeight = 13
object DBGrid1: TDBGrid
Left = 0
Top = 63
Width = 437
Height = 326
Align = alCustom
DataSource = dtsEquip
TabOrder = 0
TitleFont.Charset = DEFAULT_CHARSET
TitleFont.Color = clWindowText
TitleFont.Height = -11
TitleFont.Name = 'Tahoma'
TitleFont.Style = []
Columns = <
item
Expanded = False
FieldName = 'DescricaoEquip'
Width = 122
Visible = True
end
item
Expanded = False
FieldName = 'TipoEquipamento_idTipoEquipamento'
Width = 139
Visible = True
end
item
Expanded = False
FieldName = 'QTDE'
Width = 51
Visible = True
end
item
Expanded = False
FieldName = 'Especificacao'
Visible = True
end
item
Expanded = False
FieldName = 'Sensor_SensorID'
Width = 64
Visible = True
end>
end
object Panel1: TPanel
Left = 443
Top = 0
Width = 314
Height = 397
Align = alRight
Caption = 'Panel1'
ShowCaption = False
TabOrder = 1
ExplicitLeft = 391
ExplicitHeight = 351
object Label1: TLabel
Left = 8
Top = 8
Width = 33
Height = 13
Caption = 'Codigo'
end
object Label2: TLabel
Left = 6
Top = 60
Width = 126
Height = 13
Caption = 'Descri'#231#227'o do equipamento'
end
object Label3: TLabel
Left = 6
Top = 101
Width = 56
Height = 13
Caption = 'Quantidade'
end
object Label4: TLabel
Left = 160
Top = 60
Width = 100
Height = 13
Caption = 'Tipo do equipamento'
end
object Label5: TLabel
Left = 160
Top = 101
Width = 26
Height = 13
Caption = 'Setor'
end
object Label6: TLabel
Left = 6
Top = 152
Width = 126
Height = 13
Caption = 'Descri'#231#227'o do equipamento'
end
object Navegação: TLabel
Left = 128
Top = 253
Width = 54
Height = 13
Caption = 'Navega'#231#227'o'
end
object edtEspec: TDBMemo
Left = 6
Top = 171
Width = 281
Height = 62
DataField = 'Especificacao'
DataSource = dtsEquip
TabOrder = 0
end
object EdtDesc: TDBEdit
Left = 6
Top = 74
Width = 137
Height = 21
DataField = 'DescricaoEquip'
DataSource = dtsEquip
TabOrder = 1
end
object edtQTDE: TDBEdit
Left = 6
Top = 117
Width = 139
Height = 21
DataField = 'QTDE'
DataSource = dtsEquip
TabOrder = 2
end
object EdtCodigo: TDBEdit
Left = 6
Top = 21
Width = 121
Height = 21
DataField = 'idEquipamentosSetor'
DataSource = dtsEquip
TabOrder = 3
end
object DBLCBTipoEquip: TDBLookupComboBox
Left = 157
Top = 74
Width = 145
Height = 21
DataField = 'TipoEquipamento_idTipoEquipamento'
DataSource = dtsEquip
KeyField = 'idTipoEquipamento'
ListField = 'idTipoEquipamento'
ListSource = dstTipoEquip
TabOrder = 4
end
object Panel2: TPanel
Left = 6
Top = 272
Width = 291
Height = 41
Caption = 'Panel2'
ShowCaption = False
TabOrder = 5
object DBNavigator1: TDBNavigator
Left = 25
Top = 8
Width = 224
Height = 25
DataSource = dtsEquip
VisibleButtons = [nbPrior, nbNext, nbInsert, nbDelete, nbEdit, nbPost, nbCancel]
TabOrder = 0
end
end
object DBLCBSetor: TDBLookupComboBox
Left = 160
Top = 120
Width = 145
Height = 21
Color = clBtnFace
DataField = 'Sensor_SensorID'
DataSource = dtsEquip
KeyField = 'SensorID'
ListField = 'SetorSensor'
ListSource = dtsSensor
TabOrder = 6
end
end
object Panel3: TPanel
Left = 0
Top = -1
Width = 437
Height = 58
Caption = 'Panel3'
ShowCaption = False
TabOrder = 2
object btnPesquisa: TBitBtn
Left = 0
Top = 13
Width = 33
Height = 25
Caption = '.'
TabOrder = 0
OnClick = btnPesquisaClick
end
object edtPesquisa: TEdit
Left = 39
Top = 14
Width = 121
Height = 21
TabOrder = 1
Text = 'Pesquisar'
end
object RBTipo: TRadioButton
Left = 176
Top = 1
Width = 113
Height = 17
Caption = 'Tipo'
TabOrder = 2
end
object RBSetor: TRadioButton
Left = 176
Top = 18
Width = 113
Height = 17
Caption = 'Setor'
TabOrder = 3
end
object RBDesc: TRadioButton
Left = 176
Top = 35
Width = 113
Height = 17
Caption = 'Descri'#231#227'o'
TabOrder = 4
end
end
object dtsSensor: TDataSource
DataSet = DT_connection.qrySensor2
Left = 352
Top = 96
end
object dtsEquip: TDataSource
DataSet = DT_connection.qryEquip
Left = 288
Top = 80
end
object dstTipoEquip: TDataSource
DataSet = DT_connection.qryTipoEquip
Left = 232
Top = 152
end
end