hwj35
2025-06-23 aa0f971ae9a59f0fd98d57b6c1d1663a270be92c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
9ÄôXc@s©ddlmZddlZddlZdefd„ƒYZdad„Zd„Ze    dkr¥edƒeƒZ
e
j ƒGHe
j d    ƒGHe
j d
ƒZ e GHndS( iÿÿÿÿ(tDataFileReaderNt RobotsConfigcBsAeZdZdZd„Zd„Zd„Zd„Zd„ZRS(iicCs¥tj|ƒg|_y(|j|ƒs=tjd|ƒdSWnOtk
r}t|ƒGHtj    ƒGHtj
t|ƒƒtj
tj    ƒƒnXtj d|ƒdS(NsRobot Config File[%s] no founds'Robot Config File[%s] open successfully( Rt__init__t
configListtOpentloggingtfatalt    Exceptiontstrt    tracebackt    print_excterrortinfo(tselftfilenamete((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyR s       cCs*ddlm}|jj||ƒƒdS(Niÿÿÿÿ(tProjectRobotConfigParams(t&ProjectBinding.ProjectRobotConfigParamRRtappend(R tdatalistR((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyt _ProcessDatascCs t|jƒS(N(tlenR(R ((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pytGetRecordCount!scCs |j|S(N(R(R tindex((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pytGetRecordByIndex%scCs2d}x%|jD]}|t|ƒd7}qW|S(Nts
(RR(R tstrRettparam((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyt__str__(s(    t__name__t
__module__t _SKIP_LINESt _SKIP_COLUMNSRRRRR(((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyR    s                cCstst|ƒandS(N(t__gRobotsConfigR(R((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyt
ReadConfig1scCstS(N(R!(((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyt    GetConfig7st__main__s..\Configuration\User.txtii(tUtils.DataFileReaderRRR    RtNoneR!R"R#Rt    newConfigRRtrecord(((s2.\\Robot\ConfigurationReader\RobotsConfigReader.pyt<module>s  &