分为三步:
1、增加设备  表  devicetable

2、设置设备的权限
Select   devicetable.deviceid, devicetable.devicename, devicetable.simplecode
FROM devicetable
Where devicetable.devicetypeid IN (5)
AND devicetable.isavailable = 1
AND deviceid IN (Select deviceid
FROM rolerightowner
Where userrightid = 401 AND roleid = ’56’)
orDER BY devicetable.devicename ASC
3、在管理工具中设置角色信息(分诊 报告权限)

注意:这样设置服务器就已经完成,客户端一定要安装运行库,才能执行上传工具