技术教材(爱立信BSC操作)(9)

2019-08-31 10:39

RLSTC:CELL=H11ABC1,STATE=ACTIVE,CHGR=0; RLSTC:CELL=H11ABC2,STATE=ACTIVE,CHGR=0;

OSS SCRIPT 程序示例及说明

OSS系统的OPS里可以运行SCRIPT程序,这些SCRIPT程序可以快捷方便地完成很多日常的操作。所以对此进行简单的了解和使用是必须的。现以自动删除SUBCELL的程序为例,对SCRIPT编程进行简单的介绍。 程序原代码为:

@label start

!“@label start”为设置一个标签,用于程序的跳转! @clrscr

@draw(cup,25,2,\@draw(cup,25,3,\@draw(cup,25,4,\@draw(cup,25,5,\@draw(cup,25,6,\@draw(cup,25,7,\@draw(cup,25,8,\@draw(cup,25,9,\@menu(op0,7,0) @windend

!上面的代码创造出一个选择窗体,并将选择的结果放在“op0”变量里! @set bsc=\

@if op0=1 then set bsc=\@if op0=2 then set bsc=\@if op0=3 then set bsc=\@if op0=4 then set bsc=\

@if op0=5 then set bsc=\@if op0=6 then set bsc=\@if op0=7 then set bsc=\@CONNECT(bsc)

!根据选择的结果,连接不同的BSC! @clrscr

@input(strcell,\@set strcell=upcase(strcell)

!创造出一个输入窗体,并先将输入的内容进行大写化,再赋值到“strcell”变量里! @set state00=\

@set state01=\@set state02=\@set state03=\!将几个常用的字符串赋值到四个变量里! rlcfp:cell={strcell};

@set line0=scan(\ SCTYPE\@set sdcch=trim(copy(reply(line0),18,3)) @set line=scan(\ OL\@if line=0 then set state00=state01 @if state00=state01 then goto state0

@if length(reply(line))<65 then set state00=state02 @if state00=state02 then goto state0 @set deldchno=trim(copy(reply(line),67,4))

!根据将RLCFP的打印结果,找出几个需要的参数值,并赋值到相应的变量里! @label count_dchno @set line=line+1

@if copy(reply(line),1,3)=\

@set deldchno=concat(deldchno,\@goto count_dchno @label end_count

!计算出DCHNO数目,以及查找要删除的频点! @set sdcch=sdcch+1

rlstc:cell={strcell},state=halted,chgr=1; rlccc:cell={strcell},sdcch=0,chgr=1; rlcfe:cell={strcell},dchno={deldchno}; rlcfi:cell={strcell},dchno={deldchno},chgr=0; rlchc:cell={strcell},hop=on,chgr=0; rlccc:cell={strcell},sdcch={sdcch},chgr=0; @set state00=state03

!删除CHGR1里的频点,并重新定义在CHGR0里! @label state0 @clrscr

@draw(cup,3,2,state00) @draw(cup,25,3,\@draw(cup,25,4,\@menu(op,2,0) @windend

@if op=2 then goto start @quit

!给出操作选择,如并退出程序,或者重新选择另一个小区!

STS的屏幕输出的定义DT(参考)

STS的屏幕输出的数据收集及转换程序原理(参考)


技术教材(爱立信BSC操作)(9).doc 将本文的Word文档下载到电脑 下载失败或者文档不完整,请联系客服人员解决!

下一篇:2016年新《江苏省安全生产条例》知识竞赛

相关阅读
本类排行
× 注册会员免费下载(下载后可以自由复制和排版)

马上注册会员

注:下载文档有可能“只有目录或者内容不全”等情况,请下载之前注意辨别,如果您已付费且无法下载或内容有问题,请联系我们协助你处理。
微信: QQ: