91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 11.09MB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發(fā)布日期: 2023-07-21
  • 語言: C/C++
  • 標(biāo)簽: TeeChart??C??C++??

資源簡介

Visual C++ 的TeeChart Pro Activex control v8 例子源代碼

資源截圖

代碼片段和文件信息

#include?“StdAfx.h“
#include?“Assist.h“
#include?
CAssist::CAssist(void)
{
}

CAssist::~CAssist(void)
{
}

CString?CAssist::GetCString(CString?AppName?CString?KeyName)
{
CString?strpaht;
AFX_MANAGE_STATE(AfxGetStaticModuleState());
wchar_t*?name=new?wchar_t[513];
memset(name0sizeof(name));
::GetModuleFileName(0LPWCH(name)256);
PathRemoveFileSpec(name);
????paht=(CString)name+L“\\DXINFOR.ini“;

::GetPrivateProfileString(AppNameKeyNameNULLstr.GetBuffer(128)128paht);
//::GetPrivateProfileString(AppNameKeyNameNULLstr.GetBuffer(128)128L“.\\DXINFOR.ini“);
????str.ReleaseBuffer();
return?str;
}
//設(shè)置文本
void?CAssist::SetCString(CString?AppName?CString?KeyNameCString?str)
{
CString?paht;
AFX_MANAGE_STATE(AfxGetStaticModuleState());
wchar_t*?name=new?wchar_t[513];
memset(name0sizeof(name));
::GetModuleFileName(0LPWCH(name)256);
PathRemoveFileSpec(name);
paht=(CString)name+L“\\DXINFOR.ini“;

::WritePrivateProfileString(AppNameKeyNamestrpaht);
str.ReleaseBuffer();

}
int?CAssist::GetInt(CString?AppName?CString?KeyName)
{
CString?paht;
AFX_MANAGE_STATE(AfxGetStaticModuleState());
wchar_t*?name=new?wchar_t[513];
memset(name0sizeof(name));
::GetModuleFileName(0LPWCH(name)256);
PathRemoveFileSpec(name);
paht=(CString)name+L“\\DXINFOR.ini“;

return ::GetPrivateProfileInt(AppNameKeyName0paht);
}

CString?CAssist::GetPgain(double?error)
{
CString?m_str(L““);
double?mnd;
d=(-error)/(100+error);
if(d>=0)
{error=ldexp(d15);}
else
{error=ldexp(1.016)+ldexp(d15);}

n=modf(error&m);
int?i=(int)m;
m_str.Format(L“%04X“i);
return?m_str.Right(4);
}

CString?CAssist::Geterr(double?error)
{
CString?m_str(L““);
double?mnd;
d=asin(-error/(sqrt(3.0)*100));
error=d*180.0/PI;

if(error>=0)
{d=error/0.02;}
else
{d=ldexp(1.08)+error/0.02;}
n=modf(d&m);
int?i=(int)m;
m_str.Format(L“%02X“i);
return?m_str.Right(2);
}

CString?CAssist::GetName(CString?ope)
{
if(ope==L“getidmod“)
{return?L“修改設(shè)備“;}
//{return?L“修改設(shè)備號“;}
if?(ope==L“redip“)
{return?L“讀設(shè)備號“;}
if(ope==L“argument“)
{return?L“參數(shù)復(fù)位“;}
if(ope==L“regule“)
{return?L“誤差復(fù)位“;}
if(ope==L“reguleui“)
{return?L“校準(zhǔn)電壓電流“;}
if(ope==L“reguleF“||ope==L“reguleH“)
{return?L“校準(zhǔn)“;}
if(ope==L“clear“||ope==L“clearmod“)
{return?L“清零“;}

if(ope==L“getuip“||L“getuipmod“)
{return?L“獲取電參“;}
if(ope==L“UP“)
{return?L“合閘“;}
if(ope==L“DOWN“)
{return?L“拉閘“;}
return?L““;
}

CString?CAssist::TrimZero(CString?num)
{
num.TrimLeft(L“0“);
if(num.Find(L“.“)==0)
{num.Insert(0L“0“);}
return?num;
}

//?獲取程序當(dāng)前路徑
wchar_t*??CAssist::GetNowPath(void)
{
AFX_MANAGE_STATE(AfxGetStaticModuleState());
wchar_t*?name=new?wchar_t[513];
memset(name0sizeof(name));
::GetModuleFileName(0LPWCH(name)256);
PathRemoveFileSpec(name);
return?name;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件????5774336??2012-08-26?18:12??實(shí)例(VC2008)\Debug\TeeChar8.exe

?????文件????6599696??2008-10-24?13:14??實(shí)例(VC2008)\Debug\TeeChart8.ocx

?????文件???????2972??2012-08-25?20:14??實(shí)例(VC2008)\TeeChar8\Assist.cpp

?????文件????????443??2012-08-23?11:22??實(shí)例(VC2008)\TeeChar8\Assist.h

?????文件???????2887??2012-08-03?19:16??實(shí)例(VC2008)\TeeChar8\ReadMe.txt

?????文件???????1814??2012-08-15?20:15??實(shí)例(VC2008)\TeeChar8\res\BCGSoft_ribbon\ribbon.xml

?????文件????????367??2012-08-15?20:15??實(shí)例(VC2008)\TeeChar8\res\BCGSoft_ribbon\TeeChar8.ribbon.rc2

?????文件???????2096??2012-08-15?20:15??實(shí)例(VC2008)\TeeChar8\res\BCGSoft_ribbon\TODO.xml

?????文件??????67777??2007-11-28?16:21??實(shí)例(VC2008)\TeeChar8\res\TeeChar8.ico

?????文件????????364??2012-08-03?19:16??實(shí)例(VC2008)\TeeChar8\res\TeeChar8.rc2

?????文件????????816??2012-08-16?17:13??實(shí)例(VC2008)\TeeChar8\resource.h

?????文件????????141??2012-08-03?19:16??實(shí)例(VC2008)\TeeChar8\stdafx.cpp

?????文件???????1854??2012-08-03?19:16??實(shí)例(VC2008)\TeeChar8\stdafx.h

?????文件???????1030??2012-08-03?19:16??實(shí)例(VC2008)\TeeChar8\targetver.h

?????文件????????542??2012-08-03?20:28??實(shí)例(VC2008)\TeeChar8\tchart1.cpp

?????文件??????33644??2012-08-04?14:27??實(shí)例(VC2008)\TeeChar8\tchart1.h

?????文件????????934??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\adxfunction.cpp

?????文件????????808??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\adxfunction.h

?????文件???????1151??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\amountfilter.cpp

?????文件????????807??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\amountfilter.h

?????文件???????6647??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\annotationcallout.cpp

?????文件???????1940??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\annotationcallout.h

?????文件???????4933??2008-10-24?11:13??實(shí)例(VC2008)\TeeChar8\TeeChar\annotationtool.cpp

?????文件???????2119??2008-10-24?11:13??實(shí)例(VC2008)\TeeChar8\TeeChar\annotationtool.h

?????文件???????1327??2008-10-24?11:13??實(shí)例(VC2008)\TeeChar8\TeeChar\antialiastool.cpp

?????文件???????1363??2008-10-24?11:13??實(shí)例(VC2008)\TeeChar8\TeeChar\antialiastool.h

?????文件???????7169??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\areaseries.cpp

?????文件???????2006??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\areaseries.h

?????文件???????4144??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\arrowseries.cpp

?????文件???????1465??2008-07-07?12:19??實(shí)例(VC2008)\TeeChar8\TeeChar\arrowseries.h

............此處省略592個文件信息

評論

共有 條評論