public static System.Windows.Media.Color Convert(this MachineModels.Models.Color c)
 {
     return(new System.Windows.Media.Color()
     {
         A = c.A,
         R = c.R,
         G = c.G,
         B = c.B
     });
 }
 private static MD.MachineElements.Color ToMachineData(this MM.Models.Color c)
 {
     return(new MD.MachineElements.Color()
     {
         B = c.B,
         G = c.G,
         R = c.R,
         A = c.A
     });
 }