Skip to content

Commit 0958bd2

Browse files
kjy5github-actions[bot]
authored andcommitted
chore: Build Models
1 parent 213bbf2 commit 0958bd2

File tree

6 files changed

+95
-77
lines changed

6 files changed

+95
-77
lines changed

models/csharp/DockModels.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ public BucketRequest(string token, string password)
1313
}
1414
}
1515

16-
1716
[Serializable]
1817
public struct DockModel
1918
{
@@ -25,7 +24,6 @@ public DockModel(string dockUrl)
2524
}
2625
}
2726

28-
2927
[Serializable]
3028
public struct DownloadRequest
3129
{
@@ -37,7 +35,6 @@ public DownloadRequest(string password)
3735
}
3836
}
3937

40-
4138
[Serializable]
4239
public struct DownloadResponse
4340
{
@@ -51,7 +48,6 @@ public DownloadResponse(string type, string data)
5148
}
5249
}
5350

54-
5551
[Serializable]
5652
public struct LoadModel
5753
{
@@ -65,7 +61,6 @@ public LoadModel(int[] types, string[] data)
6561
}
6662
}
6763

68-
6964
[Serializable]
7065
public struct LoadRequest
7166
{
@@ -81,7 +76,6 @@ public LoadRequest(string filename, string bucket, string password)
8176
}
8277
}
8378

84-
8579
[Serializable]
8680
public struct SaveRequest
8781
{
@@ -97,7 +91,6 @@ public SaveRequest(string filename, string bucket, string password)
9791
}
9892
}
9993

100-
10194
[Serializable]
10295
public struct UploadRequest
10396
{

models/csharp/EphysLinkModels.cs

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public AngularResponse(Vector3 angles, string error)
1414
}
1515
}
1616

17-
1817
[Serializable]
1918
public struct BooleanStateResponse
2019
{
@@ -28,7 +27,6 @@ public BooleanStateResponse(bool state, string error)
2827
}
2928
}
3029

31-
3230
[Serializable]
3331
public struct EphysLinkOptions
3432
{
@@ -41,7 +39,16 @@ public struct EphysLinkOptions
4139
public int MpmPort;
4240
public string Serial;
4341

44-
public EphysLinkOptions(bool background, bool ignoreUpdates, string type, bool debug, bool useProxy, string proxyAddress, int mpmPort, string serial)
42+
public EphysLinkOptions(
43+
bool background,
44+
bool ignoreUpdates,
45+
string type,
46+
bool debug,
47+
bool useProxy,
48+
string proxyAddress,
49+
int mpmPort,
50+
string serial
51+
)
4552
{
4653
Background = background;
4754
IgnoreUpdates = ignoreUpdates;
@@ -54,7 +61,6 @@ public EphysLinkOptions(bool background, bool ignoreUpdates, string type, bool d
5461
}
5562
}
5663

57-
5864
[Serializable]
5965
public struct GetManipulatorsResponse
6066
{
@@ -63,7 +69,12 @@ public struct GetManipulatorsResponse
6369
public Vector4 Dimensions;
6470
public string Error;
6571

66-
public GetManipulatorsResponse(string[] manipulators, int numAxes, Vector4 dimensions, string error)
72+
public GetManipulatorsResponse(
73+
string[] manipulators,
74+
int numAxes,
75+
Vector4 dimensions,
76+
string error
77+
)
6778
{
6879
Manipulators = manipulators;
6980
NumAxes = numAxes;
@@ -72,7 +83,6 @@ public GetManipulatorsResponse(string[] manipulators, int numAxes, Vector4 dimen
7283
}
7384
}
7485

75-
7686
[Serializable]
7787
public struct PositionalResponse
7888
{
@@ -86,7 +96,6 @@ public PositionalResponse(Vector4 position, string error)
8696
}
8797
}
8898

89-
9099
[Serializable]
91100
public struct SetDepthRequest
92101
{
@@ -102,7 +111,6 @@ public SetDepthRequest(string manipulatorId, float depth, float speed)
102111
}
103112
}
104113

105-
106114
[Serializable]
107115
public struct SetDepthResponse
108116
{
@@ -116,7 +124,6 @@ public SetDepthResponse(float depth, string error)
116124
}
117125
}
118126

119-
120127
[Serializable]
121128
public struct SetInsideBrainRequest
122129
{
@@ -130,7 +137,6 @@ public SetInsideBrainRequest(string manipulatorId, bool inside)
130137
}
131138
}
132139

133-
134140
[Serializable]
135141
public struct SetPositionRequest
136142
{
@@ -146,7 +152,6 @@ public SetPositionRequest(string manipulatorId, Vector4 position, float speed)
146152
}
147153
}
148154

149-
150155
[Serializable]
151156
public struct ShankCountResponse
152157
{

models/csharp/GenericModels.cs

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ public BoolData(string id, bool value)
1414
}
1515
}
1616

17-
1817
[Serializable]
1918
public struct BoolList
2019
{
@@ -28,7 +27,6 @@ public BoolList(string id, bool[] values)
2827
}
2928
}
3029

31-
3230
[Serializable]
3331
public struct ColorData
3432
{
@@ -42,7 +40,6 @@ public ColorData(string id, Color value)
4240
}
4341
}
4442

