整理一下项目文件

This commit is contained in:
艾竹
2022-10-28 22:45:39 +08:00
parent 334297b074
commit 513937c1d6
598 changed files with 684 additions and 544 deletions

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum ArrowPathStyle
{
None,
Arrow1,
Arrow2,
Arrow3,
Arrow4,
Arrow5,
Arrow6,
Arrow7,
Arrow8,
Arrow9,
Arrow10,
Arrow11,
}
}

View File

@@ -0,0 +1,24 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum ArrowSizeStyle
{
[Description("非常小")]
VerySmall = 6,
[Description("小")]
Small = 8,
[Description("中")]
Middle = 10,
[Description("大")]
Large = 12,
[Description("特别大")]
ExtraLarge = 16,
[Description("巨大")]
Huge = 24,
}
}

View File

@@ -0,0 +1,18 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum BrushType
{
None,
SolidColorBrush,
LinearGradientBrush,
RadialGradientBrush,
ImageBrush,
VisualBrush,
DrawingBrush
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum CellHorizontalAlignment
{
None,
Left,
Center,
Right
}
public enum CellVerticalAlignment
{
None,
Top,
Center,
Bottom
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum ConnectorOrientation
{
None = 0,
Left = 1,
Top = 2,
Right = 3,
Bottom = 4
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum CursorMode
{
Normal = 0,
Format = 1,
Move = 2,
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum DiagramType
{
Normal,
FlowChart,
Logical,
SFC,
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum DrawMode
{
Normal = 0,
Line = 1,
Rectangle = 2,
Ellipse = 3,
Polyline = 4,
Polygon = 5,
DirectLine = 6,
ConnectingLine = 10,
CornerConnectingLine = 11,
BoundaryConnectingLine = 12,
RadiusConnectingLine = 13,
Text = 20,
}
}

View File

@@ -0,0 +1,14 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum FontCase
{
None,
Upper,
Lower,
}
}

View File

@@ -0,0 +1,22 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum HorizontalVerticalAlignment
{
TopAlignLeft,
TopAlignCenter,
TopAlignRight,
TopAlignJustify,
CenterAlignLeft,
CenterAlignCenter,
CenterAlignRight,
CenterAlignJustify,
BottomAlignLeft,
BottomAlignCenter,
BottomAlignRight,
BottomAlignJustify,
}
}

View File

@@ -0,0 +1,32 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum LineDashStyle
{
None,
Dash1,
Dash2,
Dash3,
Dash4,
Dash5,
Dash6,
Dash7,
Dash8,
Dash9,
Dash10,
Dash11,
Dash12,
Dash13,
Dash14,
Dash15,
Dash16,
Dash17,
Dash18,
Dash19,
Dash20,
Dash21
}
}

View File

@@ -0,0 +1,27 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum LinearOrientation
{
[Description("左到右")]
LeftToRight,
[Description("左上到右下")]
LeftTopToRightBottom,
[Description("上到下")]
TopToBottom,
[Description("右上到左下")]
RightTopToLeftBottom,
[Description("右到左")]
RightToLeft,
[Description("右下到左上")]
RightBottomToLeftTop,
[Description("下到上")]
BottomToTop,
[Description("左下到右上")]
LeftBottomToRightTop
}
}

View File

@@ -0,0 +1,45 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum LockFlag
{
[Description("无锁定")]
None,
[Description("锁定所有")]
All,
[Description("宽度(敬请期待)")]
Width,
[Description("高度(敬请期待)")]
Height,
[Description("纵横比(敬请期待)")]
Ratio,
[Description("水平位置(敬请期待)")]
Horizontal,
[Description("垂直位置(敬请期待)")]
Vertical,
[Description("旋转(敬请期待)")]
Rotate,
[Description("起点(敬请期待)")]
Start,
[Description("终点(敬请期待)")]
End,
[Description("取消组合(敬请期待)")]
UnGroup,
[Description("编辑文本(敬请期待)")]
Text,
[Description("保护选中(敬请期待)")]
IsSelected,
[Description("保护删除(敬请期待)")]
Delete,
[Description("阻止连接(敬请期待)")]
Link,
[Description("格式(敬请期待)")]
Format,
[Description("保护主题(敬请期待)")]
Theme,
}
}

View File

