-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHCustomer.pas
87 lines (74 loc) · 2.25 KB
/
HCustomer.pas
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
{*******************************************************}
{ }
{ HimsSoft }
{ }
{ °æȨËùÓÐ (C) 2019 [email protected] }
{ }
{*******************************************************}
unit HCustomer;
interface
uses HDeviceDefine;
type
TCustomer = class
private
FMCustName: string;
FMMechineId: string;
FMLinkType: DLinkType;
FMCustId: string;
FMBedId: string;
FMPort: string;
FMAddress: string;
FMBrand: string;
procedure SetMBedId(const Value: string);
procedure SetMCustId(const Value: string);
procedure SetMCustName(const Value: string);
procedure SetMLinkType(const Value: DLinkType);
procedure SetMMechineId(const Value: string);
procedure SetMAddress(const Value: string);
procedure SetMPort(const Value: string);
procedure SetMBrand(const Value: string);
public
property MCustId :string read FMCustId write SetMCustId;
property MCustName :string read FMCustName write SetMCustName;
property MBedId :string read FMBedId write SetMBedId;
property MMechineId :string read FMMechineId write SetMMechineId;
property MLinkType:DLinkType read FMLinkType write SetMLinkType;
property MAddress:string read FMAddress write SetMAddress;
property MPort :string read FMPort write SetMPort;
property MBrand :string read FMBrand write SetMBrand;
end;
implementation
{ TCustomer }
procedure TCustomer.SetMAddress(const Value: string);
begin
FMAddress := Value;
end;
procedure TCustomer.SetMBedId(const Value: string);
begin
FMBedId := Value;
end;
procedure TCustomer.SetMBrand(const Value: string);
begin
FMBrand := Value;
end;
procedure TCustomer.SetMCustId(const Value: string);
begin
FMCustId := Value;
end;
procedure TCustomer.SetMCustName(const Value: string);
begin
FMCustName := Value;
end;
procedure TCustomer.SetMLinkType(const Value: DLinkType);
begin
FMLinkType := Value;
end;
procedure TCustomer.SetMMechineId(const Value: string);
begin
FMMechineId := Value;
end;
procedure TCustomer.SetMPort(const Value: string);
begin
FMPort := Value;
end;
end.