mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
22 lines
400 B
JavaScript
22 lines
400 B
JavaScript
|
|
'use strict';
|
||
|
|
|
||
|
|
const IPC = require('./services/IPC.js');
|
||
|
|
|
||
|
|
class IPCModule extends IPC{
|
||
|
|
constructor(){
|
||
|
|
super();
|
||
|
|
//include IPC to make extensible
|
||
|
|
Object.defineProperty(
|
||
|
|
this,
|
||
|
|
'IPC',
|
||
|
|
{
|
||
|
|
enumerable:true,
|
||
|
|
writable:false,
|
||
|
|
value:IPC
|
||
|
|
}
|
||
|
|
)
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|
||
|
|
module.exports=new IPCModule;
|