Fix incorrect namespaces
This commit is contained in:
parent
7ea6e49001
commit
5219abfb4b
9 changed files with 24 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
||||||
module internal NightLight.Configuration
|
module internal NightLight.Core.Configuration
|
||||||
|
|
||||||
open NightLight.Moods
|
open NightLight.Core.Moods
|
||||||
open NightLight.Lights
|
open NightLight.Core.Lights
|
||||||
|
|
||||||
let getDesiredColorAndBrightness bulb mood =
|
let getDesiredColorAndBrightness bulb mood =
|
||||||
let white = ColorByCoordinates(0.3227, 0.329)
|
let white = ColorByCoordinates(0.3227, 0.329)
|
||||||
|
|
|
||||||
|
|
@ -1,12 +1,12 @@
|
||||||
module NightLight.Core
|
module NightLight.Core.Core
|
||||||
|
|
||||||
open NightLight.Models
|
open NightLight.Core.Models
|
||||||
open NightLight.PartsOfDay
|
open NightLight.Core.PartsOfDay
|
||||||
open NightLight.ZigbeeEvents
|
open NightLight.Core.ZigbeeEvents
|
||||||
open NightLight.ZigbeeCommands
|
open NightLight.Core.ZigbeeCommands
|
||||||
open NightLight.Moods
|
open NightLight.Core.Moods
|
||||||
open NightLight.Lights
|
open NightLight.Core.Lights
|
||||||
open NightLight.Configuration
|
open NightLight.Core.Configuration
|
||||||
open FsToolkit.ErrorHandling
|
open FsToolkit.ErrorHandling
|
||||||
|
|
||||||
let internal tryFindLight friendlyName =
|
let internal tryFindLight friendlyName =
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module internal NightLight.Lights
|
module internal NightLight.Core.Lights
|
||||||
|
|
||||||
open NightLight.Moods
|
open NightLight.Core.Moods
|
||||||
|
|
||||||
type Bulb =
|
type Bulb =
|
||||||
| IkeaBulb
|
| IkeaBulb
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
module NightLight.Models
|
module NightLight.Core.Models
|
||||||
|
|
||||||
open System
|
open System
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module internal NightLight.Moods
|
module internal NightLight.Core.Moods
|
||||||
|
|
||||||
open NightLight.PartsOfDay
|
open NightLight.Core.PartsOfDay
|
||||||
|
|
||||||
type Mood =
|
type Mood =
|
||||||
| White
|
| White
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
module internal NightLight.PartsOfDay
|
module internal NightLight.Core.PartsOfDay
|
||||||
|
|
||||||
open System
|
open System
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,8 @@
|
||||||
module internal NightLight.ZigbeeCommands
|
module internal NightLight.Core.ZigbeeCommands
|
||||||
|
|
||||||
open System.Text.Json.Nodes
|
open System.Text.Json.Nodes
|
||||||
open NightLight.Models
|
open NightLight.Core.Models
|
||||||
open NightLight.Lights
|
open NightLight.Core.Lights
|
||||||
|
|
||||||
let generateZigbeeCommand friendlyName targetColor targetBrightness =
|
let generateZigbeeCommand friendlyName targetColor targetBrightness =
|
||||||
let commandObj = JsonObject()
|
let commandObj = JsonObject()
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
module internal NightLight.ZigbeeEvents
|
module internal NightLight.Core.ZigbeeEvents
|
||||||
|
|
||||||
open NightLight.Models
|
open NightLight.Core.Models
|
||||||
open FsToolkit.ErrorHandling
|
open FsToolkit.ErrorHandling
|
||||||
open FSharp.Data
|
open FSharp.Data
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,8 +5,8 @@ open System.Threading.Tasks
|
||||||
open Microsoft.Extensions.Logging
|
open Microsoft.Extensions.Logging
|
||||||
open MQTTnet
|
open MQTTnet
|
||||||
open MQTTnet.Protocol
|
open MQTTnet.Protocol
|
||||||
open NightLight.Models
|
open NightLight.Core.Models
|
||||||
open NightLight.Core
|
open NightLight.Core.Core
|
||||||
|
|
||||||
let private generateMqttMessage zigbeeCommand =
|
let private generateMqttMessage zigbeeCommand =
|
||||||
MqttApplicationMessageBuilder()
|
MqttApplicationMessageBuilder()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue