|
|
@@ -44,11 +44,11 @@ namespace BPASmartClient.MorkCL |
|
|
|
devices.TryAdd(EDeviceType.压力锅, new PressureCookerServer()); |
|
|
|
devices.TryAdd(EDeviceType.外部设备, new OtherServer()); |
|
|
|
|
|
|
|
devices[EDeviceType.炒锅1].Init(ConnectPar.FryingPanIP1); |
|
|
|
devices[EDeviceType.炒锅2].Init(ConnectPar.FryingPanIP2); |
|
|
|
devices[EDeviceType.机器人].Init(ConnectPar.RobotIP); |
|
|
|
devices[EDeviceType.压力锅].Init(ConnectPar.PressureCookerIP); |
|
|
|
devices[EDeviceType.外部设备].Init(ConnectPar.PPortName); |
|
|
|
//devices[EDeviceType.炒锅1].Init(ConnectPar.FryingPanIP1); |
|
|
|
//devices[EDeviceType.炒锅2].Init(ConnectPar.FryingPanIP2); |
|
|
|
//devices[EDeviceType.机器人].Init(ConnectPar.RobotIP); |
|
|
|
//devices[EDeviceType.压力锅].Init(ConnectPar.PressureCookerIP); |
|
|
|
//devices[EDeviceType.外部设备].Init(ConnectPar.PPortName); |
|
|
|
|
|
|
|
#region 读取本地文件数据 |
|
|
|
Json<RecipesInfo>.Read(); |
|
|
|