From 15580116d1ed581e953c52873ce508d56ae03976 Mon Sep 17 00:00:00 2001 From: tangchao0503 <735056338@qq.com> Date: Mon, 20 Jun 2022 10:48:38 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E6=94=B9=E4=B8=B2=E5=8F=A3?= =?UTF-8?q?=E8=99=9A=E7=B1=BB=E7=9A=84=E8=AF=BB=E6=95=B0=E6=8D=AE=E7=9A=84?= =?UTF-8?q?=E5=8E=9F=E5=9E=8B=EF=BC=9B=202=E3=80=81=E6=B7=BB=E5=8A=A0?= =?UTF-8?q?=E4=BD=BF=E7=94=A8startUML=E7=BB=98=E5=88=B6=E7=9A=84=E7=B1=BB?= =?UTF-8?q?=E5=9B=BE=EF=BC=9B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- serialportbase.h | 2 +- uml.mdj | 2482 ++++++++++++++++++++++++++++++++++++++++++++++ witmotiondll.cpp | 3 +- 3 files changed, 2485 insertions(+), 2 deletions(-) create mode 100644 uml.mdj diff --git a/serialportbase.h b/serialportbase.h index 63237ff..5ff722c 100644 --- a/serialportbase.h +++ b/serialportbase.h @@ -17,7 +17,7 @@ public: virtual int SetBaudrate(int baudrate) = 0; virtual int SendData1(const char *data, const unsigned int len) = 0; virtual int SendData(const char chrSendBuffer[],const unsigned short usLen) = 0; - virtual int ReadData() = 0; + virtual int ReadData(char * receivedData) = 0; protected: private: }; diff --git a/uml.mdj b/uml.mdj new file mode 100644 index 0000000..dd443d7 --- /dev/null +++ b/uml.mdj @@ -0,0 +1,2482 @@ +{ + "_type": "Project", + "_id": "AAAAAAFElm5XMFNoGY0=", + "name": "Untitled", + "ownedElements": [ + { + "_type": "UMLModel", + "_id": "AAAAAAFElm6BOFNpegQ=", + "_parent": { + "$ref": "AAAAAAFElm5XMFNoGY0=" + }, + "name": "Model", + "ownedElements": [ + { + "_type": "UMLClassDiagram", + "_id": "AAAAAAFElm65HFNt33E=", + "_parent": { + "$ref": "AAAAAAFElm6BOFNpegQ=" + }, + "name": "Main", + "defaultDiagram": true, + "ownedViews": [ + { + "_type": "UMLClassView", + "_id": "AAAAAAGBOGUcG8S4z98=", + "_parent": { + "$ref": "AAAAAAFElm65HFNt33E=" + }, + "model": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAGBOGUcG8S5PBg=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S4z98=" + }, + "model": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAGBOGUcG8S6vfA=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S5PBg=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -80, + "top": -192, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOGUcG8S74W4=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S5PBg=" + }, + "font": "Arial;13;1", + "left": 69, + "top": 31, + "width": 421.6240234375, + "height": 13, + "text": "WitmotionDll" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOGUcG8S85Gg=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S5PBg=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -80, + "top": -192, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOGUcG8S9l3E=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S5PBg=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -80, + "top": -192, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 64, + "top": 24, + "width": 431.6240234375, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAGBOGUcG8S6vfA=" + }, + "nameLabel": { + "$ref": "AAAAAAGBOGUcG8S74W4=" + }, + "namespaceLabel": { + "$ref": "AAAAAAGBOGUcG8S85Gg=" + }, + "propertyLabel": { + "$ref": "AAAAAAGBOGUcG8S9l3E=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAGBOGUcG8S+wQI=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S4z98=" + }, + "model": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "subViews": [ + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGBOHEyMMaDduo=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S+wQI=" + }, + "model": { + "$ref": "AAAAAAGBOHEyGsaAQ58=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 54, + "width": 421.6240234375, + "height": 13, + "text": "-SerialPortBase * m_SerialPort", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGBOHFqmcaKLr8=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S+wQI=" + }, + "model": { + "$ref": "AAAAAAGBOHFqhcaHCPE=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 69, + "width": 421.6240234375, + "height": 13, + "text": "-uint32_t TIME_TO_SLEEP = 500", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGBOHGSMsaRlcc=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S+wQI=" + }, + "model": { + "$ref": "AAAAAAGBOHGSEcaO8MA=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 84, + "width": 421.6240234375, + "height": 13, + "text": "-delay m_delayFunction", + "horizontalAlignment": 0 + }, + { + "_type": "UMLAttributeView", + "_id": "AAAAAAGBOHIvEsaZRcc=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S+wQI=" + }, + "model": { + "$ref": "AAAAAAGBOHIvAMaWv2w=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 99, + "width": 421.6240234375, + "height": 13, + "text": "-witPrintf m_witPrintf", + "horizontalAlignment": 0 + } + ], + "font": "Arial;13;0", + "left": 64, + "top": 49, + "width": 431.6240234375, + "height": 68 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAGBOGUcG8S/UIg=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S4z98=" + }, + "model": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGgGTsTjR4I=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGgGO8TgdQA=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 122, + "width": 421.6240234375, + "height": 13, + "text": "+WitmotionDll(SerialPortBase * serialPort)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGg/WcTp8s8=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGg/TMTm+6s=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 137, + "width": 421.6240234375, + "height": 13, + "text": "+int delayMsRegister(delay delayFunction)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGhHtMTvIrk=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGhHo8TsSCQ=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 152, + "width": 421.6240234375, + "height": 13, + "text": "+int printfRegister(witPrintf printfFunction)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGhK9sT1Vgw=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGhK5cTylDY=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 167, + "width": 421.6240234375, + "height": 13, + "text": "+void setDelayTimeMs(uint32_t millisecond)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGhPFcT7sQ8=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGhPBcT4EnQ=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 182, + "width": 421.6240234375, + "height": 13, + "text": "+int constructAndSendInstruction(int registerAddress, int registerContent)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGh06cUBvy4=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGh018T+XG0=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 197, + "width": 421.6240234375, + "height": 13, + "text": "+int unlockInstruction()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiDAsUHxCo=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiC88UEQTU=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 212, + "width": 421.6240234375, + "height": 13, + "text": "+int saveInstruction()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiGDMUNab8=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiF/cUKQgE=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 227, + "width": 421.6240234375, + "height": 13, + "text": "+void recordData()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiJR8UTX6Y=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiJPsUQYF4=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 242, + "width": 421.6240234375, + "height": 13, + "text": "+int algorithm(ALGROITHM_ENUM algorithm)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiLzsUZ3cA=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiLwMUWVjk=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 257, + "width": 421.6240234375, + "height": 13, + "text": "+int installationOrientation(ORIENT_ENUM orient)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiQAcUfRdk=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiP8cUcNkk=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 272, + "width": 421.6240234375, + "height": 13, + "text": "+int instructStart(POWONSEND_ENUM command)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiZm8Ulzmk=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiZksUioM4=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 287, + "width": 421.6240234375, + "height": 13, + "text": "+int exitCalibration()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGifFcUrd70=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGifBcUo6R4=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 302, + "width": 421.6240234375, + "height": 13, + "text": "+int magneticCalibration()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiiVsUxpBY=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiiR8Uuh7E=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 317, + "width": 421.6240234375, + "height": 13, + "text": "+int setHeightToZero()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGik7MU3YLU=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGik2cU0Eos=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 332, + "width": 421.6240234375, + "height": 13, + "text": "+int setZAxisAngleToZero()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGinU8U9qn4=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGinR8U6LRM=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 347, + "width": 421.6240234375, + "height": 13, + "text": "+int setAngleReference()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGip1sVD2zc=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGipzMVA+Rs=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 362, + "width": 421.6240234375, + "height": 13, + "text": "+int setTimeZone(TIMEZONE_ENUM timeZone)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGispsVJPqU=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGismcVGKPU=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 377, + "width": 421.6240234375, + "height": 13, + "text": "+int setContent(RETURN_CONTENT_STRUCT content)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGiu9MVPHJU=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGiu7cVMucM=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 392, + "width": 421.6240234375, + "height": 13, + "text": "+int clearContent(RETURN_CONTENT_STRUCT content)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGixesVVlTU=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGixb8VSzrM=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 407, + "width": 421.6240234375, + "height": 13, + "text": "+int SetBaudrate(BAUD_ENUM baudrate)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGi0KsVbG+U=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGi0G8VY+To=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 422, + "width": 421.6240234375, + "height": 13, + "text": "+int SetReturnRate(RRATE_ENUM returnRate)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGi2mcVh3jg=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGi2jcVebr4=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 437, + "width": 421.6240234375, + "height": 13, + "text": "+int SetReturnRate(RRATE_ENUM returnRate)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGi6KcVnSHs=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGi6HcVk7fE=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 452, + "width": 421.6240234375, + "height": 13, + "text": "+int setD0Model(MODEL_D0_D2_D3_ENUM model)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGjAPcVtvd4=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGjAMMVq/1w=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 467, + "width": 421.6240234375, + "height": 13, + "text": "+int setD1Model(MODEL_D1_ENUM model)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGjDusVzeeI=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGjDscVwGIo=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 482, + "width": 421.6240234375, + "height": 13, + "text": "+int setD2Model(MODEL_D0_D2_D3_ENUM model)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGjGv8V5PE0=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGjGs8V26t4=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 497, + "width": 421.6240234375, + "height": 13, + "text": "+int setD3Model(MODEL_D0_D2_D3_ENUM model)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGjJHsV/ojA=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGjJFMV81WU=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 512, + "width": 421.6240234375, + "height": 13, + "text": "+int setD0HighLevelPulseWidth(int PWMH)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOGjLWsWFfU4=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOGjLTsWCBG0=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 527, + "width": 421.6240234375, + "height": 13, + "text": "+int setD1HighLevelPulseWidth(int PWMH)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOG/AFMYXXGw=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOG/ABMYUdb8=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 542, + "width": 421.6240234375, + "height": 13, + "text": "+int setD2HighLevelPulseWidth(int PWMH)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOG/Ea8YdtLM=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOG/EX8YamhQ=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 557, + "width": 421.6240234375, + "height": 13, + "text": "+int setD3HighLevelPulseWidth(int PWMH)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOG/H/MYjwzA=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOG/H78Yg6ns=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 572, + "width": 421.6240234375, + "height": 13, + "text": "+int setD0Period(int period)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOG/LH8YpwQY=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOG/LEMYm3x4=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 587, + "width": 421.6240234375, + "height": 13, + "text": "+int setD1Period(int period)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOG/QJ8YvjTg=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOG/QGcYsilU=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 602, + "width": 421.6240234375, + "height": 13, + "text": "+int setD2Period(int period)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOG/dqcY19D8=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "model": { + "$ref": "AAAAAAGBOG/dnsYy8XE=" + }, + "font": "Arial;13;0", + "left": 69, + "top": 617, + "width": 421.6240234375, + "height": 13, + "text": "+int setD3Period(int period)", + "horizontalAlignment": 0 + } + ], + "font": "Arial;13;0", + "left": 64, + "top": 117, + "width": 431.6240234375, + "height": 518 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAGBOGUcG8TAk04=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S4z98=" + }, + "model": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -40, + "top": -96, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAGBOGUcG8TBrxw=", + "_parent": { + "$ref": "AAAAAAGBOGUcG8S4z98=" + }, + "model": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "visible": false, + "font": "Arial;13;0", + "left": -40, + "top": -96, + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 64, + "top": 24, + "width": 431.6240234375, + "height": 617, + "nameCompartment": { + "$ref": "AAAAAAGBOGUcG8S5PBg=" + }, + "attributeCompartment": { + "$ref": "AAAAAAGBOGUcG8S+wQI=" + }, + "operationCompartment": { + "$ref": "AAAAAAGBOGUcG8S/UIg=" + }, + "receptionCompartment": { + "$ref": "AAAAAAGBOGUcG8TAk04=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAGBOGUcG8TBrxw=" + } + }, + { + "_type": "UMLClassView", + "_id": "AAAAAAGBOHM//8aks+U=", + "_parent": { + "$ref": "AAAAAAFElm65HFNt33E=" + }, + "model": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAGBOHM//8al4xY=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aks+U=" + }, + "model": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAGBOHM//8amP4s=", + "_parent": { + "$ref": "AAAAAAGBOHM//8al4xY=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 656, + "top": -160, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOHM//8anm3c=", + "_parent": { + "$ref": "AAAAAAGBOHM//8al4xY=" + }, + "font": "Arial;13;1", + "left": 589, + "top": 55, + "width": 471, + "height": 13, + "text": "SerialPortBase" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOHM//8aofgQ=", + "_parent": { + "$ref": "AAAAAAGBOHM//8al4xY=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 656, + "top": -160, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOHNAAMap0u0=", + "_parent": { + "$ref": "AAAAAAGBOHM//8al4xY=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 656, + "top": -160, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 584, + "top": 48, + "width": 481, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAGBOHM//8amP4s=" + }, + "nameLabel": { + "$ref": "AAAAAAGBOHM//8anm3c=" + }, + "namespaceLabel": { + "$ref": "AAAAAAGBOHM//8aofgQ=" + }, + "propertyLabel": { + "$ref": "AAAAAAGBOHNAAMap0u0=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAGBOHNAAMaqGcM=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aks+U=" + }, + "model": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "font": "Arial;13;0", + "left": 584, + "top": 73, + "width": 481, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAGBOHNAAMaruJs=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aks+U=" + }, + "model": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "subViews": [ + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOHOFNsbPheY=", + "_parent": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "model": { + "$ref": "AAAAAAGBOHOFFsbMNhc=" + }, + "font": "Arial;13;0", + "left": 589, + "top": 88, + "width": 471, + "height": 13, + "text": "+virtual int OpenSerialPort(string portName, int baudrate)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOHOLHcbVGuk=", + "_parent": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "model": { + "$ref": "AAAAAAGBOHOLFMbS9Cc=" + }, + "font": "Arial;13;0", + "left": 589, + "top": 103, + "width": 471, + "height": 13, + "text": "+virtual int CloseSerialPort()", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOHOOdMbbr1I=", + "_parent": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "model": { + "$ref": "AAAAAAGBOHOOW8bYwyQ=" + }, + "font": "Arial;13;0", + "left": 589, + "top": 118, + "width": 471, + "height": 13, + "text": "+virtual int SetBaudrate(int baudrate)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOHORssbhcqc=", + "_parent": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "model": { + "$ref": "AAAAAAGBOHORnsbeUZg=" + }, + "font": "Arial;13;0", + "left": 589, + "top": 133, + "width": 471, + "height": 13, + "text": "+virtual int SendData1(const char *data, const unsigned int len)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOHOV5cbnVOk=", + "_parent": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "model": { + "$ref": "AAAAAAGBOHOV0sbkf5s=" + }, + "font": "Arial;13;0", + "left": 589, + "top": 148, + "width": 471, + "height": 13, + "text": "+virtual int SendData(const char chrSendBuffer[], const unsigned short usLen)", + "horizontalAlignment": 0 + }, + { + "_type": "UMLOperationView", + "_id": "AAAAAAGBOHOY1sbtG6k=", + "_parent": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "model": { + "$ref": "AAAAAAGBOHOYv8bqXtQ=" + }, + "font": "Arial;13;0", + "left": 589, + "top": 163, + "width": 471, + "height": 13, + "text": "+virtual int ReadData(char * receivedData)", + "horizontalAlignment": 0 + } + ], + "font": "Arial;13;0", + "left": 584, + "top": 83, + "width": 481, + "height": 98 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAGBOHNAAMas8ts=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aks+U=" + }, + "model": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 328, + "top": -80, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAGBOHNAAMatWGo=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aks+U=" + }, + "model": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 328, + "top": -80, + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 584, + "top": 48, + "width": 481, + "height": 169, + "nameCompartment": { + "$ref": "AAAAAAGBOHM//8al4xY=" + }, + "attributeCompartment": { + "$ref": "AAAAAAGBOHNAAMaqGcM=" + }, + "operationCompartment": { + "$ref": "AAAAAAGBOHNAAMaruJs=" + }, + "receptionCompartment": { + "$ref": "AAAAAAGBOHNAAMas8ts=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAGBOHNAAMatWGo=" + } + }, + { + "_type": "UMLClassView", + "_id": "AAAAAAGBOLJI48kGma8=", + "_parent": { + "$ref": "AAAAAAFElm65HFNt33E=" + }, + "model": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "subViews": [ + { + "_type": "UMLNameCompartmentView", + "_id": "AAAAAAGBOLJI48kHp04=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "model": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "subViews": [ + { + "_type": "LabelView", + "_id": "AAAAAAGBOLJI48kIvHY=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kHp04=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 272, + "top": 20, + "height": 13 + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOLJI48kJYmY=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kHp04=" + }, + "font": "Arial;13;1", + "left": 757, + "top": 415, + "width": 135, + "height": 13, + "text": "SerialPort" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOLJI48kKA2Q=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kHp04=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 272, + "top": 20, + "width": 73.67724609375, + "height": 13, + "text": "(from Model)" + }, + { + "_type": "LabelView", + "_id": "AAAAAAGBOLJI48kLgPw=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kHp04=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 272, + "top": 20, + "height": 13, + "horizontalAlignment": 1 + } + ], + "font": "Arial;13;0", + "left": 752, + "top": 408, + "width": 145, + "height": 25, + "stereotypeLabel": { + "$ref": "AAAAAAGBOLJI48kIvHY=" + }, + "nameLabel": { + "$ref": "AAAAAAGBOLJI48kJYmY=" + }, + "namespaceLabel": { + "$ref": "AAAAAAGBOLJI48kKA2Q=" + }, + "propertyLabel": { + "$ref": "AAAAAAGBOLJI48kLgPw=" + } + }, + { + "_type": "UMLAttributeCompartmentView", + "_id": "AAAAAAGBOLJI48kMfrI=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "model": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "font": "Arial;13;0", + "left": 752, + "top": 433, + "width": 145, + "height": 10 + }, + { + "_type": "UMLOperationCompartmentView", + "_id": "AAAAAAGBOLJI48kN8DM=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "model": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "font": "Arial;13;0", + "left": 752, + "top": 443, + "width": 145, + "height": 10 + }, + { + "_type": "UMLReceptionCompartmentView", + "_id": "AAAAAAGBOLJI48kO/X4=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "model": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 136, + "top": 10, + "width": 10, + "height": 10 + }, + { + "_type": "UMLTemplateParameterCompartmentView", + "_id": "AAAAAAGBOLJI48kP8bw=", + "_parent": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "model": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 136, + "top": 10, + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "containerChangeable": true, + "left": 752, + "top": 408, + "width": 145, + "height": 99, + "nameCompartment": { + "$ref": "AAAAAAGBOLJI48kHp04=" + }, + "attributeCompartment": { + "$ref": "AAAAAAGBOLJI48kMfrI=" + }, + "operationCompartment": { + "$ref": "AAAAAAGBOLJI48kN8DM=" + }, + "receptionCompartment": { + "$ref": "AAAAAAGBOLJI48kO/X4=" + }, + "templateParameterCompartment": { + "$ref": "AAAAAAGBOLJI48kP8bw=" + } + }, + { + "_type": "UMLGeneralizationView", + "_id": "AAAAAAGBOLJJe8kvtMA=", + "_parent": { + "$ref": "AAAAAAFElm65HFNt33E=" + }, + "model": { + "$ref": "AAAAAAGBOLJJeMkt44U=" + }, + "subViews": [ + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOLJJe8kwksE=", + "_parent": { + "$ref": "AAAAAAGBOLJJe8kvtMA=" + }, + "model": { + "$ref": "AAAAAAGBOLJJeMkt44U=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 809, + "top": 305, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAGBOLJJe8kvtMA=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOLJJf8kxAB0=", + "_parent": { + "$ref": "AAAAAAGBOLJJe8kvtMA=" + }, + "model": { + "$ref": "AAAAAAGBOLJJeMkt44U=" + }, + "visible": null, + "font": "Arial;13;0", + "left": 794, + "top": 305, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 30, + "hostEdge": { + "$ref": "AAAAAAGBOLJJe8kvtMA=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOLJJf8kyJRQ=", + "_parent": { + "$ref": "AAAAAAGBOLJJe8kvtMA=" + }, + "model": { + "$ref": "AAAAAAGBOLJJeMkt44U=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 839, + "top": 306, + "height": 13, + "alpha": -1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAGBOLJJe8kvtMA=" + }, + "edgePosition": 1 + } + ], + "font": "Arial;13;0", + "head": { + "$ref": "AAAAAAGBOHM//8aks+U=" + }, + "tail": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "lineStyle": 1, + "points": "824:407;824:217", + "showVisibility": true, + "nameLabel": { + "$ref": "AAAAAAGBOLJJe8kwksE=" + }, + "stereotypeLabel": { + "$ref": "AAAAAAGBOLJJf8kxAB0=" + }, + "propertyLabel": { + "$ref": "AAAAAAGBOLJJf8kyJRQ=" + } + }, + { + "_type": "UMLAssociationView", + "_id": "AAAAAAGBOMt3ytscWaI=", + "_parent": { + "$ref": "AAAAAAFElm65HFNt33E=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsYHw4=" + }, + "subViews": [ + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsdY+s=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsYHw4=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 626, + "top": 390, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsel3g=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsYHw4=" + }, + "visible": null, + "font": "Arial;13;0", + "left": 629, + "top": 375, + "height": 13, + "alpha": 1.5707963267948966, + "distance": 30, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsfvf4=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsYHw4=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 619, + "top": 419, + "height": 13, + "alpha": -1.5707963267948966, + "distance": 15, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "edgePosition": 1 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsgbF8=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsZXTI=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 524, + "top": 367, + "height": 13, + "alpha": 0.5235987755982988, + "distance": 30, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "edgePosition": 2 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytshykU=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsZXTI=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 529, + "top": 354, + "height": 13, + "alpha": 0.7853981633974483, + "distance": 40, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "edgePosition": 2 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsindU=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsZXTI=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 514, + "top": 392, + "height": 13, + "alpha": -0.5235987755982988, + "distance": 25, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "edgePosition": 2 + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsjS4M=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsaD/g=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 728, + "top": 413, + "height": 13, + "alpha": -0.5235987755982988, + "distance": 30, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + } + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytskklY=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsaD/g=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 729, + "top": 400, + "height": 13, + "alpha": -0.7853981633974483, + "distance": 40, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + } + }, + { + "_type": "EdgeLabelView", + "_id": "AAAAAAGBOMt3ytsln88=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsaD/g=" + }, + "visible": false, + "font": "Arial;13;0", + "left": 727, + "top": 441, + "height": 13, + "alpha": 0.5235987755982988, + "distance": 25, + "hostEdge": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + } + }, + { + "_type": "UMLQualifierCompartmentView", + "_id": "AAAAAAGBOMt3ytsmfaA=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsZXTI=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 10, + "height": 10 + }, + { + "_type": "UMLQualifierCompartmentView", + "_id": "AAAAAAGBOMt3ytsnZ80=", + "_parent": { + "$ref": "AAAAAAGBOMt3ytscWaI=" + }, + "model": { + "$ref": "AAAAAAGBOMt3ydsaD/g=" + }, + "visible": false, + "font": "Arial;13;0", + "width": 10, + "height": 10 + } + ], + "font": "Arial;13;0", + "head": { + "$ref": "AAAAAAGBOLJI48kGma8=" + }, + "tail": { + "$ref": "AAAAAAGBOGUcG8S4z98=" + }, + "lineStyle": 1, + "points": "496:382;751:440", + "showVisibility": true, + "nameLabel": { + "$ref": "AAAAAAGBOMt3ytsdY+s=" + }, + "stereotypeLabel": { + "$ref": "AAAAAAGBOMt3ytsel3g=" + }, + "propertyLabel": { + "$ref": "AAAAAAGBOMt3ytsfvf4=" + }, + "showEndOrder": "hide", + "tailRoleNameLabel": { + "$ref": "AAAAAAGBOMt3ytsgbF8=" + }, + "tailPropertyLabel": { + "$ref": "AAAAAAGBOMt3ytshykU=" + }, + "tailMultiplicityLabel": { + "$ref": "AAAAAAGBOMt3ytsindU=" + }, + "headRoleNameLabel": { + "$ref": "AAAAAAGBOMt3ytsjS4M=" + }, + "headPropertyLabel": { + "$ref": "AAAAAAGBOMt3ytskklY=" + }, + "headMultiplicityLabel": { + "$ref": "AAAAAAGBOMt3ytsln88=" + }, + "tailQualifiersCompartment": { + "$ref": "AAAAAAGBOMt3ytsmfaA=" + }, + "headQualifiersCompartment": { + "$ref": "AAAAAAGBOMt3ytsnZ80=" + } + } + ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAGBOGUcGsS2d0E=", + "_parent": { + "$ref": "AAAAAAFElm6BOFNpegQ=" + }, + "name": "WitmotionDll", + "ownedElements": [ + { + "_type": "UMLAssociation", + "_id": "AAAAAAGBOMt3ydsYHw4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "end1": { + "_type": "UMLAssociationEnd", + "_id": "AAAAAAGBOMt3ydsZXTI=", + "_parent": { + "$ref": "AAAAAAGBOMt3ydsYHw4=" + }, + "reference": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + } + }, + "end2": { + "_type": "UMLAssociationEnd", + "_id": "AAAAAAGBOMt3ydsaD/g=", + "_parent": { + "$ref": "AAAAAAGBOMt3ydsYHw4=" + }, + "reference": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + } + } + } + ], + "attributes": [ + { + "_type": "UMLAttribute", + "_id": "AAAAAAGBOHEyGsaAQ58=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "SerialPortBase * m_SerialPort", + "visibility": "private" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGBOHFqhcaHCPE=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "uint32_t TIME_TO_SLEEP", + "visibility": "private", + "defaultValue": "500" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGBOHGSEcaO8MA=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "delay m_delayFunction", + "visibility": "private" + }, + { + "_type": "UMLAttribute", + "_id": "AAAAAAGBOHIvAMaWv2w=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "witPrintf m_witPrintf", + "visibility": "private" + } + ], + "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGgGO8TgdQA=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "WitmotionDll", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOGj/WMWJ/kc=", + "_parent": { + "$ref": "AAAAAAGBOGgGO8TgdQA=" + }, + "name": "SerialPortBase * serialPort", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGg/TMTm+6s=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int delayMsRegister", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOGlw1MWN0Y8=", + "_parent": { + "$ref": "AAAAAAGBOGg/TMTm+6s=" + }, + "name": "delay delayFunction", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGhHo8TsSCQ=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int printfRegister", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG0QU8Xa8tE=", + "_parent": { + "$ref": "AAAAAAGBOGhHo8TsSCQ=" + }, + "name": "witPrintf printfFunction", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGhK5cTylDY=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "void setDelayTimeMs", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG0tQcXdWIM=", + "_parent": { + "$ref": "AAAAAAGBOGhK5cTylDY=" + }, + "name": "uint32_t millisecond", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGhPBcT4EnQ=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int constructAndSendInstruction", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG1BV8XgvzE=", + "_parent": { + "$ref": "AAAAAAGBOGhPBcT4EnQ=" + }, + "name": "int registerAddress", + "type": "" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG1BV8Xh5j0=", + "_parent": { + "$ref": "AAAAAAGBOGhPBcT4EnQ=" + }, + "name": "int registerContent", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGh018T+XG0=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int unlockInstruction" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiC88UEQTU=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int saveInstruction" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiF/cUKQgE=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "void recordData" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiJPsUQYF4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int algorithm", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG4BbsXs9xw=", + "_parent": { + "$ref": "AAAAAAGBOGiJPsUQYF4=" + }, + "name": "ALGROITHM_ENUM algorithm", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiLwMUWVjk=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int installationOrientation", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG3Ud8Xppn4=", + "_parent": { + "$ref": "AAAAAAGBOGiLwMUWVjk=" + }, + "name": "ORIENT_ENUM orient", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiP8cUcNkk=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int instructStart", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG4wTcXv9M0=", + "_parent": { + "$ref": "AAAAAAGBOGiP8cUcNkk=" + }, + "name": "POWONSEND_ENUM command", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiZksUioM4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int exitCalibration" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGifBcUo6R4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int magneticCalibration" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiiR8Uuh7E=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setHeightToZero" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGik2cU0Eos=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setZAxisAngleToZero" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGinR8U6LRM=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setAngleReference" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGipzMVA+Rs=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setTimeZone", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG6wy8X3IHk=", + "_parent": { + "$ref": "AAAAAAGBOGipzMVA+Rs=" + }, + "name": "TIMEZONE_ENUM timeZone", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGismcVGKPU=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setContent", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG7F9sX66lM=", + "_parent": { + "$ref": "AAAAAAGBOGismcVGKPU=" + }, + "name": "RETURN_CONTENT_STRUCT content", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGiu7cVMucM=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int clearContent", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG7aQsX9lGg=", + "_parent": { + "$ref": "AAAAAAGBOGiu7cVMucM=" + }, + "name": "RETURN_CONTENT_STRUCT content", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGixb8VSzrM=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int SetBaudrate", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG7tJ8YAWmQ=", + "_parent": { + "$ref": "AAAAAAGBOGixb8VSzrM=" + }, + "name": "BAUD_ENUM baudrate", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGi0G8VY+To=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int SetReturnRate", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG8FZ8YDOlI=", + "_parent": { + "$ref": "AAAAAAGBOGi0G8VY+To=" + }, + "name": "RRATE_ENUM returnRate", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGi2jcVebr4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int SetReturnRate", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG8bRsYG5KY=", + "_parent": { + "$ref": "AAAAAAGBOGi2jcVebr4=" + }, + "name": "RRATE_ENUM returnRate", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGi6HcVk7fE=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD0Model", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG84QcYJfJw=", + "_parent": { + "$ref": "AAAAAAGBOGi6HcVk7fE=" + }, + "name": "MODEL_D0_D2_D3_ENUM model", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGjAMMVq/1w=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD1Model", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG9UBMYMYpU=", + "_parent": { + "$ref": "AAAAAAGBOGjAMMVq/1w=" + }, + "name": "MODEL_D1_ENUM model", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGjDscVwGIo=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD2Model", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG9ye8YP7dQ=", + "_parent": { + "$ref": "AAAAAAGBOGjDscVwGIo=" + }, + "name": "MODEL_D0_D2_D3_ENUM model", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGjGs8V26t4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD3Model", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOG+vg8YSmP8=", + "_parent": { + "$ref": "AAAAAAGBOGjGs8V26t4=" + }, + "name": "MODEL_D0_D2_D3_ENUM model", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGjJFMV81WU=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD0HighLevelPulseWidth", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHAfE8ZpyKM=", + "_parent": { + "$ref": "AAAAAAGBOGjJFMV81WU=" + }, + "name": "int PWMH", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOGjLTsWCBG0=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD1HighLevelPulseWidth", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHAxJMZsL1c=", + "_parent": { + "$ref": "AAAAAAGBOGjLTsWCBG0=" + }, + "name": "int PWMH", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOG/ABMYUdb8=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD2HighLevelPulseWidth", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHBCNcZvXBI=", + "_parent": { + "$ref": "AAAAAAGBOG/ABMYUdb8=" + }, + "name": "int PWMH", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOG/EX8YamhQ=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD3HighLevelPulseWidth", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHBgMMZy4qo=", + "_parent": { + "$ref": "AAAAAAGBOG/EX8YamhQ=" + }, + "name": "int PWMH", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOG/H78Yg6ns=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD0Period", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHBwhsZ1Wmg=", + "_parent": { + "$ref": "AAAAAAGBOG/H78Yg6ns=" + }, + "name": "int period", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOG/LEMYm3x4=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD1Period", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHCDhcZ4En0=", + "_parent": { + "$ref": "AAAAAAGBOG/LEMYm3x4=" + }, + "name": "int period", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOG/QGcYsilU=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD2Period", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHCVecZ7VCI=", + "_parent": { + "$ref": "AAAAAAGBOG/QGcYsilU=" + }, + "name": "int period", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOG/dnsYy8XE=", + "_parent": { + "$ref": "AAAAAAGBOGUcGsS2d0E=" + }, + "name": "int setD3Period", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOHDEIsZ+Z+s=", + "_parent": { + "$ref": "AAAAAAGBOG/dnsYy8XE=" + }, + "name": "int period", + "type": "" + } + ] + } + ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAGBOHM//8aix9M=", + "_parent": { + "$ref": "AAAAAAFElm6BOFNpegQ=" + }, + "name": "SerialPortBase", + "operations": [ + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOHOFFsbMNhc=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "name": "virtual int OpenSerialPort", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOINVkcb6syA=", + "_parent": { + "$ref": "AAAAAAGBOHOFFsbMNhc=" + }, + "name": "string portName", + "type": "" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOINVkcb750o=", + "_parent": { + "$ref": "AAAAAAGBOHOFFsbMNhc=" + }, + "name": "int baudrate", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOHOLFMbS9Cc=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "name": "virtual int CloseSerialPort" + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOHOOW8bYwyQ=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "name": "virtual int SetBaudrate", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOIOmr8cADdE=", + "_parent": { + "$ref": "AAAAAAGBOHOOW8bYwyQ=" + }, + "name": "int baudrate", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOHORnsbeUZg=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "name": "virtual int SendData1", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOIPFLMcD1m4=", + "_parent": { + "$ref": "AAAAAAGBOHORnsbeUZg=" + }, + "name": "const char *data", + "type": "" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOIPFLMcEBG4=", + "_parent": { + "$ref": "AAAAAAGBOHORnsbeUZg=" + }, + "name": "const unsigned int len", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOHOV0sbkf5s=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "name": "virtual int SendData", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOIP4v8cIXjc=", + "_parent": { + "$ref": "AAAAAAGBOHOV0sbkf5s=" + }, + "name": "const char chrSendBuffer[]", + "type": "" + }, + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOIP4v8cJ1bU=", + "_parent": { + "$ref": "AAAAAAGBOHOV0sbkf5s=" + }, + "name": "const unsigned short usLen", + "type": "" + } + ] + }, + { + "_type": "UMLOperation", + "_id": "AAAAAAGBOHOYv8bqXtQ=", + "_parent": { + "$ref": "AAAAAAGBOHM//8aix9M=" + }, + "name": "virtual int ReadData", + "parameters": [ + { + "_type": "UMLParameter", + "_id": "AAAAAAGBOIp51ccNJQg=", + "_parent": { + "$ref": "AAAAAAGBOHOYv8bqXtQ=" + }, + "name": "char * receivedData", + "type": "" + } + ] + } + ] + }, + { + "_type": "UMLClass", + "_id": "AAAAAAGBOLJI4skEwtk=", + "_parent": { + "$ref": "AAAAAAFElm6BOFNpegQ=" + }, + "name": "SerialPort", + "ownedElements": [ + { + "_type": "UMLGeneralization", + "_id": "AAAAAAGBOLJJeMkt44U=", + "_parent": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "source": { + "$ref": "AAAAAAGBOLJI4skEwtk=" + }, + "target": { + "$ref": "AAAAAAGBOHM//8aix9M=" + } + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/witmotiondll.cpp b/witmotiondll.cpp index ba9c20c..0a8bb7d 100644 --- a/witmotiondll.cpp +++ b/witmotiondll.cpp @@ -168,7 +168,8 @@ int WitmotionDll::setAngleReference() void WitmotionDll::recordData() { - m_SerialPort->ReadData(); + char * receivedData; + m_SerialPort->ReadData(receivedData); } int WitmotionDll::setTimeZone(TIMEZONE_ENUM timeZone)