|
应用示例可查看_MATRIX 和_AUDIO方法,可自行修改相关方法属性及添加方法属性。有任何问题建议可在下方留言,功能持续改进更新
附:
function _IR(vPort)
{
this.port = vPort;
if(vPort.indexOf('MOD')!=-1)
{
this.port = GetCurrentIOName();
}
this.sendIrName = function(vString)
{
sendIrName(this.port,vString);
}
this.delayIrName = function(vSec,vString)
{
delayIrName(vSec,this.port,vString);
}
this.sendIrId = function(vID)
{
sendIrId(this.port,parseInt(vID));
}
this.delayIrId = function(vSec,vID)
{
delayIrId(vSec,this.port,parseInt(vID));
}
}
|
|