Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed 9.STC_MCU&ADC.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions calculate.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

#把x替换成具体的AT值
temp=$(echo $2 | sed 's/[xX]/'$1'/g')

#echo $2
#echo $1
#echo $temp

#计算
res=$(echo | awk "{printf $temp}")
#res=$( echo |
# awk '{ "echo $2 | tr '[:alpha:]' '$1' " | getline cmdout; print cmdout}'
# )

echo $res
1 change: 0 additions & 1 deletion ceshi.txt

This file was deleted.

Binary file added xyzmy-liscom2-shuaka-yiqisuanfa4.1.zip
Binary file not shown.
1,310 changes: 1,310 additions & 0 deletions xyzmy/result/Makefile

Large diffs are not rendered by default.

Binary file added xyzmy/result/backupanddelete.o
Binary file not shown.
Binary file added xyzmy/result/calibrate_six.o
Binary file not shown.
Binary file added xyzmy/result/checkoption.o
Binary file not shown.
Binary file added xyzmy/result/checkshow.o
Binary file not shown.
Binary file added xyzmy/result/chinesebar.o
Binary file not shown.
Binary file added xyzmy/result/commserial.o
Binary file not shown.
Binary file added xyzmy/result/connector.o
Binary file not shown.
Binary file added xyzmy/result/countdown.o
Binary file not shown.
Binary file added xyzmy/result/dialog.o
Binary file not shown.
Binary file added xyzmy/result/findpeakcore.o
Binary file not shown.
Binary file added xyzmy/result/findpeakcore_initialize.o
Binary file not shown.
Binary file added xyzmy/result/findpeakcore_terminate.o
Binary file not shown.
Binary file added xyzmy/result/fpeak.o
Binary file not shown.
Binary file added xyzmy/result/genotype.o
Binary file not shown.
Binary file added xyzmy/result/gradient.o
Binary file not shown.
Binary file added xyzmy/result/login.o
Binary file not shown.
Binary file added xyzmy/result/m3352.o
Binary file not shown.
Binary file added xyzmy/result/main.o
Binary file not shown.
94 changes: 94 additions & 0 deletions xyzmy/result/moc_backupanddelete.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,94 @@
/****************************************************************************
** Meta object code from reading C++ file 'backupanddelete.h'
**
** Created: Wed Jan 6 19:13:31 2016
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../working/backupanddelete.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'backupanddelete.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.7.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_BackUpandDelete[] = {

// content:
5, // revision
0, // classname
0, 0, // classinfo
7, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
0, // signalCount

// slots: signature, parameters, type, tag, flags
22, 16, 17, 16, 0x08,
40, 16, 16, 16, 0x08,
53, 16, 16, 16, 0x08,
66, 16, 16, 16, 0x08,
75, 16, 16, 16, 0x08,
88, 16, 16, 16, 0x08,
103, 16, 16, 16, 0x08,

0 // eod
};

static const char qt_meta_stringdata_BackUpandDelete[] = {
"BackUpandDelete\0\0bool\0BackUPandDelete()\0"
"DeleteData()\0BackUpData()\0LogOut()\0"
"unlinkdata()\0ReallyBackup()\0home()\0"
};

const QMetaObject BackUpandDelete::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_BackUpandDelete,
qt_meta_data_BackUpandDelete, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &BackUpandDelete::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *BackUpandDelete::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *BackUpandDelete::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_BackUpandDelete))
return static_cast<void*>(const_cast< BackUpandDelete*>(this));
return QDialog::qt_metacast(_clname);
}

int BackUpandDelete::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: { bool _r = BackUPandDelete();
if (_a[0]) *reinterpret_cast< bool*>(_a[0]) = _r; } break;
case 1: DeleteData(); break;
case 2: BackUpData(); break;
case 3: LogOut(); break;
case 4: unlinkdata(); break;
case 5: ReallyBackup(); break;
case 6: home(); break;
default: ;
}
_id -= 7;
}
return _id;
}
QT_END_MOC_NAMESPACE
Binary file added xyzmy/result/moc_backupanddelete.o
Binary file not shown.
99 changes: 99 additions & 0 deletions xyzmy/result/moc_calibrate_six.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
/****************************************************************************
** Meta object code from reading C++ file 'calibrate_six.h'
**
** Created: Wed Jan 6 19:13:29 2016
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../working/calibrate_six.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'calibrate_six.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.7.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_Calibrate_Six[] = {

// content:
5, // revision
0, // classname
0, 0, // classinfo
6, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
1, // signalCount

// signals: signature, parameters, type, tag, flags
15, 14, 14, 14, 0x05,

// slots: signature, parameters, type, tag, flags
35, 14, 14, 14, 0x08,
57, 14, 14, 14, 0x08,
79, 14, 14, 14, 0x08,
90, 14, 14, 14, 0x08,
104, 14, 14, 14, 0x08,

0 // eod
};

static const char qt_meta_stringdata_Calibrate_Six[] = {
"Calibrate_Six\0\0calibrateFinished()\0"
"saveCalibrateResult()\0showfinished(QString)\0"
"quitshow()\0disabledOut()\0weatherSavefile()\0"
};

const QMetaObject Calibrate_Six::staticMetaObject = {
{ &CheckShow::staticMetaObject, qt_meta_stringdata_Calibrate_Six,
qt_meta_data_Calibrate_Six, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &Calibrate_Six::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *Calibrate_Six::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *Calibrate_Six::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_Calibrate_Six))
return static_cast<void*>(const_cast< Calibrate_Six*>(this));
return CheckShow::qt_metacast(_clname);
}

int Calibrate_Six::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = CheckShow::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: calibrateFinished(); break;
case 1: saveCalibrateResult(); break;
case 2: showfinished((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 3: quitshow(); break;
case 4: disabledOut(); break;
case 5: weatherSavefile(); break;
default: ;
}
_id -= 6;
}
return _id;
}

// SIGNAL 0
void Calibrate_Six::calibrateFinished()
{
QMetaObject::activate(this, &staticMetaObject, 0, 0);
}
QT_END_MOC_NAMESPACE
Binary file added xyzmy/result/moc_calibrate_six.o
Binary file not shown.
154 changes: 154 additions & 0 deletions xyzmy/result/moc_checkoption.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,154 @@
/****************************************************************************
** Meta object code from reading C++ file 'checkoption.h'
**
** Created: Wed Jan 6 19:13:24 2016
** by: The Qt Meta Object Compiler version 62 (Qt 4.7.3)
**
** WARNING! All changes made in this file will be lost!
*****************************************************************************/