@@ -0,0 +1,56 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum LogicalType
{
Input = -4,
Output = -3,
Constant = -2,
Time = -1,
None = 0,
ADD = 1,
SUB = 2,
MUL = 3,
DIV = 4,
AVE = 5,
MOD = 6,
AND = 7,
OR = 8,
XOR = 9,
NOT = 10,
SHL = 11,//左移
SHR = 12,//又移
ROL = 13,//循环左移
ROR = 14,//循环右移
SEL = 15,//选择
MAX = 16,
MIN = 17,
LIMIT = 18,//限幅
GT = 19,//大于
LT = 20,//小于
GE = 21,//大于等于
LE = 22,//小于等于
EQ = 23,//等于
NE = 24,//不等于
ABS = 25,
SQRT = 26,
LN = 27,
LOG = 28,
EXP = 29,
SIN = 30,
COS = 31,
TAN = 32,
ASIN = 33,
ACOS = 34,
ATAN = 35,
EXPT = 36,//幂
Bool2Double = 37,
Double2Bool = 38,
BoolsToDouble = 39,
DoubleToBools = 40,
}
}

View File

@@ -0,0 +1,15 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum PageSizeOrientation
{
[Description("竖向")]
Vertical,
[Description("横向")]
Horizontal,
}
}

View File

@@ -0,0 +1,74 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum PageSizeType
{
[Description("Letter,8.5英寸*11英寸")]//612*792
Letter,
[Description("Folio,8.5英寸*13英寸")]//612*936
Folio,
[Description("Folio,8.5英寸*14英寸")]//612*1008
Legal,
[Description("Folio,7.25英寸*10.5英寸")]//522*756
Executive,
[Description("Folio,5.5英寸*8.5英寸")]//396*612
Statement,
[Description("#10 Envelope,4.125英寸*9.5英寸")]//297*684
Envelope,
[Description("Monarch Envelope,3.875英寸*7.5英寸")]//279*540
MonarchEnvelope,
[Description("Tabloid,11英寸*17英寸")]//792*1224
Tabloid,
[Description("Letter Small,8 1/2英寸*11英寸")]//612*792
LetterSmall,
[Description("C Sheet,17英寸*22英寸")]//1224*1584
CSheet,
[Description("D Sheet,22英寸*34英寸")]//1584*2448
DSheet,
[Description("E Sheet,34英寸*44英寸")]//2448*3168
ESheet,
[Description("A3 sheet,297毫米*420毫米")]//842*1191
A3,
[Description("A4 sheet,210毫米*297毫米")]//595*842
A4,
[Description("A5 sheet,148毫米*210毫米")]//420*595
A5,
[Description("B4 sheet,250毫米*354毫米")]//709*1003
B4,
[Description("B5 sheet,182毫米*257毫米")]//516*729
B5,
[Description("DL Envelope,110毫米*220毫米")]//312*624
DLEnvelope,
[Description("C5 Envelope,162毫米*229毫米")]//459*649
C5Envelope,
[Description("Quarto,215毫米*275毫米")]//609*780
Quarto,
[Description("C6 Quarto,114毫米*162毫米")]//323*459
C6Quarto,
[Description("B5 Quarto,176毫米*250毫米")]//499*709
B5Quarto,
[Description("Italy Quarto,110毫米*230毫米")]//312*652
ItalyQuarto,
[Description("A4 small sheet,210毫米*297毫米")]//595*842
A4small,
[Description("German Std Fanfold,8.5英寸*12英寸")]//612*864
GermanStdFanfold,
[Description("German Lagal Fanfold,8英寸*13英寸")]//576*936
GermanLegalFanfold,
[Description("PRC 16K,146毫米*215毫米")]//414*609
PRC16K,
[Description("PRC 32K,97毫米*151毫米")]//275*428
PRC32K,
//[Description("Japanese Postcard")]//283*420
//JapanesePostcard,
//[Description("Double Japanese Postcard")]//420*566
//DoubleJapanesePostcard,
[Description("自定义")]
Custom,
}
}

View File

@@ -0,0 +1,39 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum PageUnit
{
[Description("毫米(暂未实现)")]
mm,
[Description("厘米")]
cm,
[Description("米(暂未实现)")]
m,
[Description("千米(暂未实现)")]
km,
[Description("英寸")]
inch,
[Description("英尺和英寸(暂未实现)")]
ftin,
[Description("英尺(暂未实现)")]
foot,
[Description("码(暂未实现)")]
yard,
[Description("英里(暂未实现)")]
mile,
[Description("点(暂未实现)")]
tiny,
[Description("皮卡(暂未实现)")]
pickup,
[Description("迪多(暂未实现)")]
ditto,
[Description("西塞罗(暂未实现)")]
cicero,
[Description("像素(暂未实现)")]
pixel,
}
}

View File

@@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum RadialOrientation
{
[Description("中心")]
Center,
[Description("左上")]
LeftTop,
[Description("右上")]
RightTop,
[Description("右下")]
RightBottom,
[Description("左下")]
LeftBottom,
}
}

View File

@@ -0,0 +1,13 @@
using System;
using System.Collections.Generic;
using System.Text;
namespace AIStudio.Wpf.DiagramDesigner
{
public enum ValueTypePoint
{
Real = 0,
Int = 1,
Bool = 2,
}
}