Pamhyr2: Some fixes.

This commit is contained in:
Pierre-Antoine Rouby committed 2024-08-06 16:05:04 +02:00
1 parent 19d9a29459
commit 0d33072a7e
11 files changed
+40 -33

No files matched your search

+2 -1
View File
@@ -16,10 +16,11 @@
# -*- coding: utf-8 -*-
from Model.Tools.PamhyrDB import PamhyrID
from Model.Network.Node import Node
class Edge(object):
class Edge(PamhyrID):
def __init__(self, id: int, name: str,
node1: Node = None,
node2: Node = None,
+2 -1
View File
@@ -16,10 +16,11 @@
# -*- coding: utf-8 -*-
from Model.Tools.PamhyrDB import PamhyrID
from Model.Network.Point import Point
class Node(object):
class Node(PamhyrID):
def __init__(self, id: int, name: str,
x: float = 0.0, y: float = 0.0,
status=None):