#include "../working/checkoption.h"
#if !defined(Q_MOC_OUTPUT_REVISION)
#error "The header file 'checkoption.h' doesn't include <QObject>."
#elif Q_MOC_OUTPUT_REVISION != 62
#error "This file was generated using the moc from 4.7.3. It"
#error "cannot be used with the include files from this version of Qt."
#error "(The moc has changed too much.)"
#endif

QT_BEGIN_MOC_NAMESPACE
static const uint qt_meta_data_CheckOption[] = {

// content:
5, // revision
0, // classname
0, 0, // classinfo
17, 14, // methods
0, 0, // properties
0, 0, // enums/sets
0, 0, // constructors
0, // flags
5, // signalCount

// signals: signature, parameters, type, tag, flags
13, 12, 12, 12, 0x05,
30, 12, 12, 12, 0x05,
51, 12, 12, 12, 0x05,
61, 12, 12, 12, 0x05,
73, 12, 12, 12, 0x05,

// slots: signature, parameters, type, tag, flags
88, 12, 12, 12, 0x08,
114, 12, 12, 12, 0x08,
130, 12, 12, 12, 0x08,
148, 12, 12, 12, 0x08,
165, 12, 161, 12, 0x08,
170, 12, 12, 12, 0x08,
185, 12, 12, 12, 0x0a,
192, 12, 12, 12, 0x0a,
214, 12, 12, 12, 0x0a,
227, 12, 12, 12, 0x0a,
239, 12, 12, 12, 0x0a,
258, 12, 12, 12, 0x0a,

0 // eod
};

static const char qt_meta_stringdata_CheckOption[] = {
"CheckOption\0\0Pressed_ok(bool)\0"
"Pressed_cancel(bool)\0active2()\0"
"linear_in()\0shouldupdate()\0"
"deleteandBackupfunction()\0SwitchToinput()\0"
"removeDirectory()\0BackUpData()\0int\0"
"OK()\0CancelOption()\0home()\0"
"acitveButton(QString)\0ResultSave()\0"
"printInfo()\0OptionResultShow()\0"
"initiatemove()\0"
};

const QMetaObject CheckOption::staticMetaObject = {
{ &QDialog::staticMetaObject, qt_meta_stringdata_CheckOption,
qt_meta_data_CheckOption, 0 }
};

#ifdef Q_NO_DATA_RELOCATION
const QMetaObject &CheckOption::getStaticMetaObject() { return staticMetaObject; }
#endif //Q_NO_DATA_RELOCATION

const QMetaObject *CheckOption::metaObject() const
{
return QObject::d_ptr->metaObject ? QObject::d_ptr->metaObject : &staticMetaObject;
}

void *CheckOption::qt_metacast(const char *_clname)
{
if (!_clname) return 0;
if (!strcmp(_clname, qt_meta_stringdata_CheckOption))
return static_cast<void*>(const_cast< CheckOption*>(this));
return QDialog::qt_metacast(_clname);
}

int CheckOption::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
_id = QDialog::qt_metacall(_c, _id, _a);
if (_id < 0)
return _id;
if (_c == QMetaObject::InvokeMetaMethod) {
switch (_id) {
case 0: Pressed_ok((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 1: Pressed_cancel((*reinterpret_cast< bool(*)>(_a[1]))); break;
case 2: active2(); break;
case 3: linear_in(); break;
case 4: shouldupdate(); break;
case 5: deleteandBackupfunction(); break;
case 6: SwitchToinput(); break;
case 7: removeDirectory(); break;
case 8: BackUpData(); break;
case 9: { int _r = OK();
if (_a[0]) *reinterpret_cast< int*>(_a[0]) = _r; } break;
case 10: CancelOption(); break;
case 11: home(); break;
case 12: acitveButton((*reinterpret_cast< QString(*)>(_a[1]))); break;
case 13: ResultSave(); break;
case 14: printInfo(); break;
case 15: OptionResultShow(); break;
case 16: initiatemove(); break;
default: ;
}
_id -= 17;
}
return _id;
}

// SIGNAL 0
void CheckOption::Pressed_ok(bool _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 0, _a);
}

// SIGNAL 1
void CheckOption::Pressed_cancel(bool _t1)
{
void *_a[] = { 0, const_cast<void*>(reinterpret_cast<const void*>(&_t1)) };
QMetaObject::activate(this, &staticMetaObject, 1, _a);
}

// SIGNAL 2
void CheckOption::active2()
{
QMetaObject::activate(this, &staticMetaObject, 2, 0);
}

// SIGNAL 3
void CheckOption::linear_in()
{
QMetaObject::activate(this, &staticMetaObject, 3, 0);
}

// SIGNAL 4
void CheckOption::shouldupdate()
{
QMetaObject::activate(this, &staticMetaObject, 4, 0);
}
QT_END_MOC_NAMESPACE
Binary file added xyzmy/result/moc_checkoption.o
Binary file not shown.
Loading