import Foundation

enum MVitaPtpLocalStatus:UInt32
{
    case connection = 0
    case unknown = 1
    case deactive = 2
    case connectionEnd = 3
    case connectionStart = 4
    case unknownOther = 5
}

import Foundation

struct MVitaPtpLocalStatus
{
    static let connection:UInt32 = 0
    static let unknown:UInt32 = 1
    static let deactive:UInt32 = 2
    static let connectionEnd:UInt32 = 3
    static let connectionStart:UInt32 = 4
    static let unknownOther:UInt32 = 5
}

--- 
+++ 
@@ -1,11 +1,11 @@
 import Foundation
 
-struct MVitaPtpLocalStatus
+enum MVitaPtpLocalStatus:UInt32
 {
-    static let connection:UInt32 = 0
-    static let unknown:UInt32 = 1
-    static let deactive:UInt32 = 2
-    static let connectionEnd:UInt32 = 3
-    static let connectionStart:UInt32 = 4
-    static let unknownOther:UInt32 = 5
+    case connection = 0
+    case unknown = 1
+    case deactive = 2
+    case connectionEnd = 3
+    case connectionStart = 4
+    case unknownOther = 5
 }
Use local status as enum
