#include "Frm11.h"

Frm11::Frm11(HmiApp* app, STTWidget *par, const string& id, const string& desc) : STTPage(app->getRuntime(), par, id, desc) {
	hmiApp = app;
}

Frm11::~Frm11() {
}

void Frm11::onInit() {

}

void Frm11::createParts() {
	setMainArg(0, 0, 800, 420);
	setMainStyle(0, 0xa0, 0xffff, 2, 255, 0, 0xc0c0c0);

	/*----------------------------- Label : wMLabel27                    -----------------------------*/
	wMLabel27 = new STTLabel(p_rt, this, "wMLabel27");
	wMLabel27->setMainArg(9, 37, 205, 41, "恒温箱温度设定", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel27->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel27->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel27->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber13          -----------------------------*/
	wMTextNumber13 = new STTTextArea(p_rt, this, "wMTextNumber13");
	wMTextNumber13->setMainArg(216, 36, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber13->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber13->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber13->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber13->bindData(_V("恒温箱设定温度写"));

	/*----------------------------- Label : wMLabel28                    -----------------------------*/
	wMLabel28 = new STTLabel(p_rt, this, "wMLabel28");
	wMLabel28->setMainArg(322, 43, 33, 30, "℃", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel28->setFonts(0x0, 25, "文泉驿微米黑", 0);
	wMLabel28->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel28->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- Label : wMLabel29                    -----------------------------*/
	wMLabel29 = new STTLabel(p_rt, this, "wMLabel29");
	wMLabel29->setMainArg(41, 107, 141, 41, "比例系数P", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel29->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel29->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel29->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber14          -----------------------------*/
	wMTextNumber14 = new STTTextArea(p_rt, this, "wMTextNumber14");
	wMTextNumber14->setMainArg(216, 106, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber14->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber14->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber14->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber14->bindData(_V("P写"));

	/*----------------------------- Label : wMLabel31                    -----------------------------*/
	wMLabel31 = new STTLabel(p_rt, this, "wMLabel31");
	wMLabel31->setMainArg(41, 247, 141, 41, "微分时间D", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel31->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel31->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel31->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber15          -----------------------------*/
	wMTextNumber15 = new STTTextArea(p_rt, this, "wMTextNumber15");
	wMTextNumber15->setMainArg(216, 246, 104, 47, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber15->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 7, 0, 4, 4, 150);
	wMTextNumber15->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber15->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber15->bindData(_V("D写"));

	/*----------------------------- Label : wMLabel33                    -----------------------------*/
	wMLabel33 = new STTLabel(p_rt, this, "wMLabel33");
	wMLabel33->setMainArg(403, 318, 176, 41, "加热输出功率", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel33->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel33->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel33->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber16          -----------------------------*/
	wMTextNumber16 = new STTTextArea(p_rt, this, "wMTextNumber16");
	wMTextNumber16->setMainArg(599, 317, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber16->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber16->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber16->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber16->bindData(_V("加热输出功率比"));

	/*----------------------------- Label : wMLabel34                    -----------------------------*/
	wMLabel34 = new STTLabel(p_rt, this, "wMLabel34");
	wMLabel34->setMainArg(707, 324, 52, 30, "%", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel34->setFonts(0x0, 25, "文泉驿微米黑", 0);
	wMLabel34->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel34->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- Label : wMLabel35                    -----------------------------*/
	wMLabel35 = new STTLabel(p_rt, this, "wMLabel35");
	wMLabel35->setMainArg(41, 177, 134, 41, "积分时间I", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel35->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel35->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel35->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber17          -----------------------------*/
	wMTextNumber17 = new STTTextArea(p_rt, this, "wMTextNumber17");
	wMTextNumber17->setMainArg(216, 176, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber17->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber17->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber17->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber17->bindData(_V("I写"));

	/*----------------------------- Label : wMLabel37                    -----------------------------*/
	wMLabel37 = new STTLabel(p_rt, this, "wMLabel37");
	wMLabel37->setMainArg(12, 318, 207, 41, "恒温箱当前温度", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel37->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel37->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel37->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber18          -----------------------------*/
	wMTextNumber18 = new STTTextArea(p_rt, this, "wMTextNumber18");
	wMTextNumber18->setMainArg(218, 317, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber18->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber18->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber18->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber18->bindData(_V("恒温箱温度"));

	/*----------------------------- Label : wMLabel38                    -----------------------------*/
	wMLabel38 = new STTLabel(p_rt, this, "wMLabel38");
	wMLabel38->setMainArg(326, 324, 33, 30, "℃", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel38->setFonts(0x0, 25, "文泉驿微米黑", 0);
	wMLabel38->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel38->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- Label : wMLabel51                    -----------------------------*/
	wMLabel51 = new STTLabel(p_rt, this, "wMLabel51");
	wMLabel51->setMainArg(404, 107, 175, 41, "比例系数P读", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel51->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel51->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel51->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber25          -----------------------------*/
	wMTextNumber25 = new STTTextArea(p_rt, this, "wMTextNumber25");
	wMTextNumber25->setMainArg(599, 106, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber25->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber25->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber25->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber25->bindData(_V("P读"));

	/*----------------------------- Label : wMLabel52                    -----------------------------*/
	wMLabel52 = new STTLabel(p_rt, this, "wMLabel52");
	wMLabel52->setMainArg(404, 247, 175, 41, "微分时间D读", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel52->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel52->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel52->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber26          -----------------------------*/
	wMTextNumber26 = new STTTextArea(p_rt, this, "wMTextNumber26");
	wMTextNumber26->setMainArg(599, 246, 104, 47, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber26->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 7, 0, 4, 4, 150);
	wMTextNumber26->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber26->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber26->bindData(_V("D读"));

	/*----------------------------- Label : wMLabel53                    -----------------------------*/
	wMLabel53 = new STTLabel(p_rt, this, "wMLabel53");
	wMLabel53->setMainArg(404, 177, 175, 41, "积分时间I读", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel53->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel53->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel53->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber27          -----------------------------*/
	wMTextNumber27 = new STTTextArea(p_rt, this, "wMTextNumber27");
	wMTextNumber27->setMainArg(599, 176, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber27->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber27->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber27->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber27->bindData(_V("I读"));

	/*----------------------------- Label : wMLabel56                    -----------------------------*/
	wMLabel56 = new STTLabel(p_rt, this, "wMLabel56");
	wMLabel56->setMainArg(362, 37, 233, 41, "恒温箱温度设定读", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel56->setFonts(0x0, 30, "文泉驿微米黑", 0);
	wMLabel56->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel56->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*----------------------------- TextNumber : wMTextNumber29          -----------------------------*/
	wMTextNumber29 = new STTTextArea(p_rt, this, "wMTextNumber29");
	wMTextNumber29->setMainArg(599, 36, 104, 44, false, true, TextAlign::CENTER, 3, 1, -99999999, 99999999, false);
	wMTextNumber29->setMainStyle(7, 0xffffff, 0xffffff, 0, 2, 0xc0c0c0, 6, 0, 4, 4, 150);
	wMTextNumber29->setPlaceholderText("")->setMaxLength(0)->setAcceptedChars("")->setImeMode(IME::DIGITAL);
	wMTextNumber29->setFont(0x0, 25, "文泉驿微米黑", 0);
	wMTextNumber29->bindData(_V("恒温箱设定温度读"));

	/*----------------------------- Label : wMLabel57                    -----------------------------*/
	wMLabel57 = new STTLabel(p_rt, this, "wMLabel57");
	wMLabel57->setMainArg(705, 43, 52, 30, "℃", TextAlign::LEFT, LabelLongMode::CLIP, 30);
	wMLabel57->setFonts(0x0, 25, "文泉驿微米黑", 0);
	wMLabel57->setMainStyle(0, 0xffffff, 0xffffff, GradDir::NONE, 0, 0x0, 0);
	wMLabel57->setFormatText(TextAlign::LEFT, LabelLongMode::CLIP, 30);

	/*called after widget created.*/

	return; //createParts END
}

void Frm11::onLoad() {

}

bool Frm11::onClosing() {
	return true;
}

void Frm11::onDispose() {

}