45-
4643
[Serializable]
4744
public struct ColorList
4845
{
@@ -56,7 +53,6 @@ public ColorList(string id, Color[] values)
5653
}
5754
}
5855

59-
6056
[Serializable]
6157
public struct FloatData
6258
{
@@ -70,7 +66,6 @@ public FloatData(string id, float value)
7066
}
7167
}
7268

73-
7469
[Serializable]
7570
public struct FloatList
7671
{
@@ -84,7 +79,6 @@ public FloatList(string id, float[] values)
8479
}
8580
}
8681

87-
8882
[Serializable]
8983
public struct IDData
9084
{
@@ -96,7 +90,6 @@ public IDData(string id)
9690
}
9791
}
9892

99-
10093
[Serializable]
10194
public struct IDList
10295
{
@@ -108,7 +101,6 @@ public IDList(string[] iDs)
108101
}
109102
}
110103

111-
112104
[Serializable]
113105
public struct IDListBoolData
114106
{
@@ -122,7 +114,6 @@ public IDListBoolData(string[] iDs, bool value)
122114
}
123115
}
124116

125-
126117
[Serializable]
127118
public struct IDListBoolList
128119
{
@@ -136,7 +127,6 @@ public IDListBoolList(string[] iDs, bool[] values)
136127
}
137128
}
138129

139-
140130
[Serializable]
141131
public struct IDListColorData
142132
{
@@ -150,7 +140,6 @@ public IDListColorData(string[] iDs, Color value)
150140
}
151141
}
152142

153-
154143
[Serializable]
155144
public struct IDListColorList
156145
{
@@ -164,7 +153,6 @@ public IDListColorList(string[] iDs, Color[] values)
164153
}
165154
}
166155

167-
168156
[Serializable]
169157
public struct IDListFloatData
170158
{
@@ -178,7 +166,6 @@ public IDListFloatData(string[] iDs, float value)
178166
}
179167
}
180168

181-
182169
[Serializable]
183170
public struct IDListFloatList
184171
{
@@ -192,7 +179,6 @@ public IDListFloatList(string[] iDs, float[] values)
192179
}
193180
}
194181

195-
196182
[Serializable]
197183
public struct IDListIntData
198184
{
@@ -206,7 +192,6 @@ public IDListIntData(string[] iDs, int value)
206192
}
207193
}
208194

209-
210195
[Serializable]
211196
public struct IDListIntList
212197
{
@@ -220,7 +205,6 @@ public IDListIntList(string[] iDs, int[] values)
220205
}
221206
}
222207

223-
224208
[Serializable]
225209
public struct IDListStringData
226210
{
@@ -234,7 +218,6 @@ public IDListStringData(string[] iDs, string value)
234218
}
235219
}
236220

237-
238221
[Serializable]
239222
public struct IDListStringList
240223
{
@@ -248,7 +231,6 @@ public IDListStringList(string[] iDs, string[] values)
248231
}
249232
}
250233

251-
252234
[Serializable]
253235
public struct IDListVector2Data
254236
{
@@ -262,7 +244,6 @@ public IDListVector2Data(string[] iDs, Vector2 value)
262244
}
263245
}
264246

265-
266247
[Serializable]
267248
public struct IDListVector2List
268249
{
@@ -276,7 +257,6 @@ public IDListVector2List(string[] iDs, Vector2[] values)
276257
}
277258
}
278259

279-
280260
[Serializable]
281261
public struct IDListVector3Data
282262
{
@@ -290,7 +270,6 @@ public IDListVector3Data(string[] iDs, Vector3 value)
290270
}
291271
}
292272

293-
294273
[Serializable]
295274
public struct IDListVector3List
296275
{
@@ -304,7 +283,6 @@ public IDListVector3List(string[] iDs, Vector3[] values)
304283
}
305284
}
306285

307-
308286
[Serializable]
309287
public struct IntData
310288
{
@@ -318,7 +296,6 @@ public IntData(string id, int value)
318296
}
319297
}
320298

321-
322299
[Serializable]
323300
public struct IntList
324301
{
@@ -332,7 +309,6 @@ public IntList(string id, int[] values)
332309
}
333310
}
334311

335-
336312
[Serializable]
337313
public struct StringData
338314
{
@@ -346,7 +322,6 @@ public StringData(string id, string value)
346322
}
347323
}
348324

349-
350325
[Serializable]
351326
public struct StringList
352327
{
@@ -360,7 +335,6 @@ public StringList(string id, string[] values)
360335
}
361336
}
362337

363-
364338
[Serializable]
365339
public struct Vector2Data
366340
{
@@ -374,7 +348,6 @@ public Vector2Data(string id, Vector2 value)
374348
}
375349
}
376350

377-
378351
[Serializable]
379352
public struct Vector3Data
380353
{
@@ -388,7 +361,6 @@ public Vector3Data(string id, Vector3 value)
388361
}
389362
}
390363

391-
392364
[Serializable]
393365
public struct Vector3List
394366
{

models/csharp/LoggingModels.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public Log(string msg)
1111
}
1212
}
1313

14-
1514
[Serializable]
1615
public struct LogError
1716
{
@@ -23,7 +22,6 @@ public LogError(string msg)
2322
}
2423
}
2524

26-
2725
[Serializable]
2826
public struct LogWarning
2927
{

0 commit comments

Comments
 (0)