34 return _softVer->GetVersion();
37 _softVer->SetVersion(x);
40 property int Revision {
42 return _softVer->GetRevision();
45 _softVer->SetRevision(x);
48 property int Prototype {
50 return _softVer->GetPrototype();
53 _softVer->SetPrototype(x);
57 property unsigned long CanNumber {
59 return _softVer->GetCanNumber();
61 void set(
unsigned long x) {
62 _softVer->SetCanNumber(x);
65 property unsigned int HardwareVersion {
67 return _softVer->GetHardwareVersion();
69 void set(
unsigned int x) {
70 _softVer->SetHardwareVersion(x);
74 property long PartNumber {
76 return _softVer->GetPartNumber();
79 _softVer->SetPartNumber(x);
85 unsigned int productType = _softVer->GetProductIdentification();
87 switch (productType) {
89 return ProductIdentification::Unknown;
91 return ProductIdentification::RawData;
93 return ProductIdentification::AntiCollision;
95 return ProductIdentification::Navigation;
97 return ProductIdentification::Rod120;
99 return ProductIdentification::Rod130;
101 return ProductIdentification::Rod300;
103 return ProductIdentification::Rod500;
107 _softVer->SetProductIdentification(x.GetHashCode());
112 if (System::Object::ReferenceEquals(pComp1, pComp2))
115 if (System::Object::ReferenceEquals(pComp1,
nullptr) ||
116 System::Object::ReferenceEquals(pComp2,
nullptr)) {
119 return pComp1->Version == pComp2->Version &&
120 pComp1->Revision == pComp2->Revision &&
121 pComp1->Prototype == pComp2->Prototype &&
122 pComp1->HardwareVersion == pComp2->HardwareVersion &&
123 pComp1->CanNumber == pComp2->CanNumber &&
124 pComp1->PartNumber == pComp2->PartNumber &&
125 pComp1->ProductTypeIdentification == pComp2->ProductTypeIdentification;
129 return !(pComp1 == pComp2);